Class FromList
Specifies a list of colors by a list.
If the list is too small for size, then it is extended by repeating the ultimate item.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateList(int size) Creates a sequence of related colors.The list of colors to specify.voidsetColors(List<RGBColorBean> colors) The list of colors to specify.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
-
FromList
public FromList()
-
-
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
-
getColors
The list of colors to specify. -
setColors
The list of colors to specify.
-