|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.swt.control.attributetree.editors.AttributeTableItemEditor
com.tensegrity.gui.swt.control.attributetree.editors.TextItemEditor
This class handles the editing of text formatter or string attribute values
| Field Summary |
| Fields inherited from class com.tensegrity.gui.swt.control.attributetree.editors.AttributeTableItemEditor |
newValue |
| Constructor Summary | |
TextItemEditor(org.eclipse.swt.widgets.Composite parent,
AttributeTableItem tableItem)
Constructor which creates a new TextItemEditor instance |
|
| Method Summary | |
void |
dispose()
Callback method which is invoked to signal that the current editor is asked to remove itself. |
org.eclipse.swt.widgets.Control |
getEditorControl()
Returns the editor component which replaces the corresponding attribute table entry for editing. |
org.eclipse.swt.widgets.Text |
getTextControl()
Returns the used Text composite. |
void |
setBounds(org.eclipse.swt.graphics.Rectangle bounds)
Sets the x and y position together with the width of text field similar to the given bounds. |
| Methods inherited from class com.tensegrity.gui.swt.control.attributetree.editors.AttributeTableItemEditor |
addEditorListener, getItem, getValue, notifyListeners, removeEditorListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextItemEditor(org.eclipse.swt.widgets.Composite parent,
AttributeTableItem tableItem)
parent - the composite to add this TextItemEditor totableItem - the table item which should be edited| Method Detail |
public org.eclipse.swt.widgets.Control getEditorControl()
AbstractAttributeTableItemEditor
public final org.eclipse.swt.widgets.Text getTextControl()
Text composite.
Text compositepublic final void setBounds(org.eclipse.swt.graphics.Rectangle bounds)
bounds - the new textfield boundspublic final void dispose()
AbstractAttributeTableItemEditor
dispose in interface AbstractAttributeTableItemEditordispose in class AttributeTableItemEditor
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||