Class JTableColumnTool<T extends JTableColumnShape>

    • Constructor Detail

      • JTableColumnTool

        public JTableColumnTool()
    • Method Detail

      • resetUI

        public void resetUI()
        Updates the UI panel from selected table column shape.
        Overrides:
        resetUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • respondUI

        public void respondUI​(SwingEvent anEvent)
        Updates the current selection from the UI controls.
        Overrides:
        respondUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • acceptsDrag

        public boolean acceptsDrag​(T aShape,
                                   java.awt.dnd.DropTargetDragEvent anEvent)
        Overrides Tool implementation to accept KeysPanel drags.
        Overrides:
        acceptsDrag in class RMTool<T extends JTableColumnShape>
      • drop

        public void drop​(T aShape,
                         java.awt.dnd.DropTargetDropEvent anEvent)
        Override normal implementation to handle KeysPanel drop.
        Overrides:
        drop in class RMTool<T extends JTableColumnShape>
      • paintShapeHandles

        public void paintShapeHandles​(T aShape,
                                      java.awt.Graphics2D g,
                                      boolean isSuperSelected)
        Highlights the selected cells or dividers.
        Overrides:
        paintShapeHandles in class RMTool<T extends JTableColumnShape>
      • getHandleRect

        public RMRect getHandleRect​(T aShape,
                                    int aHandle,
                                    boolean isSuperSelected)
        Returns the rect for the handle at the given index in editor coords.
        Overrides:
        getHandleRect in class RMTool<T extends JTableColumnShape>