public interface AxesController<P,A> extends Configger
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(ActionListener listener)
Adds a listener notified when any of the controls changes.
|
void |
configureForLayers(LayerControl[] layerControls)
Provides a hook for implementations to adjust
their GUI state based on the layer controls which will be supplying
layers for them to plot.
|
Control[] |
getStackControls()
Returns all the controls for user configuration of this controller.
|
List<ZoneController<P,A>> |
getZoneControllers(uk.ac.starlink.ttools.plot2.Ganger<P,A> ganger)
Returns a list of zone contollers, one for each zone defined
by a supplied ganger.
|
void |
removeActionListener(ActionListener listener)
Removes a listener previously added by addActionListener.
|
List<ZoneController<P,A>> getZoneControllers(uk.ac.starlink.ttools.plot2.Ganger<P,A> ganger)
ganger
- ganger, assumed to be compatible with this controllerControl[] getStackControls()
void configureForLayers(LayerControl[] layerControls)
layerControls
- layer controls expected to provide layers
to be plotted on these axesvoid addActionListener(ActionListener listener)
listener
- listener to addvoid removeActionListener(ActionListener listener)
listener
- listener to removeCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.