uk.ac.starlink.ast.gui
Interface PlotControls

All Known Implementing Classes:
AxesControls, AxisLabelControls, AxisNumLabControls, BorderControls, ComponentColourControls, GraphicsEdgesControls, GraphicsHintsControls, GridControls, StringsControls, TickControls, TitleControls

public interface PlotControls

Interface for a set of controls that may be added to a PlotConfigurator tabbed pane. The class that implements this interface should be a sub-class of a JComponent, or return a reference to a sub-class so that it can be added and realized in a JPanel (the tabbed pane parent).

It is expected that such a pane of controls relate to the configuration of an AST Plot.

Version:
$Id$
Author:
Peter W. Draper
See Also:
PlotConfigurator

Method Summary
 JComponent getControlsComponent()
          Return a reference to the JComponent sub-class that will be displayed (normally a reference to this).
 AbstractPlotControlsModel getControlsModel()
          Return reference to the PlotControlsModel.
 String getControlsName()
          Return a short name for these controls (for the tab).
 String getControlsTitle()
          Return a title for these controls (for the border).
 void reset()
          Reset controls to the defaults.
 

Method Detail

getControlsTitle

String getControlsTitle()
Return a title for these controls (for the border).


getControlsName

String getControlsName()
Return a short name for these controls (for the tab).


reset

void reset()
Reset controls to the defaults.


getControlsComponent

JComponent getControlsComponent()
Return a reference to the JComponent sub-class that will be displayed (normally a reference to this).


getControlsModel

AbstractPlotControlsModel getControlsModel()
Return reference to the PlotControlsModel. This defines the actual state of the controls and stores the current values.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.