public class ShaderControl extends ConfigControl
| Constructor | Description |
|---|---|
ShaderControl(MultiConfigger configger,
ToggleButtonModel auxLockModel) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
configureForLayers(LayerControl[] layerControls) |
Configures state according to the current state of the control stack.
|
uk.ac.starlink.ttools.plot2.ShadeAxisFactory |
createShadeAxisFactory(LayerControl[] controls,
ZoneId zid) |
Returns an object which can turn a range into a ShadeAxis
based on current config of this component and a set of layer controls.
|
uk.ac.starlink.ttools.plot.Range |
getFixRange() |
Returns an aux value range explicitly fixed by the user.
|
uk.ac.starlink.ttools.plot2.Subrange |
getSubrange() |
Returns an aux value subrange set by the user.
|
boolean |
isLog() |
addSpecifierTab, getConfig, getConfigSpecifiersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getControlLabel, getPanel, getTabber, removeActionListenerpublic ShaderControl(MultiConfigger configger, ToggleButtonModel auxLockModel)
configger - config source containing some plot-wide config,
specifically captioner styleauxLockModel - toggle to control whether aux ranges are
updated dynamically or held fixed;
may be nullpublic uk.ac.starlink.ttools.plot.Range getFixRange()
public uk.ac.starlink.ttools.plot2.Subrange getSubrange()
public uk.ac.starlink.ttools.plot2.ShadeAxisFactory createShadeAxisFactory(LayerControl[] controls, ZoneId zid)
controls - list of layer controls to which the axis will applyzid - identifier for zone to which axis factory appliespublic boolean isLog()
public void configureForLayers(LayerControl[] layerControls)
layerControls - list of layer controls relevant to this shadingCopyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.