public class LegendControl extends TabberControl
Constructor and Description |
---|
LegendControl()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
uk.ac.starlink.ttools.plot2.LegendIcon |
createLegendIcon(uk.ac.starlink.ttools.plot2.LegendEntry[] entries,
uk.ac.starlink.ttools.plot2.config.ConfigMap config)
Returns the legend icon for the current state of the stack model.
|
ToggleButtonModel |
getInsideModel()
Returns the model used to specify whether the legend is internal
or external to the plot bounds.
|
float[] |
getLegendPosition()
Returns the requested legend fractional position.
|
addActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getControlLabel, getPanel, getTabber, removeActionListener
public uk.ac.starlink.ttools.plot2.LegendIcon createLegendIcon(uk.ac.starlink.ttools.plot2.LegendEntry[] entries, uk.ac.starlink.ttools.plot2.config.ConfigMap config)
entries
- entries to include in legendconfig
- legend configuration options to control text style etcpublic float[] getLegendPosition()
public ToggleButtonModel getInsideModel()
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.