Class JXTreeTable.TreeTableHackerExt5

    • Constructor Detail

      • TreeTableHackerExt5

        public TreeTableHackerExt5()
    • Method Detail

      • 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 java.awt.event.MouseEvent getEventForTreeRenderer​(java.awt.event.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