|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Basic interface to modify tree structures.
| Method Summary | |
void |
add(IMutableTreeElement element)
Adds the specified element to the IMutableTreeElement.
|
void |
addIMutableTreeElementListener(IMutableTreeElementListener listener)
Adds the specified IMutableTreeElementListener to the list
of registered listeners.
|
void |
dispose()
Disposes the IMutableTreeElement. |
Object |
getData()
Gets the data Object associated to the
IMutableTreeElement.
|
void |
remove(IMutableTreeElement element)
Removes the specified element from the IMutableTreeElement.
|
void |
removeIMutableTreeElementListener(IMutableTreeElementListener listener)
Removes the specified IMutableTreeElementListener from the
list of registered listeners.
|
void |
setData(Object data)
Sets an arbitrary data Object for the
IMutableTreeElement.
|
void |
setParent(IMutableTreeElement parent)
Sets the parent of the IMutableTreeElement
|
| Methods inherited from interface net.sourceforge.java.util.gui.jface.viewers.ITreeElement |
allowsSubElements, getElementAt, getElements, getIndex, getParent, getSize, hasSubElements, isSubElement |
| Method Detail |
public void setParent(IMutableTreeElement parent)
Sets the parent of the IMutableTreeElement
parent - the new parent to setpublic void add(IMutableTreeElement element)
Adds the specified element to the IMutableTreeElement.
element - the IMutableTreeElement to addpublic void remove(IMutableTreeElement element)
Removes the specified element from the IMutableTreeElement.
element - the IMutableTreeElementto removepublic void setData(Object data)
Sets an arbitrary data Object for the
IMutableTreeElement.
data - the Object to associate the
IMutableTreeElement togetData()public Object getData()
Gets the data Object associated to the
IMutableTreeElement.
Object associated to
the IMutableTreeElementsetData(Object)public void addIMutableTreeElementListener(IMutableTreeElementListener listener)
Adds the specified IMutableTreeElementListener to the list
of registered listeners.
listener - the listener to addremoveIMutableTreeElementListener(IMutableTreeElementListener)public void removeIMutableTreeElementListener(IMutableTreeElementListener listener)
Removes the specified IMutableTreeElementListener from the
list of registered listeners.
listener - the listener to removeaddIMutableTreeElementListener(IMutableTreeElementListener)public void dispose()
Disposes the IMutableTreeElement. This method should be
used to free up resources and to unregister
IMutableTreeElementListener.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||