Class FromSingle
Object
org.anchoranalysis.bean.AnchorBean<ColorScheme>
org.anchoranalysis.bean.shared.color.scheme.ColorScheme
org.anchoranalysis.bean.shared.color.scheme.FromSingle
public class FromSingle extends ColorScheme
A single color repeated to meet the size.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description FromSingle() -
Method Summary
Modifier and Type Method Description ColorListcreateList(int size)Creates a sequence of related colors.RGBColorBeangetColor()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. -
setColor
The single color to repeat.
-