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:
java.awt.event.ActionListener,java.awt.event.ItemListener,java.awt.ItemSelectable,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
public class PersistentStateChangeAction extends StateChangeAction
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.client.util.action.StateChangeAction
selected
-
-
Constructor Summary
Constructors Constructor Description PersistentStateChangeAction(VisionDesignerInterface vision, java.lang.String bundleKey, java.lang.String prefsKey, java.lang.Boolean defaultValue)Creates a state change action that will automatically alter the given prefsKey in the current designer prefsPersistentStateChangeAction(VisionDesignerInterface vision, java.lang.String bundleKey, java.lang.String prefsKey, java.lang.Boolean defaultValue, javax.swing.Icon icon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiditemStateChanged(java.awt.event.ItemEvent evt)-
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 Detail
-
PersistentStateChangeAction
public PersistentStateChangeAction(VisionDesignerInterface vision, java.lang.String bundleKey, java.lang.String prefsKey, java.lang.Boolean defaultValue)
Creates a state change action that will automatically alter the given prefsKey in the current designer prefs
-
PersistentStateChangeAction
public PersistentStateChangeAction(VisionDesignerInterface vision, java.lang.String bundleKey, java.lang.String prefsKey, java.lang.Boolean defaultValue, javax.swing.Icon icon)
-
-