public abstract class ColoredBaseWithGenerator extends ColoredBase
ColoredBase
but uses a generator to determine the colors for the objectsDEFAULT_COLOR_SET_GENERATOR
Constructor and Description |
---|
ColoredBaseWithGenerator() |
Modifier and Type | Method and Description |
---|---|
protected ColoredObjectCollection |
coloredObjectsToDraw(Dimensions backgroundDimensions)
Creates colored-objects to be drawn.
|
ColorScheme |
getColors()
Colors to use for drawing objects
|
protected abstract ObjectCollection |
objectsToDraw(Dimensions backgroundDimensions)
The objects to draw (without any colors) on the background
|
void |
setColors(ColorScheme colors)
Colors to use for drawing objects
|
get, getBackground, getDisplayer, getOutlineWidth, isFlatten, isOutline, isSuppressOutlineZ, setBackground, setDisplayer, setFlatten, setOutline, setOutlineWidth, setSuppressOutlineZ
getAsStack
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
protected ColoredObjectCollection coloredObjectsToDraw(Dimensions backgroundDimensions) throws CreateException
ColoredBase
coloredObjectsToDraw
in class ColoredBase
backgroundDimensions
- dimensions of the background on which objects are drawn.CreateException
protected abstract ObjectCollection objectsToDraw(Dimensions backgroundDimensions) throws CreateException
backgroundDimensions
- the dimensions of the backgroundCreateException
public ColorScheme getColors()
public void setColors(ColorScheme colors)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.