Class Prepend
Prepends a specific color to the list created by another
ColorScheme.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe color to prepend.voidsetPrependColor(RGBColorBean prependColor) The color to prepend.protected ColorListTransform an existingColorList.Methods inherited from class org.anchoranalysis.bean.shared.color.scheme.ColorSchemeUnary
createList, getColors, setColorsMethods 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
-
Prepend
public Prepend()
-
-
Method Details
-
transform
Description copied from class:ColorSchemeUnaryTransform an existingColorList.Note that the incoming
ColorListmay be modified, and can no longer be used in its original form after this method call.- Specified by:
transformin classColorSchemeUnary- Parameters:
source- the incomingColorList(which may be consumed and modified).- Returns:
- the transformed (outgoing)
ColorList.
-
getPrependColor
The color to prepend.
-