public class Measurement extends AbstractFeature
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 |
---|
Measurement() |
Measurement(Registry registry) |
Modifier and Type | Method and Description |
---|---|
protected void |
doActionPerformed(ActionEvent actionEvent) |
void |
initialize(Controller controller) |
boolean |
isOn() |
boolean |
isTwoState()
Indicates whether the feature can be either on or off, without any other states.
|
void |
turnOn(boolean tf) |
actionPerformed, addToToolBar, doPropertyChange, getController, getFeatureID, getName, getStringValue, isInitialized, propertyChange, register, setMenuAccellerator
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public Measurement()
public Measurement(Registry registry)
protected void doActionPerformed(ActionEvent actionEvent)
doActionPerformed
in class AbstractFeature
public void initialize(Controller controller)
initialize
in interface Initializable
initialize
in class AbstractFeature
public boolean isOn()
isOn
in interface Feature
isOn
in class AbstractFeature
public boolean isTwoState()
Feature
isTwoState
in interface Feature
isTwoState
in class AbstractFeature
public void turnOn(boolean tf)
turnOn
in interface Feature
turnOn
in class AbstractFeature