protected abstract class AbstractLayoutTool.AbstractNudgeAction
extends javax.swing.AbstractAction
Modifier | Constructor and Description |
---|---|
protected |
AbstractNudgeAction(java.lang.String name,
boolean superAction) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae) |
protected DesignableDelegate |
delegate() |
protected abstract void |
nudge(java.util.List<javax.swing.JComponent> items,
int dist) |
protected double |
snap(double d)
Specialized version of snap, preserves fractional info (unless the snap actually did something, of course)
|
protected int |
snap(int i)
Snaps to the grid
|
protected AbstractNudgeAction(java.lang.String name, boolean superAction)
public void actionPerformed(java.awt.event.ActionEvent ae)
protected DesignableDelegate delegate()
protected int snap(int i)
protected double snap(double d)
protected abstract void nudge(java.util.List<javax.swing.JComponent> items, int dist)