|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.swing.inplaceediting.InplaceEditorConfigurator
The InplaceEditorConfigurator that is used to configure the
inplace editor component whenever a label is edited in the view.
To use this callback, you have to register it to the
SwingGraphPanel using
SwingGraphPanel.setInplaceEditorConfigurator(InplaceEditorConfigurator)
| Constructor Summary | |
InplaceEditorConfigurator()
Constructor |
|
| Method Summary | |
javax.swing.text.Document |
getTextDocument(BaseComposite bc,
Label2D label)
Returns the text document that should be used for editing the given label. |
boolean |
useSingleLineEditing(BaseComposite bc,
Label2D label)
Returns true, if the editor component should be used for single lines only. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InplaceEditorConfigurator()
| Method Detail |
public boolean useSingleLineEditing(BaseComposite bc,
Label2D label)
bc - The BaseComposite the label belongs tolabel - The Label2D that will be edited
public javax.swing.text.Document getTextDocument(BaseComposite bc,
Label2D label)
bc - The BaseComposite the label belongs tolabel - The Label2D that will be edited
null is returned, the
default text document is used.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||