Class AbstractLayoutTool.AbstractAlignmentAction
java.lang.Object
javax.swing.AbstractAction
com.inductiveautomation.ignition.client.util.action.BaseAction
com.inductiveautomation.ignition.designer.designable.tools.AbstractLayoutTool.AbstractAlignmentAction
- All Implemented Interfaces:
- ActionListener,- Serializable,- Cloneable,- EventListener,- Action
- Direct Known Subclasses:
- AbstractLayoutTool.AlignEdge,- AbstractLayoutTool.CenterAction,- AbstractLayoutTool.RowStackAction
- 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 SummaryConstructorsModifierConstructorDescriptionprotectedAbstractAlignmentAction(String resourceBase, String icon) protectedAbstractAlignmentAction(String resourceBase, Icon icon) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidprotected abstract voidalign(DesignableDelegate delegate, List<JComponent> items) booleanevaluateEnabled(DesignableDelegate delegate, List<JComponent> selected) protected booleanReturn true if this action requires 2 or more components to be meaningfulprotected booleanvoidsetEnabled(boolean b) Methods inherited from class com.inductiveautomation.ignition.client.util.action.BaseActioncreate, createButton, createButton, evaluateEnabled, listenTo, listenTo, setBundleKey, setIcon, updateEnabledMethods inherited from class javax.swing.AbstractActionaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
- 
Constructor Details- 
AbstractAlignmentAction
- 
AbstractAlignmentAction
 
- 
- 
Method Details- 
actionPerformed- Specified by:
- actionPerformedin interface- ActionListener
 
- 
align
- 
evaluateEnabled
- 
isMultiAlignmentprotected boolean isMultiAlignment()Return true if this action requires 2 or more components to be meaningful
- 
isSiblingsOnlyprotected boolean isSiblingsOnly()
- 
setEnabledvoid setEnabled(boolean b) 
 
-