toxi.color.theory
Class ColorTheoryFactory
java.lang.Object
toxi.color.theory.ColorTheoryFactory
public class ColorTheoryFactory
- extends java.lang.Object
Registry & object factory for default ColorTheoryStrategy
implementations as well as custom ones.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SINGLE_COMPLEMENT
public static final java.lang.String SINGLE_COMPLEMENT
- See Also:
- Constant Field Values
COMPLEMENTARY
public static final java.lang.String COMPLEMENTARY
- See Also:
- Constant Field Values
SPLIT_COMPLEMENTARY
public static final java.lang.String SPLIT_COMPLEMENTARY
- See Also:
- Constant Field Values
LEFT_SPLIT_COMPLEMENTARY
public static final java.lang.String LEFT_SPLIT_COMPLEMENTARY
- See Also:
- Constant Field Values
RIGHT_SPLIT_COMPLEMENTARY
public static final java.lang.String RIGHT_SPLIT_COMPLEMENTARY
- See Also:
- Constant Field Values
ANALOGOUS
public static final java.lang.String ANALOGOUS
- See Also:
- Constant Field Values
MONOCHROME
public static final java.lang.String MONOCHROME
- See Also:
- Constant Field Values
TRIAD
public static final java.lang.String TRIAD
- See Also:
- Constant Field Values
TETRAD
public static final java.lang.String TETRAD
- See Also:
- Constant Field Values
COMPOUND
public static final java.lang.String COMPOUND
- See Also:
- Constant Field Values
getInstance
public static ColorTheoryFactory getInstance()
registerImplementation
public void registerImplementation(ColorTheoryStrategy impl)
getStrategyForName
public ColorTheoryStrategy getStrategyForName(java.lang.String id)
getRegisteredNames
public java.util.ArrayList<java.lang.String> getRegisteredNames()
getRegisteredStrategies
public java.util.ArrayList<ColorTheoryStrategy> getRegisteredStrategies()