|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.cockpit.modeler.tools.InPlaceEditingTextField
public class InPlaceEditingTextField
Flaoting text field that provides key listeners.
| Constructor Summary | |
|---|---|
InPlaceEditingTextField()
|
|
| Method Summary | |
|---|---|
void |
addActionListener(java.awt.event.ActionListener listener)
Adds an action listener |
void |
addKeyListener(java.awt.event.KeyListener listener)
Adds a key listener |
void |
displayOverlay(java.lang.String text,
java.awt.Container container,
java.awt.Rectangle r)
Positions the overlay. |
void |
endOverlay()
Removes the overlay. |
java.awt.Dimension |
getPreferredSize(int cols)
Gets the preferred size of the overlay. |
java.lang.String |
getText()
Gets the text contents of the overlay. |
void |
removeActionListener(java.awt.event.ActionListener listener)
Remove an action listener |
void |
removeKeyListener(java.awt.event.KeyListener listener)
Remove a key listener |
void |
setFont(java.awt.Font font)
Sets the font. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InPlaceEditingTextField()
| Method Detail |
|---|
public void displayOverlay(java.lang.String text,
java.awt.Container container,
java.awt.Rectangle r)
public void endOverlay()
public java.lang.String getText()
public void setFont(java.awt.Font font)
font - New fontpublic java.awt.Dimension getPreferredSize(int cols)
public void addActionListener(java.awt.event.ActionListener listener)
public void removeActionListener(java.awt.event.ActionListener listener)
public void addKeyListener(java.awt.event.KeyListener listener)
public void removeKeyListener(java.awt.event.KeyListener listener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||