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

protected abstract class AbstractLayoutTool.AbstractAlignmentAction extends BaseAction
See Also:
  • Constructor Details

    • AbstractAlignmentAction

      protected AbstractAlignmentAction(String resourceBase, String icon)
    • AbstractAlignmentAction

      protected AbstractAlignmentAction(String resourceBase, Icon icon)
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • align

      protected abstract void align(DesignableDelegate delegate, List<JComponent> items)
    • evaluateEnabled

      public boolean evaluateEnabled(DesignableDelegate delegate, List<JComponent> selected)
    • 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)