Skip navigation links


com.essbase.eas.essbase.ui.outline
Class VTreeAdapter

java.lang.Object
  extended by com.essbase.eas.essbase.ui.outline.VTreeAdapter

All Implemented Interfaces:
java.awt.event.MouseListener, java.util.EventListener, javax.swing.event.TreeSelectionListener, javax.swing.event.TreeWillExpandListener

public class VTreeAdapter
extends java.lang.Object
implements java.awt.event.MouseListener, javax.swing.event.TreeSelectionListener, javax.swing.event.TreeWillExpandListener

implements all of the listener interfaces for a VTree object.

Version:
1.00, 04/04/2001
Author:
Hank Cox

Constructor Summary
VTreeAdapter(VTree vtree)
          constructor used to associate a VTreeAdapter with a VTree.

 

Method Summary
 void mouseClicked(java.awt.event.MouseEvent e)
          implementation of the MouseListener.mouseClicked() method.
 void mouseEntered(java.awt.event.MouseEvent e)
          empty implementation of the MouseListener.mouseEntered() method.
 void mouseExited(java.awt.event.MouseEvent e)
          empty implementation of the MouseListener.mouseExited() method.
 void mousePressed(java.awt.event.MouseEvent e)
          implementation of the MouseListener.mousePressed() method.
 void mouseReleased(java.awt.event.MouseEvent e)
          implementation of the MouseListener.mouseReleased() method.
 void release()
           
 void treeWillCollapse(javax.swing.event.TreeExpansionEvent event)
          implementation of the TreeWillExpandListener.treeWillCollapse() method.
 void treeWillExpand(javax.swing.event.TreeExpansionEvent event)
           
 void valueChanged(javax.swing.event.TreeSelectionEvent e)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

VTreeAdapter

public VTreeAdapter(VTree vtree)
constructor used to associate a VTreeAdapter with a VTree.

Method Detail

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
implementation of the MouseListener.mouseClicked() method. Checks for popup menu event.
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
implementation of the MouseListener.mousePressed() method. Sets the tree's selection to the correct object, if necessary. Checks for a popup menu event.
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
implementation of the MouseListener.mouseReleased() method. Checks for a popup menu event.
Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
empty implementation of the MouseListener.mouseEntered() method.
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
empty implementation of the MouseListener.mouseExited() method.
Specified by:
mouseExited in interface java.awt.event.MouseListener

valueChanged

public void valueChanged(javax.swing.event.TreeSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener

treeWillExpand

public void treeWillExpand(javax.swing.event.TreeExpansionEvent event)
                    throws javax.swing.tree.ExpandVetoException
Specified by:
treeWillExpand in interface javax.swing.event.TreeWillExpandListener
Throws:
javax.swing.tree.ExpandVetoException

treeWillCollapse

public void treeWillCollapse(javax.swing.event.TreeExpansionEvent event)
                      throws javax.swing.tree.ExpandVetoException
implementation of the TreeWillExpandListener.treeWillCollapse() method. Currently, we don't do anything when a node collapses.
Specified by:
treeWillCollapse in interface javax.swing.event.TreeWillExpandListener
Throws:
javax.swing.tree.ExpandVetoException

release

public void release()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.