public class LegendControl extends TabberControl
Constructor and Description |
---|
LegendControl(MultiConfigger configger)
Constructor.
|
Modifier and Type | Method and 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.
|
addActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getControlLabel, getPanel, getTabber, removeActionListener
public 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-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.