Class AbstractLayoutTool.CenterAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- com.inductiveautomation.ignition.client.util.action.BaseAction
-
- com.inductiveautomation.ignition.designer.designable.tools.AbstractLayoutTool.AbstractAlignmentAction
-
- com.inductiveautomation.ignition.designer.designable.tools.AbstractLayoutTool.CenterAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Enclosing class:
- AbstractLayoutTool
protected class AbstractLayoutTool.CenterAction extends AbstractLayoutTool.AbstractAlignmentAction
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CenterAction(boolean horizontal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
align(DesignableDelegate delegate, java.util.List<javax.swing.JComponent> items)
protected boolean
isMultiAlignment()
Return true if this action requires 2 or more components to be meaningfulprotected boolean
isSiblingsOnly()
-
Methods inherited from class com.inductiveautomation.ignition.designer.designable.tools.AbstractLayoutTool.AbstractAlignmentAction
actionPerformed, evaluateEnabled
-
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
-
-
-
-
Method Detail
-
align
protected void align(DesignableDelegate delegate, java.util.List<javax.swing.JComponent> items)
- Specified by:
align
in classAbstractLayoutTool.AbstractAlignmentAction
-
isMultiAlignment
protected boolean isMultiAlignment()
Description copied from class:AbstractLayoutTool.AbstractAlignmentAction
Return true if this action requires 2 or more components to be meaningful- Overrides:
isMultiAlignment
in classAbstractLayoutTool.AbstractAlignmentAction
-
isSiblingsOnly
protected boolean isSiblingsOnly()
- Overrides:
isSiblingsOnly
in classAbstractLayoutTool.AbstractAlignmentAction
-
-