ControlManagerpublic class GroupControlManager extends java.lang.Object implements ControlManager
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
PLOTTERS_PROP |
System property that may contain a colon-separated list of
Plotter implementation class names (with no-arg constructors)
to plug in at runtime.
|
| Constructor | Description |
|---|---|
GroupControlManager(ControlStack stack,
uk.ac.starlink.ttools.plot2.PlotType plotType,
PlotTypeGui plotTypeGui,
TypedListModel<TopcatModel> tablesModel,
ZoneFactory zfact,
MultiConfigger baseConfigger,
TopcatListener tcListener) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addLayer(LayerCommand lcmd) |
Adds a layer to the plot as specified by the given layer command.
|
Control |
createDefaultControl(TopcatModel tcModel) |
Returns a suitable control to add to the stack for a given table.
|
javax.swing.Action[] |
getStackActions() |
Returns a list of actions which can be performed to add controls
to the stack.
|
public static final java.lang.String PLOTTERS_PROP
public GroupControlManager(ControlStack stack, uk.ac.starlink.ttools.plot2.PlotType plotType, PlotTypeGui plotTypeGui, TypedListModel<TopcatModel> tablesModel, ZoneFactory zfact, MultiConfigger baseConfigger, TopcatListener tcListener)
stack - control stack which this object will manageplotType - defines basic plot characteristicsplotTypeGui - defines GUI-specific plot characteristicstablesModel - list of available tableszfact - zone id factorybaseConfigger - configuration source for some global config
optionstcListener - listener for TopcatEvents; this manager will arrange
for it to listen to whatever is the currently
selected TopcatModelpublic javax.swing.Action[] getStackActions()
ControlManagergetStackActions in interface ControlManagerpublic Control createDefaultControl(TopcatModel tcModel)
ControlManagercreateDefaultControl in interface ControlManagertcModel - initial tablepublic void addLayer(LayerCommand lcmd) throws LayerException
ControlManageraddLayer in interface ControlManagerlcmd - specifies the layer to addLayerException - if the layer can't be addedCopyright ? 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.