|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.topcat.plot2.GroupControlManager
public class GroupControlManager
Control manager that uses FormLayerControls to provide panels that allow you to enter the position values once for a given table and then go to other tabs in the control to customise the layers generated.
Field Summary | |
---|---|
static 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 Summary | |
---|---|
GroupControlManager(ControlStack stack,
uk.ac.starlink.ttools.plot2.PlotType plotType,
PlotTypeGui plotTypeGui,
TypedListModel<TopcatModel> tablesModel,
ZoneFactory zfact,
MultiConfigger baseConfigger,
TopcatListener tcListener)
Constructor. |
Method Summary | |
---|---|
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. |
Action[] |
getStackActions()
Returns a list of actions which can be performed to add controls to the stack. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PLOTTERS_PROP
Constructor Detail |
---|
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 TopcatModelMethod Detail |
---|
public Action[] getStackActions()
ControlManager
getStackActions
in interface ControlManager
public Control createDefaultControl(TopcatModel tcModel)
ControlManager
createDefaultControl
in interface ControlManager
tcModel
- initial table
public void addLayer(LayerCommand lcmd) throws LayerException
ControlManager
addLayer
in interface ControlManager
lcmd
- specifies the layer to add
LayerException
- if the layer can't be added
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |