org.jdesktop.swingx.rollover
Class TreeRolloverProducer

java.lang.Object
  extended by org.jdesktop.swingx.rollover.RolloverProducer
      extended by org.jdesktop.swingx.rollover.TreeRolloverProducer
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener

public class TreeRolloverProducer
extends RolloverProducer

Tree-specific implementation of RolloverProducer.

This implementation assumes a "hit" for rollover if the mouse is anywhere in the total width of the tree. Additionally, a pressed to the right (but outside of the label bounds) is re-dispatched as a pressed just inside the label bounds. This is a first go for #166-swingx.

PENDING JW: bidi-compliance of pressed?

Author:
Jeanette Winzenburg

Field Summary
 
Fields inherited from class org.jdesktop.swingx.rollover.RolloverProducer
CLICKED_KEY, ROLLOVER_KEY
 
Constructor Summary
TreeRolloverProducer()
           
 
Method Summary
 void mousePressed(java.awt.event.MouseEvent e)
          Implemented to do nothing.
 
Methods inherited from class org.jdesktop.swingx.rollover.RolloverProducer
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeRolloverProducer

public TreeRolloverProducer()
Method Detail

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Description copied from class: RolloverProducer
Implemented to do nothing.

Specified by:
mousePressed in interface java.awt.event.MouseListener
Overrides:
mousePressed in class RolloverProducer