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:
ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
AbstractLayoutTool
- See Also:
-
Field Summary
Fields inherited from class AbstractAction
changeSupport, enabledFields inherited from interface 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 TypeMethodDescriptionprotected voidalign(DesignableDelegate delegate, List<JComponent> items) protected booleanReturn true if this action requires 2 or more components to be meaningfulprotected booleanvoidsetEnabled(boolean b) Methods inherited from class AbstractLayoutTool.AbstractAlignmentAction
actionPerformed, evaluateEnabledMethods inherited from class BaseAction
create, createButton, createButton, evaluateEnabled, listenTo, listenTo, setBundleKey, setIcon, updateEnabledMethods inherited from class AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
CenterAction
protected CenterAction(boolean horizontal)
-
-
Method Details
-
align
- Specified by:
alignin classAbstractLayoutTool.AbstractAlignmentAction
-
isMultiAlignment
protected boolean isMultiAlignment()Description copied from class:AbstractLayoutTool.AbstractAlignmentActionReturn true if this action requires 2 or more components to be meaningful- Overrides:
isMultiAlignmentin classAbstractLayoutTool.AbstractAlignmentAction
-
isSiblingsOnly
protected boolean isSiblingsOnly()- Overrides:
isSiblingsOnlyin classAbstractLayoutTool.AbstractAlignmentAction
-
setEnabled
void setEnabled(boolean b)
-