All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.basic.BasicTableHeaderUI
java.lang.Object
|
+----java.awt.swing.plaf.ComponentUI
|
+----java.awt.swing.plaf.TableHeaderUI
|
+----java.awt.swing.basic.BasicTableHeaderUI
- public class BasicTableHeaderUI
- extends TableHeaderUI
- implements MouseListener, MouseMotionListener, FocusListener, Serializable
BasicTableHeaderUI implementation
fireAction-
hasPress-
header- The JTableHeader this UI is hooked up to
hitColumn-
hitColumnIndex-
isReordering-
isResizing-
lastMouseX-
okToReorder-
originalWidth-
realDraggedDistance-
rendererPane-
widthDelta-
BasicTableHeaderUI()
-
createUI(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.
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)
-
uninstallUI(JComponent)
-
header
protected JTableHeader header
- The JTableHeader this UI is hooked up to
rendererPane
protected transient CellRendererPane rendererPane
hitColumnIndex
protected transient int hitColumnIndex
hitColumn
protected transient TableColumn hitColumn
isResizing
protected transient boolean isResizing
originalWidth
protected transient int originalWidth
widthDelta
protected transient int widthDelta
lastMouseX
protected transient int lastMouseX
realDraggedDistance
protected transient int realDraggedDistance
isReordering
protected transient boolean isReordering
okToReorder
protected transient boolean okToReorder
fireAction
protected transient boolean fireAction
hasPress
protected transient boolean hasPress
BasicTableHeaderUI
public BasicTableHeaderUI()
createUI
public static ComponentUI createUI(JComponent h)
installUI
public void installUI(JComponent c)
- Overrides:
- installUI in class ComponentUI
uninstallUI
public void uninstallUI(JComponent c)
- Overrides:
- uninstallUI in class ComponentUI
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)
- Overrides:
- paint in class ComponentUI
getMinimumSize
public Dimension getMinimumSize(JComponent c)
- Overrides:
- getMinimumSize in class ComponentUI
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- Overrides:
- getPreferredSize in class ComponentUI
getMaximumSize
public Dimension getMaximumSize(JComponent c)
- Overrides:
- getMaximumSize in class ComponentUI
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
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature