Package toxi.color

Class AccessCriteria

java.lang.Object
toxi.color.AccessCriteria
All Implemented Interfaces:
Comparator<ReadonlyTColor>
Direct Known Subclasses:
AlphaAccessor, CMYKAccessor, HSVAccessor, LuminanceAccessor, RGBAccessor

public abstract class AccessCriteria extends Object implements Comparator<ReadonlyTColor>
Defines standard color component access criterias and associated comparators used to sort colors based on component values. If a new custom accessor is needed (e.g. for sub-classes TColor's), then simply sub-class this class and implement the Comparator interface and the 2 abstract getter & setter methods defined by this class.