All Packages Class Hierarchy This Package Previous Next Index
Class vnr.ide.DesktopController
java.lang.Object
|
+----vnr.ide.DesktopController
- public class DesktopController
- extends Object
- implements MouseListener, TreeSelectionListener, BuildListener
This is the controller for the Desktop class. It's job is to take UI events and adapt them to model or business logic calls.
-
DesktopController()
-
-
buildComplete(BuildEvent)
- method to handle completed builds
-
getView()
-
-
mouseClicked(MouseEvent)
- handle mouse clicks on the tree - specifically class/package/hierarchy clicks
get last component on tree path (user/category/project/view name) == viewname
path components are whatever was added to the tree, in my case, DefaultMutableTreeNode's
Set the ProjectView panel to have the parent project as the current project
and make that panel visible
-
mouseEntered(MouseEvent)
-
-
mouseExited(MouseEvent)
-
-
mousePressed(MouseEvent)
-
-
mouseReleased(MouseEvent)
-
-
setView(Desktop)
- set the view that this controller is handling
-
valueChanged(TreeSelectionEvent)
- handle tree selection
DesktopController
public DesktopController()
mouseClicked
public void mouseClicked(MouseEvent me)
- handle mouse clicks on the tree - specifically class/package/hierarchy clicks
get last component on tree path (user/category/project/view name) == viewname
path components are whatever was added to the tree, in my case, DefaultMutableTreeNode's
Set the ProjectView panel to have the parent project as the current project
and make that panel visible
valueChanged
public void valueChanged(TreeSelectionEvent tse)
- handle tree selection
setView
public void setView(Desktop v)
- set the view that this controller is handling
buildComplete
public void buildComplete(BuildEvent be)
- method to handle completed builds
mouseExited
public void mouseExited(MouseEvent $1)
mousePressed
public void mousePressed(MouseEvent $2)
mouseEntered
public void mouseEntered(MouseEvent $3)
mouseReleased
public void mouseReleased(MouseEvent $4)
getView
public Desktop getView()
All Packages Class Hierarchy This Package Previous Next Index