Class FromSingle
A single color repeated to meet the size.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateList(int size) Creates a sequence of related colors.getColor()The single color to repeat.voidsetColor(RGBColorBean color) The single color to repeat.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
-
FromSingle
public FromSingle()
-
-
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
-
getColor
The single color to repeat.
-