public abstract class ColorSchemeUnary extends ColorScheme
ColorScheme
but employs a unary operator on a call to an existing ColorScheme
.Constructor and Description |
---|
ColorSchemeUnary() |
ColorSchemeUnary(ColorScheme colors) |
Modifier and Type | Method and Description |
---|---|
ColorList |
createList(int size)
Creates a sequence of related colors.
|
ColorScheme |
getColors()
The delegate that creates the color-list before subsequent processing.
|
void |
setColors(ColorScheme colors)
The delegate that creates the color-list before subsequent processing.
|
protected abstract ColorList |
transform(ColorList source)
Transform an existing
ColorList . |
colorForEachIndex
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public ColorSchemeUnary()
public ColorSchemeUnary(ColorScheme colors)
public ColorList createList(int size) throws OperationFailedException
ColorScheme
createList
in class ColorScheme
size
- the size of the listOperationFailedException
public ColorScheme getColors()
public void setColors(ColorScheme colors)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.