|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.TableHeaderUI
com.birosoft.liquid.LiquidTableHeaderUI
public class LiquidTableHeaderUI
BasicTableHeaderUI implementation
Nested Class Summary | |
---|---|
class |
LiquidTableHeaderUI.MouseInputHandler
This inner class is marked "public" due to a compiler bug. |
Field Summary | |
---|---|
protected javax.swing.table.JTableHeader |
header
The JTableHeader that is delegating the painting to this UI. |
protected static int |
HEADER_HEIGHT
|
protected javax.swing.event.MouseInputListener |
mouseInputListener
|
protected javax.swing.CellRendererPane |
rendererPane
|
Constructor Summary | |
---|---|
LiquidTableHeaderUI()
|
Method Summary | |
---|---|
protected javax.swing.event.MouseInputListener |
createMouseInputListener()
Creates the mouse listener for the JTable. |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent h)
|
java.awt.Dimension |
getMaximumSize(javax.swing.JComponent c)
Return the maximum size of the header. |
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c)
Return the minimum size of the header. |
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
Return the preferred size of the header. |
Skin |
getSkin()
|
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(javax.swing.JComponent c)
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
|
protected void |
uninstallDefaults()
|
protected void |
uninstallKeyboardActions()
|
protected void |
uninstallListeners()
|
void |
uninstallUI(javax.swing.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 static final int HEADER_HEIGHT
protected javax.swing.table.JTableHeader header
protected javax.swing.CellRendererPane rendererPane
protected javax.swing.event.MouseInputListener mouseInputListener
Constructor Detail |
---|
public LiquidTableHeaderUI()
Method Detail |
---|
protected javax.swing.event.MouseInputListener createMouseInputListener()
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent h)
public void installUI(javax.swing.JComponent c)
installUI
in class javax.swing.plaf.ComponentUI
protected void installDefaults()
installUI(javax.swing.JComponent)
protected void installListeners()
protected void installKeyboardActions()
public void uninstallUI(javax.swing.JComponent c)
uninstallUI
in class javax.swing.plaf.ComponentUI
protected void uninstallDefaults()
protected void uninstallListeners()
protected void uninstallKeyboardActions()
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint
in class javax.swing.plaf.ComponentUI
public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
getMinimumSize
in class javax.swing.plaf.ComponentUI
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize
in class javax.swing.plaf.ComponentUI
public java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
getMaximumSize
in class javax.swing.plaf.ComponentUI
public Skin getSkin()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |