Class AbstractLayoutTool.AbstractNudgeAction
java.lang.Object
javax.swing.AbstractAction
com.inductiveautomation.ignition.designer.designable.tools.AbstractLayoutTool.AbstractNudgeAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- Direct Known Subclasses:
AbstractLayoutTool.MoveNudgeAction,AbstractLayoutTool.ScaleNudgeAction
- Enclosing class:
- AbstractLayoutTool
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected DesignableDelegatedelegate()protected abstract voidnudge(List<JComponent> items, int dist) protected doublesnap(double d) Specialized version of snap, preserves fractional info (unless the snap actually did something, of course)protected intsnap(int i) Snaps to the gridMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
AbstractNudgeAction
-
-
Method Details
-
actionPerformed
-
delegate
-
snap
protected int snap(int i) Snaps to the grid -
snap
protected double snap(double d) Specialized version of snap, preserves fractional info (unless the snap actually did something, of course) -
nudge
-