| net.mygwt.ui.client.viewer.ITreeViewer
All known Subclasses: net.mygwt.ui.client.viewer.TreeTableViewer, net.mygwt.ui.client.viewer.TreeViewer,
Method Summary | |
public void | add(Object parent, Object child) Adds the given child element to this viewer as a child of the given parent
element. | public void | insert(Object parent, Object child, int position) Inserts the given element as a new child element of the given parent
element at the given position. | public void | refresh() Refreshes this viewer completely with information freshly obtained from
this viewer's model. | public void | remove(Object element) Removes the given element from the viewer. | public void | update() Refreshes labels with information from the viewer's label provider. | public void | update(Object elem) Refreshes labels with information from the viewer's label provider. |
add | public void add(Object parent, Object child)(Code) | | Adds the given child element to this viewer as a child of the given parent
element.
Parameters: parent - the parent element Parameters: child - the child element |
insert | public void insert(Object parent, Object child, int position)(Code) | | Inserts the given element as a new child element of the given parent
element at the given position.
Parameters: parent - the parent element Parameters: child - the child element Parameters: position - the insert position |
refresh | public void refresh()(Code) | | Refreshes this viewer completely with information freshly obtained from
this viewer's model.
|
remove | public void remove(Object element)(Code) | | Removes the given element from the viewer.
Parameters: element - the element to be removed |
update | public void update()(Code) | | Refreshes labels with information from the viewer's label provider.
|
update | public void update(Object elem)(Code) | | Refreshes labels with information from the viewer's label provider.
Parameters: elem - the element to be updated |
|
|