Class PersistentStateChangeAction
java.lang.Object
javax.swing.AbstractAction
com.inductiveautomation.ignition.client.util.action.BaseAction
com.inductiveautomation.ignition.client.util.action.StateChangeAction
com.inductiveautomation.factorypmi.designer.workspace.PersistentStateChangeAction
- All Implemented Interfaces:
ActionListener, ItemListener, ItemSelectable, Serializable, Cloneable, EventListener, Action
- See Also:
-
Field Summary
Fields inherited from class StateChangeAction
selectedFields inherited from class AbstractAction
changeSupport, enabledFields inherited from interface Action
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 Summary
ConstructorsConstructorDescriptionPersistentStateChangeAction(VisionDesignerInterface vision, String bundleKey, String prefsKey, Boolean defaultValue) Creates a state change action that will automatically alter the given prefsKey in the current designer prefsPersistentStateChangeAction(VisionDesignerInterface vision, String bundleKey, String prefsKey, Boolean defaultValue, Icon icon) -
Method Summary
Methods inherited from class StateChangeAction
actionPerformed, addItemListener, createMenuItem, getSelectedObjects, isSelected, removeItemListener, setSelectedMethods inherited from class BaseAction
create, createButton, createButton, evaluateEnabled, listenTo, listenTo, setBundleKey, setIcon, updateEnabledMethods inherited from class AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
PersistentStateChangeAction
public PersistentStateChangeAction(VisionDesignerInterface vision, String bundleKey, String prefsKey, Boolean defaultValue) Creates a state change action that will automatically alter the given prefsKey in the current designer prefs -
PersistentStateChangeAction
public PersistentStateChangeAction(VisionDesignerInterface vision, String bundleKey, String prefsKey, Boolean defaultValue, Icon icon)
-
-
Method Details
-
itemStateChanged
-