|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.plaf.ComponentUI | +--javax.swing.plaf.TableHeaderUI | +--javax.swing.plaf.basic.BasicTableHeaderUI
BasicTableHeaderUI implementation
Inner Class Summary | |
class |
BasicTableHeaderUI.MouseInputHandler
This inner class is marked "public" due to a compiler bug. |
Field Summary | |
protected JTableHeader |
header
The JTableHeader that is delegating the painting to this UI. |
protected MouseInputListener |
mouseInputListener
|
protected CellRendererPane |
rendererPane
|
Constructor Summary | |
BasicTableHeaderUI()
|
Method Summary | |
protected MouseInputListener |
createMouseInputListener()
Creates the mouse listener for the JTable. |
static ComponentUI |
createUI(JComponent h)
|
Dimension |
getMaximumSize(JComponent c)
Return the maximum size of the header. |
Dimension |
getMinimumSize(JComponent c)
Return the minimum size of the header. |
Dimension |
getPreferredSize(JComponent c)
Return the preferred size of the header. |
protected void |
installDefaults()
Initialize JTableHeader properties, e.g. |
protected void |
installKeyboardActions()
Register all keyboard actions on the JTableHeader. |
protected void |
installListeners()
Attaches listeners to the JTableHeader. |
void |
installUI(JComponent c)
|
void |
paint(Graphics g,
JComponent c)
|
protected void |
uninstallDefaults()
|
protected void |
uninstallKeyboardActions()
|
protected void |
uninstallListeners()
|
void |
uninstallUI(JComponent c)
|
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected JTableHeader header
protected CellRendererPane rendererPane
protected MouseInputListener mouseInputListener
Constructor Detail |
public BasicTableHeaderUI()
Method Detail |
protected MouseInputListener createMouseInputListener()
public static ComponentUI createUI(JComponent h)
public void installUI(JComponent c)
installUI
in class ComponentUI
protected void installDefaults()
installUI(javax.swing.JComponent)
protected void installListeners()
protected void installKeyboardActions()
public void uninstallUI(JComponent c)
uninstallUI
in class ComponentUI
protected void uninstallDefaults()
protected void uninstallListeners()
protected void uninstallKeyboardActions()
public void paint(Graphics g, JComponent c)
paint
in class ComponentUI
public Dimension getMinimumSize(JComponent c)
getMinimumSize
in class ComponentUI
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class ComponentUI
public Dimension getMaximumSize(JComponent c)
getMaximumSize
in class ComponentUI
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.