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 com.inductiveautomation.ignition.client.util.action.StateChangeAction
selected
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields inherited from interface javax.swing.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 com.inductiveautomation.ignition.client.util.action.StateChangeAction
actionPerformed, addItemListener, createMenuItem, getSelectedObjects, isSelected, removeItemListener, setSelected
Methods inherited from class com.inductiveautomation.ignition.client.util.action.BaseAction
create, createButton, createButton, evaluateEnabled, listenTo, listenTo, setBundleKey, setIcon, updateEnabled
Methods inherited from class javax.swing.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
-