ActivatorConfiguratorSkyPosConfigurator, UrlColumnConfiguratorpublic abstract class AbstractActivatorConfigurator extends java.lang.Object implements ActivatorConfigurator
| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractActivatorConfigurator(javax.swing.JComponent panel) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addActionListener(java.awt.event.ActionListener l) |
Adds a listener that will be informed when the GUI state changes
in such a way that the result of
getActivator or
getConfigMessage may change. |
static javax.swing.JTextField |
createDisplayField() |
Utility method to add an uneditable JTextField for displaying text.
|
static javax.swing.JLabel |
createDisplayLabel() |
Utility method to add a JLabel for displaying text.
|
protected ActionForwarder |
getActionForwarder() |
Returns the action forwarder which should be added as a listener
to any GUI components that can affect the configuration.
|
javax.swing.JComponent |
getPanel() |
Returns the panel supplied at construction time.
|
void |
removeActionListener(java.awt.event.ActionListener l) |
Removes a previously added listener.
|
getActivator, getConfigMessage, getState, setStateprotected AbstractActivatorConfigurator(javax.swing.JComponent panel)
panel - configuration panelpublic javax.swing.JComponent getPanel()
getPanel in interface ActivatorConfiguratorpublic void addActionListener(java.awt.event.ActionListener l)
ActivatorConfiguratorgetActivator or
getConfigMessage may change.addActionListener in interface ActivatorConfiguratorl - listener to addpublic void removeActionListener(java.awt.event.ActionListener l)
ActivatorConfiguratorremoveActionListener in interface ActivatorConfiguratorl - listener to removeprotected ActionForwarder getActionForwarder()
public static javax.swing.JTextField createDisplayField()
public static javax.swing.JLabel createDisplayLabel()
Copyright ? 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.