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 SummaryFields inherited from class javax.swing.AbstractActionchangeSupport, enabledFields inherited from interface javax.swing.ActionACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.AbstractActionaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
- 
Constructor Details- 
AbstractNudgeAction
 
- 
- 
Method Details- 
actionPerformed
- 
delegate
- 
snapprotected int snap(int i) Snaps to the grid
- 
snapprotected double snap(double d) Specialized version of snap, preserves fractional info (unless the snap actually did something, of course)
- 
nudge
 
-