public class SimpleFormControl extends FormControl
Constructor and Description |
---|
SimpleFormControl(Configger baseConfigger,
uk.ac.starlink.ttools.plot2.Plotter<?> plotter,
uk.ac.starlink.ttools.plot2.data.Coord[] extraCoords)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected uk.ac.starlink.ttools.plot2.config.ConfigKey<?>[] |
getConfigKeys()
Returns the keys defining the additional configuration required
by this control.
|
protected JComponent |
getCoordPanel()
Returns the panel into which the user enters additional coordinate
information required for this control, if any.
|
uk.ac.starlink.ttools.plot2.config.ConfigMap |
getExtraConfig()
Returns the additional configuration entered by the user in
this control.
|
GuiCoordContent[] |
getExtraCoordContents()
Returns the data and metadata for the additional coordinates
entered by the user in this control.
|
protected uk.ac.starlink.ttools.plot2.Plotter<?> |
getPlotter()
Returns the Plotter object which generates plot layers from the
information provided by this control
|
protected void |
setTable(TopcatModel tcModel)
Performs implementation-specific configuration of this control
for a given TopcatModel.
|
addActionListener, createLayer, getActionForwarder, getControlIcon, getControlLabel, getPanel, getStylePanel, removeActionListener, setTable, submitReports
public SimpleFormControl(Configger baseConfigger, uk.ac.starlink.ttools.plot2.Plotter<?> plotter, uk.ac.starlink.ttools.plot2.data.Coord[] extraCoords)
baseConfigger
- provides global configuration infoplotter
- plotter for which this control provides style configextraCoords
- any coordinates which are to be solicited from
the form controlprotected uk.ac.starlink.ttools.plot2.Plotter<?> getPlotter()
FormControl
getPlotter
in class FormControl
protected uk.ac.starlink.ttools.plot2.config.ConfigKey<?>[] getConfigKeys()
FormControl
getConfigKeys
in class FormControl
protected JComponent getCoordPanel()
FormControl
getCoordPanel
in class FormControl
public GuiCoordContent[] getExtraCoordContents()
FormControl
getExtraCoordContents
in class FormControl
public uk.ac.starlink.ttools.plot2.config.ConfigMap getExtraConfig()
FormControl
getExtraConfig
in class FormControl
protected void setTable(TopcatModel tcModel)
FormControl
setTable
in class FormControl
tcModel
- new topcat model to installCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.