Controlpublic class LegendControl extends TabberControl
| Constructor | Description |
|---|---|
LegendControl(MultiConfigger configger) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
uk.ac.starlink.ttools.plot2.LegendIcon |
createLegendIcon(uk.ac.starlink.ttools.plot2.LegendEntry[] entries,
ZoneId zid) |
Returns the legend icon for the current state of the stack model.
|
float[] |
getLegendPosition() |
Returns the requested legend fractional position.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getControlLabel, getPanel, getTabber, removeActionListenerpublic LegendControl(MultiConfigger configger)
configger - config source containing some plot-wide config,
specifically captioner stylepublic uk.ac.starlink.ttools.plot2.LegendIcon createLegendIcon(uk.ac.starlink.ttools.plot2.LegendEntry[] entries,
ZoneId zid)
entries - entries to include in legendzid - zone identifier for legend zonepublic float[] getLegendPosition()
Copyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.