|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.inplaceediting.InplaceEditor
com.tensegrity.gui.swing.inplaceediting.InplaceEditComponent
Extending objects can be used as inplace editing components in the
SwingGraphPanel. Extending classes should overwrite methods
InplaceEditor.commitChanges() and InplaceEditor.editingCancelled() with a call to the
super-method.
| Field Summary |
| Fields inherited from class com.tensegrity.gui.inplaceediting.InplaceEditor |
bComp, gPanel, label |
| Constructor Summary | |
protected |
InplaceEditComponent(Label2D label,
BaseComposite bComp,
GraphPanel gp)
|
| Method Summary | |
protected int |
setFont()
Mathches the font sizes of the given Label2D with the one
of the JComponent used for inplace-editing. |
| Methods inherited from class com.tensegrity.gui.inplaceediting.InplaceEditor |
abortEditing, addInplaceEditorListener, commitChanges, editingCancelled, getControl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected InplaceEditComponent(Label2D label,
BaseComposite bComp,
GraphPanel gp)
| Method Detail |
protected int setFont()
Label2D with the one
of the JComponent used for inplace-editing.
Label2D matching the
Swing font size.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||