public class StatusPanelImpl extends AbstractFeature implements StatusPanel, SelectListener
Modifier and Type | Field and Description |
---|---|
protected Object |
lastSelectedObject |
controller, featureID
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
StatusPanelImpl(Registry registry) |
Modifier and Type | Method and Description |
---|---|
JComponent[] |
getDialogControls() |
JPanel |
getJPanel() |
void |
initialize(Controller controller) |
void |
selected(SelectEvent event) |
String |
setStatusMessage(String message) |
actionPerformed, addToToolBar, doActionPerformed, doPropertyChange, getController, getFeatureID, getName, getStringValue, isInitialized, isOn, isTwoState, propertyChange, register, setMenuAccellerator, turnOn
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFeatureID, getName, isOn, isTwoState, turnOn
isInitialized
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
actionPerformed
propertyChange
protected Object lastSelectedObject
public StatusPanelImpl(Registry registry)
public JComponent[] getDialogControls()
getDialogControls
in interface FeaturePanel
public void initialize(Controller controller)
initialize
in interface Initializable
initialize
in class AbstractFeature
public void selected(SelectEvent event)
selected
in interface SelectListener
public String setStatusMessage(String message)
setStatusMessage
in interface StatusPanel