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 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
ConstructorsModifierConstructorDescriptionprotectedAbstractAlignmentAction(String resourceBase, String icon) protectedAbstractAlignmentAction(String resourceBase, Icon icon)  - 
Method Summary
Modifier 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.BaseAction
create, createButton, createButton, evaluateEnabled, listenTo, listenTo, setBundleKey, setIcon, updateEnabledMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled 
- 
Constructor Details
- 
AbstractAlignmentAction
 - 
AbstractAlignmentAction
 
 - 
 - 
Method Details
- 
actionPerformed
- Specified by:
 actionPerformedin interfaceActionListener
 - 
align
 - 
evaluateEnabled
 - 
isMultiAlignment
protected boolean isMultiAlignment()Return true if this action requires 2 or more components to be meaningful - 
isSiblingsOnly
protected boolean isSiblingsOnly() - 
setEnabled
void setEnabled(boolean b)  
 -