protected abstract class AbstractLayoutTool.AbstractAlignmentAction extends BaseAction
Modifier | Constructor and Description |
---|---|
protected |
AbstractAlignmentAction(java.lang.String resourceBase,
javax.swing.Icon icon) |
protected |
AbstractAlignmentAction(java.lang.String resourceBase,
java.lang.String icon) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
protected abstract void |
align(DesignableDelegate delegate,
java.util.List<javax.swing.JComponent> items) |
boolean |
evaluateEnabled(DesignableDelegate delegate,
java.util.List<javax.swing.JComponent> selected) |
protected boolean |
isMultiAlignment()
Return true if this action requires 2 or more components to be meaningful
|
protected boolean |
isSiblingsOnly() |
createButton, createButton, evaluateEnabled, listenTo, listenTo, setBundleKey, setIcon, updateEnabled
protected AbstractAlignmentAction(java.lang.String resourceBase, java.lang.String icon)
protected AbstractAlignmentAction(java.lang.String resourceBase, javax.swing.Icon icon)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
protected abstract void align(DesignableDelegate delegate, java.util.List<javax.swing.JComponent> items)
public boolean evaluateEnabled(DesignableDelegate delegate, java.util.List<javax.swing.JComponent> selected)
protected boolean isMultiAlignment()
protected boolean isSiblingsOnly()