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
-
fireAction
-
-
hasPress
-
-
header
- The JTableHeader this UI is hooked up to
-
hitColumn
-
-
hitColumnIndex
-
-
isReordering
-
-
isResizing
-
-
lastMouseX
-
-
okToReorder
-
-
originalWidth
-
-
realDraggedDistance
-
-
rendererPane
-
-
widthDelta
-
-
zeroInsets
- insets
-
BasicTableHeaderUI()
-
-
createUI(JTableHeader)
-
-
deinstallUI(JComponent)
-
-
focusGained(FocusEvent)
-
-
focusLost(FocusEvent)
-
-
getHeaderRect(int)
- Returns the rectangle containing the header tile at columnIndex.
-
getHeaderRect(Object)
- Returns the rectangle containing the header tile at column with
an identifier that is equals() to columnIdentifier.
-
getInsets(JComponent)
-
-
getMaximumSize(JComponent)
-
-
getMinimumSize(JComponent)
-
-
getPreferredSize(JComponent)
-
-
installUI(JComponent)
-
-
mouseClicked(MouseEvent)
-
-
mouseDragged(MouseEvent)
-
-
mouseEntered(MouseEvent)
-
-
mouseExited(MouseEvent)
-
-
mouseMoved(MouseEvent)
-
-
mousePressed(MouseEvent)
-
-
mouseReleased(MouseEvent)
-
-
paint(Graphics, JComponent)
-
header
protected JTableHeader header
- The JTableHeader this UI is hooked up to
rendererPane
protected CellRendererPane rendererPane
hitColumnIndex
protected int hitColumnIndex
hitColumn
protected JTableColumn hitColumn
isResizing
protected boolean isResizing
originalWidth
protected int originalWidth
widthDelta
protected int widthDelta
lastMouseX
protected int lastMouseX
realDraggedDistance
protected int realDraggedDistance
isReordering
protected boolean isReordering
okToReorder
protected boolean okToReorder
fireAction
protected boolean fireAction
hasPress
protected boolean hasPress
zeroInsets
protected static final Insets zeroInsets
- insets
BasicTableHeaderUI
public BasicTableHeaderUI()
createUI
public static BasicTableHeaderUI createUI(JTableHeader h)
installUI
public void installUI(JComponent c)
deinstallUI
public void deinstallUI(JComponent c)
focusGained
public void focusGained(FocusEvent e)
focusLost
public void focusLost(FocusEvent e)
mouseMoved
public void mouseMoved(MouseEvent e)
mouseDragged
public void mouseDragged(MouseEvent e)
mouseClicked
public void mouseClicked(MouseEvent e)
mousePressed
public void mousePressed(MouseEvent e)
mouseReleased
public void mouseReleased(MouseEvent e)
mouseEntered
public void mouseEntered(MouseEvent e)
mouseExited
public void mouseExited(MouseEvent e)
paint
public void paint(Graphics g,
JComponent c)
getMinimumSize
public Dimension getMinimumSize(JComponent c)
getPreferredSize
public Dimension getPreferredSize(JComponent c)
getMaximumSize
public Dimension getMaximumSize(JComponent c)
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
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
getInsets
public Insets getInsets(JComponent c)
All Packages Class Hierarchy This Package Previous Next Index