org.jdesktop.swingx
Class JXTreeTable.TreeTableHacker

java.lang.Object
  extended by org.jdesktop.swingx.JXTreeTable.TreeTableHacker
Direct Known Subclasses:
JXTreeTable.TreeTableHackerExt
Enclosing class:
JXTreeTable

public class JXTreeTable.TreeTableHacker
extends java.lang.Object

Temporary class to have all the hacking at one place. Naturally, it will change a lot. The base class has the "stable" behaviour as of around jun2006 (before starting the fix for 332-swingx).

specifically:

  1. hitHandleDetection triggeredn in editCellAt


Constructor Summary
JXTreeTable.TreeTableHacker()
           
 
Method Summary
 void hitHandleDetectionFromEditCell(int column, java.util.EventObject e)
          Entry point for hit handle detection called from editCellAt, does nothing if isHitDetectionFromProcessMouse is true;
 boolean hitHandleDetectionFromProcessMouse(java.awt.event.MouseEvent e)
          Entry point for hit handle detection called from processMouse.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JXTreeTable.TreeTableHacker

public JXTreeTable.TreeTableHacker()
Method Detail

hitHandleDetectionFromEditCell

public void hitHandleDetectionFromEditCell(int column,
                                           java.util.EventObject e)
Entry point for hit handle detection called from editCellAt, does nothing if isHitDetectionFromProcessMouse is true;

See Also:
isHitDetectionFromProcessMouse()

hitHandleDetectionFromProcessMouse

public boolean hitHandleDetectionFromProcessMouse(java.awt.event.MouseEvent e)
Entry point for hit handle detection called from processMouse. Does nothing if isHitDetectionFromProcessMouse is false.

Returns:
true if the mouseEvent triggered an expand/collapse in the renderer, false otherwise.
See Also:
isHitDetectionFromProcessMouse()