|
|||||||||||
| 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.swt.inplaceediting.InplaceTextEditor
InplaceEditor instance to use for editing the text of a
Label2D or CompositeLabel. A Text
instance is placed over the corresponding label.
| Field Summary |
| Fields inherited from class com.tensegrity.gui.inplaceediting.InplaceEditor |
bComp, gPanel, label |
| Constructor Summary | |
InplaceTextEditor(org.eclipse.swt.widgets.Composite parent,
Label2D label,
BaseComposite bComp,
GraphPanel gPanel,
CompositeTable table)
Creates a new InplaceTextEditor. |
|
| Method Summary | |
void |
commitChanges()
Is called on normal edit commits. |
void |
editingCancelled()
Is called in case an editing was cancelled. |
java.lang.Object |
getControl()
Returns the editor control, i.e. its visual component. |
| Methods inherited from class com.tensegrity.gui.inplaceediting.InplaceEditor |
abortEditing, addInplaceEditorListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InplaceTextEditor(org.eclipse.swt.widgets.Composite parent,
Label2D label,
BaseComposite bComp,
GraphPanel gPanel,
CompositeTable table)
InplaceTextEditor.
parent - the parent Composite to add this editor tolabel - Primitive to apply inplace editing tobComp - Composite to apply inplace editing togPanel - contains the underlying element which requests inplace
editingtable - if inplace editing occurs inside a CompositeTable| Method Detail |
public java.lang.Object getControl()
InplaceEditorSwing based editor this is usually an instance of a
JComponent class and for an SWT based editor
this is usually an extend of Control.
getControl in class InplaceEditorpublic void commitChanges()
InplaceEditorInplaceEditorListener.
commitChanges in class InplaceEditorpublic void editingCancelled()
InplaceEditorInplaceEditorListener.
editingCancelled in class InplaceEditor
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||