Class ColorSchemeUnary
Object
org.anchoranalysis.bean.AnchorBean<ColorScheme>
org.anchoranalysis.bean.shared.color.scheme.ColorScheme
org.anchoranalysis.bean.shared.color.scheme.ColorSchemeUnary
public abstract class ColorSchemeUnary extends ColorScheme
Like
ColorScheme but employs a unary operator on a call to an existing ColorScheme.- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description ColorSchemeUnary()ColorSchemeUnary(ColorScheme colors) -
Method Summary
Modifier and Type Method Description ColorListcreateList(int size)Creates a sequence of related colors.ColorSchemegetColors()The delegate that creates the color-list before subsequent processing.voidsetColors(ColorScheme colors)The delegate that creates the color-list before subsequent processing.protected abstract ColorListtransform(ColorList source)Transform an existingColorList.Methods inherited from class org.anchoranalysis.bean.shared.color.scheme.ColorScheme
colorForEachIndexMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ColorSchemeUnary
public ColorSchemeUnary() -
ColorSchemeUnary
-
-
Method Details
-
createList
Description copied from class:ColorSchemeCreates a sequence of related colors.- Specified by:
createListin classColorScheme- Parameters:
size- the size of the list- Returns:
- a newly created list with colors
- Throws:
OperationFailedException
-
transform
-
getColors
The delegate that creates the color-list before subsequent processing. -
setColors
The delegate that creates the color-list before subsequent processing.
-