org.ximtec.igesture.tool.explorer
Class ExplorerTreeController
java.lang.Object
org.ximtec.igesture.tool.core.DefaultController
org.ximtec.igesture.tool.explorer.ExplorerTreeController
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, TreeSelectionListener, Controller
public class ExplorerTreeController
- extends DefaultController
- implements TreeSelectionListener
Controller Component of the Explorer Tree.
- Since:
- igesture
- Version:
- 1.0
- Author:
- UeliKurmann
| Methods inherited from class org.ximtec.igesture.tool.core.DefaultController |
addAction, addController, execute, getAction, getControllers, getLocator, getParent, isRoot, removeAllControllers, removeController, setLocator, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExplorerTreeController
public ExplorerTreeController(Controller parentController,
ExplorerTreeContainer container,
ExplorerTreeModel model,
TreeCellRenderer renderer)
- Constructor
- Parameters:
parentController - container - model - renderer -
ExplorerTreeController
public ExplorerTreeController(Controller parentController,
ExplorerTreeContainer container,
ExplorerTreeModel model)
- Parameters:
container - the container where the components are visualized.model - the Explorer Tree model.nodeInfos - a map of NodeInfos
valueChanged
public void valueChanged(TreeSelectionEvent e)
- Specified by:
valueChanged in interface TreeSelectionListener
getView
public TabbedView getView()
- Description copied from interface:
Controller
- Returns the view component for this specific controller.
- Specified by:
getView in interface Controller
- Returns:
- the view component for this specific controller.
selectNode
public void selectNode(Object obj)
getExplorerTreeView
public ExplorerTreeView getExplorerTreeView()
- Returns the currently active explorer tree view. (the view of the selected
node)
- Returns:
getExplorerTree
public ExplorerTree getExplorerTree()
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange in interface PropertyChangeListener- Overrides:
propertyChange in class DefaultController
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.