Class JXTreeTable.TreeTableHackerExt5

Enclosing class:
JXTreeTable

public class JXTreeTable.TreeTableHackerExt5 extends JXTreeTable.TreeTableHackerExt4
  • Constructor Details

    • TreeTableHackerExt5

      public TreeTableHackerExt5()
  • Method Details

    • getTreeHandleWidth

      protected int getTreeHandleWidth()
      If a negative number is returned, then all events that occur in the leading margin will be forwarded to the tree and consumed.
      Returns:
      the width of the tree handle if it can be determined, else -1
    • getEventForTreeRenderer

      protected MouseEvent getEventForTreeRenderer(MouseEvent e)
      Description copied from class: JXTreeTable.TreeTableHackerExt4
      This method checks if the location of the event is in the tree handle margin and translates the coordinates for the JTree.
      Overrides:
      getEventForTreeRenderer in class JXTreeTable.TreeTableHackerExt4
      Parameters:
      e - the currently dispatching mouse event
      Returns:
      the mouse event to dispatch to the JTree or null if nothing should be dispatched