Watcher.v2_1
Class Overview.NodeSelectionListener

java.lang.Object
  |
  +--java.awt.event.MouseAdapter
        |
        +--Watcher.v2_1.Overview.NodeSelectionListener
All Implemented Interfaces:
java.util.EventListener, java.awt.event.MouseListener
Enclosing class:
Overview

public class Overview.NodeSelectionListener
extends java.awt.event.MouseAdapter

An internal listener class which listens for MouseEvents generated by the user pressing the mousebuttons over the JTree.


Constructor Summary
Overview.NodeSelectionListener()
           
 
Method Summary
 void mousePressed(java.awt.event.MouseEvent me)
          The method is called every time the user pushes down a mousebutton in the JTree.
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited, mouseReleased
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Overview.NodeSelectionListener

public Overview.NodeSelectionListener()
Method Detail

mousePressed

public void mousePressed(java.awt.event.MouseEvent me)
The method is called every time the user pushes down a mousebutton in the JTree. If the user doubleclicked on one of the nodes it checks the nodetype and selects it's row in its respective table. E.g. if a RoleSession node is selected the row where the specified RoleSession is listed in the RoleSession table is selected.
Overrides:
mousePressed in class java.awt.event.MouseAdapter
Parameters:
me - The MouseEvent generated.