|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.event.MouseAdapter
ca.sqlpower.architect.swingui.AbstractPlacer
public abstract class AbstractPlacer
A generic class for placing arbitrary playpen components in the playpen when the user releases the mouse button.
| Field Summary | |
|---|---|
protected PlayPen |
playpen
|
| Constructor Summary | |
|---|---|
protected |
AbstractPlacer(PlayPen playpen)
Creates a new table placer for the given table pane. |
| Method Summary | |
|---|---|
void |
cancel()
Implements PlayPen.CancelableListener by canceling this place operation. |
void |
dirtyup()
Activates this TablePlacer by attaching it to the play pen. |
protected abstract java.lang.String |
getEditDialogTitle()
Returns the title for the edit dialog that pops up after place() has been called, if place() returns a data entry panel. |
void |
mouseReleased(java.awt.event.MouseEvent e)
|
abstract ca.sqlpower.swingui.DataEntryPanel |
place(java.awt.Point p)
Performs the specific placement operation based on the mouse click. |
| Methods inherited from class java.awt.event.MouseAdapter |
|---|
mouseClicked, mouseEntered, mouseExited, mousePressed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final PlayPen playpen
| Constructor Detail |
|---|
protected AbstractPlacer(PlayPen playpen)
dirtyup().
tp - The new tablepane to add when the user clicks the mouse| Method Detail |
|---|
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenermouseReleased in class java.awt.event.MouseAdapterprotected abstract java.lang.String getEditDialogTitle()
public abstract ca.sqlpower.swingui.DataEntryPanel place(java.awt.Point p)
throws ArchitectException
p - The point to place at, in logical playpen coordinates.
ArchitectExceptionpublic void cancel()
PlayPen.CancelableListener by canceling this place operation.
cancel in interface PlayPen.CancelableListenerpublic void dirtyup()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||