All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.swing.basic.BasicTableHeaderUI

java.lang.Object
   |
   +----com.sun.java.swing.basic.BasicTableHeaderUI

public class BasicTableHeaderUI
extends Object
implements TableHeaderUI, MouseListener, MouseMotionListener, FocusListener
BasicTableHeaderUI implementation


Variable Index

 o fireAction
 o hasPress
 o header
The JTableHeader this UI is hooked up to
 o hitColumn
 o hitColumnIndex
 o isReordering
 o isResizing
 o lastMouseX
 o okToReorder
 o originalWidth
 o realDraggedDistance
 o rendererPane
 o widthDelta
 o zeroInsets
insets

Constructor Index

 o BasicTableHeaderUI()

Method Index

 o createUI(JTableHeader)
 o deinstallUI(JComponent)
 o focusGained(FocusEvent)
 o focusLost(FocusEvent)
 o getHeaderRect(int)
Returns the rectangle containing the header tile at columnIndex.
 o getHeaderRect(Object)
Returns the rectangle containing the header tile at column with an identifier that is equals() to columnIdentifier.
 o getInsets(JComponent)
 o getMaximumSize(JComponent)
 o getMinimumSize(JComponent)
 o getPreferredSize(JComponent)
 o installUI(JComponent)
 o mouseClicked(MouseEvent)
 o mouseDragged(MouseEvent)
 o mouseEntered(MouseEvent)
 o mouseExited(MouseEvent)
 o mouseMoved(MouseEvent)
 o mousePressed(MouseEvent)
 o mouseReleased(MouseEvent)
 o paint(Graphics, JComponent)

Variables

 o header
 protected JTableHeader header
The JTableHeader this UI is hooked up to

 o rendererPane
 protected CellRendererPane rendererPane
 o hitColumnIndex
 protected int hitColumnIndex
 o hitColumn
 protected JTableColumn hitColumn
 o isResizing
 protected boolean isResizing
 o originalWidth
 protected int originalWidth
 o widthDelta
 protected int widthDelta
 o lastMouseX
 protected int lastMouseX
 o realDraggedDistance
 protected int realDraggedDistance
 o isReordering
 protected boolean isReordering
 o okToReorder
 protected boolean okToReorder
 o fireAction
 protected boolean fireAction
 o hasPress
 protected boolean hasPress
 o zeroInsets
 protected static final Insets zeroInsets
insets

Constructors

 o BasicTableHeaderUI
 public BasicTableHeaderUI()

Methods

 o createUI
 public static BasicTableHeaderUI createUI(JTableHeader h)
 o installUI
 public void installUI(JComponent c)
 o deinstallUI
 public void deinstallUI(JComponent c)
 o focusGained
 public void focusGained(FocusEvent e)
 o focusLost
 public void focusLost(FocusEvent e)
 o mouseMoved
 public void mouseMoved(MouseEvent e)
 o mouseDragged
 public void mouseDragged(MouseEvent e)
 o mouseClicked
 public void mouseClicked(MouseEvent e)
 o mousePressed
 public void mousePressed(MouseEvent e)
 o mouseReleased
 public void mouseReleased(MouseEvent e)
 o mouseEntered
 public void mouseEntered(MouseEvent e)
 o mouseExited
 public void mouseExited(MouseEvent e)
 o paint
 public void paint(Graphics g,
                   JComponent c)
 o getMinimumSize
 public Dimension getMinimumSize(JComponent c)
 o getPreferredSize
 public Dimension getPreferredSize(JComponent c)
 o getMaximumSize
 public Dimension getMaximumSize(JComponent c)
 o getHeaderRect
 public Rectangle getHeaderRect(int columnIndex)
Returns the rectangle containing the header tile at columnIndex.

Returns:
the rectangle containing the header tile at columnIndex
Throws: IllegalArgumentException
If columnIndex is out of range
 o getHeaderRect
 public Rectangle getHeaderRect(Object columnIdentifier)
Returns the rectangle containing the header tile at column with an identifier that is equals() to columnIdentifier. If no matching column is found, this method returns an empty rect.

Returns:
the rectangle containing the header tile at column
 o getInsets
 public Insets getInsets(JComponent c)

All Packages  Class Hierarchy  This Package  Previous  Next  Index