jebl.gui.trees.treeviewer
Class TreePaneSelector

java.lang.Object
  extended by jebl.gui.trees.treeviewer.TreePaneSelector
All Implemented Interfaces:
MouseListener, MouseMotionListener, EventListener

public class TreePaneSelector
extends Object
implements MouseListener, MouseMotionListener

Author:
Andrew Rambaut

Nested Class Summary
static class TreePaneSelector.DragMode
           
static class TreePaneSelector.SelectionMode
           
 
Constructor Summary
TreePaneSelector(TreePane treePane)
           
 
Method Summary
 void mouseClicked(MouseEvent mouseEvent)
           
 void mouseDragged(MouseEvent mouseEvent)
           
 void mouseEntered(MouseEvent mouseEvent)
           
 void mouseExited(MouseEvent mouseEvent)
           
 void mouseMoved(MouseEvent mouseEvent)
           
 void mousePressed(MouseEvent mouseEvent)
           
 void mouseReleased(MouseEvent mouseEvent)
           
 void setDragMode(TreePaneSelector.DragMode dragMode)
           
 void setSelectionMode(TreePaneSelector.SelectionMode selectionMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreePaneSelector

public TreePaneSelector(TreePane treePane)
Method Detail

setSelectionMode

public void setSelectionMode(TreePaneSelector.SelectionMode selectionMode)

setDragMode

public void setDragMode(TreePaneSelector.DragMode dragMode)

mouseClicked

public void mouseClicked(MouseEvent mouseEvent)
Specified by:
mouseClicked in interface MouseListener

mousePressed

public void mousePressed(MouseEvent mouseEvent)
Specified by:
mousePressed in interface MouseListener

mouseReleased

public void mouseReleased(MouseEvent mouseEvent)
Specified by:
mouseReleased in interface MouseListener

mouseEntered

public void mouseEntered(MouseEvent mouseEvent)
Specified by:
mouseEntered in interface MouseListener

mouseExited

public void mouseExited(MouseEvent mouseEvent)
Specified by:
mouseExited in interface MouseListener

mouseMoved

public void mouseMoved(MouseEvent mouseEvent)
Specified by:
mouseMoved in interface MouseMotionListener

mouseDragged

public void mouseDragged(MouseEvent mouseEvent)
Specified by:
mouseDragged in interface MouseMotionListener