|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
jdbreport.grid.TableRowHeaderUI
jdbreport.grid.BasicTableRowHeaderUI
public class BasicTableRowHeaderUI
| Nested Class Summary | |
|---|---|
class |
BasicTableRowHeaderUI.MouseInputHandler
This inner class is marked "public" due to a compiler bug. |
| Field Summary | |
|---|---|
protected RowHeader |
header
The RowHeader that is delegating the painting to this UI. |
protected MouseInputListener |
mouseInputListener
|
protected CellRendererPane |
rendererPane
|
| Constructor Summary | |
|---|---|
BasicTableRowHeaderUI()
|
|
| 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 RowHeader properties, e.g. font, foreground, and background. |
protected void |
installKeyboardActions()
Register all keyboard actions on the RowHeader. |
protected void |
installListeners()
Attaches listeners to the RowHeader. |
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, getBaseline, getBaselineResizeBehavior, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected RowHeader header
protected CellRendererPane rendererPane
protected MouseInputListener mouseInputListener
| Constructor Detail |
|---|
public BasicTableRowHeaderUI()
| Method Detail |
|---|
protected MouseInputListener createMouseInputListener()
public static ComponentUI createUI(JComponent h)
public void installUI(JComponent c)
installUI in class ComponentUIprotected void installDefaults()
installUI(javax.swing.JComponent)protected void installListeners()
protected void installKeyboardActions()
public void uninstallUI(JComponent c)
uninstallUI in class ComponentUIprotected void uninstallDefaults()
protected void uninstallListeners()
protected void uninstallKeyboardActions()
public void paint(Graphics g,
JComponent c)
paint in class ComponentUIpublic Dimension getMinimumSize(JComponent c)
getMinimumSize in class ComponentUIpublic Dimension getPreferredSize(JComponent c)
getPreferredSize in class ComponentUIpublic Dimension getMaximumSize(JComponent c)
getMaximumSize in class ComponentUI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||