|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.rwt.webui.tree.SelectionListener
public class SelectionListener
A TreeSelectionListener for selections on
AbstractNodes.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
protected MainController |
controller
The controller used to interact with the rest of the application. |
| Constructor Summary | |
|---|---|
SelectionListener(MainController controller)
Create a new instance of the listener using the specified controller. |
|
| Method Summary | |
|---|---|
protected void |
displayNode(AbstractNode node)
Display details for the node selected in the MainView.right component. |
void |
valueChanged(TreeSelectionEvent event)
Update MainView.right with meta data
relevant to the selected AbstractNode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final MainController controller
| Constructor Detail |
|---|
public SelectionListener(MainController controller)
controller - The controller to use.| Method Detail |
|---|
public void valueChanged(TreeSelectionEvent event)
MainView.right with meta data
relevant to the selected AbstractNode.
valueChanged in interface TreeSelectionListenerevent - The selection event that was triggered.displayNode(com.sptci.rwt.webui.tree.AbstractNode)protected void displayNode(AbstractNode node)
MainView.right component.
node - The node whose model information is to be displayed.
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||