|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.swt.control.attributetree.SwtAttributeTreeModel
The model for the SwtAttributeTree. All operations related to
attribute values should be performed here. Thereby we reach a useful
separation of the attribute data and their visual representation.
| Constructor Summary | |
SwtAttributeTreeModel(SwtAttributeTree attrTree)
Constructor which requires a reference to the corresponding view, namely an SwtAttributeTree instance |
|
| Method Summary | |
void |
attributesChanged(AttributableOnSetEvent attributableOnSetEvent)
Invoked when an attribute in an AttributableOnSet object
has changed. |
void |
changed(AttributeTableItem tableItem)
This method is called whenever an attribute of this table has been altered |
AttributableOnSet |
getAttributableOnSet()
Returns the currently set AttributableOnSet displayed by
the attribute tree. |
AttributeSet |
getCurrentAttributeSet()
Returns the currently used AttributeSet |
AttributeTableItem |
getRoot()
Returns the root item of the currently setted table data |
boolean |
gotNotified()
Returns the notified flag |
void |
rehash()
Fills the tree with new data, i.e. the currently attributes. |
void |
setAttributableOnSet(AttributableOnSet attributable)
Sets the AttributableOnSet to be edited in this tree |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SwtAttributeTreeModel(SwtAttributeTree attrTree)
SwtAttributeTree instance
attrTree - the SwtAttributeTree instance this model
belongs to| Method Detail |
public void attributesChanged(AttributableOnSetEvent attributableOnSetEvent)
AttributableOnSetListenerAttributableOnSet object
has changed.
attributesChanged in interface AttributableOnSetListenerattributableOnSetEvent - the event carrying information.public void setAttributableOnSet(AttributableOnSet attributable)
attributable - the AttributableOnSet to be edited in this treepublic void rehash()
public void changed(AttributeTableItem tableItem)
tableItem - the altered attribute table itempublic AttributableOnSet getAttributableOnSet()
AttributableOnSet displayed by
the attribute tree.
AttributableOnSet used by this tree modelpublic AttributeSet getCurrentAttributeSet()
AttributeSet
AttributeSetpublic final AttributeTableItem getRoot()
public final boolean gotNotified()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||