|
|||||||||||
| 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
This abstract class provides a default implementation of the AbstractAttributeTableItemEditor interface, except for the getEditorControl method which is unique for each implementing class.
| Field Summary | |
protected java.lang.Object |
newValue
this field holds the new, i.e. changed, attribute value |
| Constructor Summary | |
AttributeTableItemEditor(AttributeTableItem tableItem)
Constructor which needs the AttributeTableItem which should be edited. |
|
| Method Summary | |
void |
addEditorListener(AttributeEditorListener listener)
Adds the specified editor listener to the list of all listeners |
abstract void |
dispose()
Callback method which is invoked to signal that the current editor is asked to remove itself. |
AttributeTableItem |
getItem()
Returns the AttributeTableItem which should be edit |
java.lang.Object |
getValue()
Returns the changed value or null if none exists or no change happened |
void |
notifyListeners()
Notifies each registered listener that an attribute has been changed |
void |
removeEditorListener(AttributeEditorListener listener)
Removes the specified editor listener from the list of all listeners |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.tensegrity.gui.swt.control.attributetree.editors.AbstractAttributeTableItemEditor |
getEditorControl |
| Field Detail |
protected java.lang.Object newValue
| Constructor Detail |
public AttributeTableItemEditor(AttributeTableItem tableItem)
tableItem - the AttributeTableItem to edit| Method Detail |
public final void addEditorListener(AttributeEditorListener listener)
AbstractAttributeTableItemEditor
addEditorListener in interface AbstractAttributeTableItemEditorlistener - an arbitrary AttributeEditorListenerpublic final void removeEditorListener(AttributeEditorListener listener)
AbstractAttributeTableItemEditor
removeEditorListener in interface AbstractAttributeTableItemEditorlistener - an arbitrary AttributeEditorListenerpublic void notifyListeners()
AbstractAttributeTableItemEditor
notifyListeners in interface AbstractAttributeTableItemEditorpublic final java.lang.Object getValue()
AbstractAttributeTableItemEditor
getValue in interface AbstractAttributeTableItemEditorpublic AttributeTableItem getItem()
AbstractAttributeTableItemEditor
getItem in interface AbstractAttributeTableItemEditorpublic abstract void dispose()
AbstractAttributeTableItemEditor
dispose in interface AbstractAttributeTableItemEditor
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||