MutableStyleSet, uk.ac.starlink.ttools.plot.StyleSetpublic class PoolStyleSet extends java.lang.Object implements MutableStyleSet
| Constructor | Description |
|---|---|
PoolStyleSet(uk.ac.starlink.ttools.plot.StyleSet base,
java.util.BitSet used) |
Constructs a new StyleSet.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getName() |
|
uk.ac.starlink.ttools.plot.Style |
getStyle(int index) |
|
void |
reset() |
Resets all the symbols to be ones from the base set.
|
void |
setStyle(int index,
uk.ac.starlink.ttools.plot.Style style) |
Explicitly sets the style at a given index to be a specified one.
|
public PoolStyleSet(uk.ac.starlink.ttools.plot.StyleSet base,
java.util.BitSet used)
base - style set which supplies the actual symbolsused - a bit vector, shared between a group of
PoolStyleSet, which keeps track of which
styles (indices into base) are currently in usepublic java.lang.String getName()
getName in interface uk.ac.starlink.ttools.plot.StyleSetpublic uk.ac.starlink.ttools.plot.Style getStyle(int index)
getStyle in interface uk.ac.starlink.ttools.plot.StyleSetpublic void setStyle(int index,
uk.ac.starlink.ttools.plot.Style style)
setStyle in interface MutableStyleSetindex - style indexstyle - style to usepublic void reset()
Copyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.