Package uk.ac.starlink.topcat.plot2
Class StiltsControl
- java.lang.Object
-
- uk.ac.starlink.topcat.plot2.TabberControl
-
- uk.ac.starlink.topcat.plot2.StiltsControl
-
- All Implemented Interfaces:
Control
public class StiltsControl extends TabberControl
Fixed Control implementation that can display a STILTS command to reproduce the currently visible plot.- Since:
- 19 Sep 2017
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description StiltsControl(PlotPanel plotPanel, boolean isMultiZone, ToggleButtonModel windowToggle)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponent
getPanel()
Returns the GUI component that is the business end of this control.-
Methods inherited from class uk.ac.starlink.topcat.plot2.TabberControl
addActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getControlLabel, getTabber, removeActionListener
-
-
-
-
Constructor Detail
-
StiltsControl
public StiltsControl(PlotPanel plotPanel, boolean isMultiZone, ToggleButtonModel windowToggle)
Constructor.- Parameters:
plotPanel
- plot panelisMultiZone
- true if the possibility of multiple zones should be accounted for in the commandwindowToggle
- model for posting a separate window displaying the command text
-
-
Method Detail
-
getPanel
public javax.swing.JComponent getPanel()
Description copied from interface:Control
Returns the GUI component that is the business end of this control. It will typically contain components for user interaction.- Specified by:
getPanel
in interfaceControl
- Overrides:
getPanel
in classTabberControl
- Returns:
- this controls graphical component
-
-