com.jidesoft.plaf.aqua
Class AquaCellStyleTableHeaderUI
java.lang.Object
AquaTableHeaderUI
com.jidesoft.plaf.aqua.AquaCellStyleTableHeaderUI
- All Implemented Interfaces:
- DelegateTableHeaderUI
- Direct Known Subclasses:
- AquaSortableTableHeaderUI
public class AquaCellStyleTableHeaderUI
- extends AquaTableHeaderUI
- implements DelegateTableHeaderUI
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_delegate
protected TableHeaderUIDelegate _delegate
AquaCellStyleTableHeaderUI
public AquaCellStyleTableHeaderUI()
createUI
public static ComponentUI createUI(JComponent h)
installDefaults
public void installDefaults()
uninstallDefaults
public void uninstallDefaults()
paint
public void paint(Graphics g,
JComponent c)
getPreferredSize
public Dimension getPreferredSize(JComponent c)
createDelegate
protected TableHeaderUIDelegate createDelegate()
- Creates a UI delegate instance to paint the header.
It will first try to get the class name from UIDefaults. You can custmoize the UI delegate class by setting class
name to the UIDefaults with corresponding key. If it's not configured,
createDefaultDelegate()
will be
used to create the UI delegate instance.
- Returns:
- the UI delegate instance
createDefaultDelegate
protected TableHeaderUIDelegate createDefaultDelegate()
- Creates the default UI delegate instance to paint the header.
- Returns:
- the default UI delegate instance
getHeaderUIDelegate
public TableHeaderUIDelegate getHeaderUIDelegate()
- Description copied from interface:
DelegateTableHeaderUI
- Gets the header UI delegate instance.
- Specified by:
getHeaderUIDelegate
in interface DelegateTableHeaderUI
- Returns:
- the header UI delegate instance.
getRolloverColumn
public int getRolloverColumn()
- Description copied from interface:
DelegateTableHeaderUI
- Gets the rollover column.
- Specified by:
getRolloverColumn
in interface DelegateTableHeaderUI
- Returns:
- the rollover column index. -1 if the mouse is not over the column or is dragging on the column.
setRolloverColumn
public void setRolloverColumn(int rolloverColumn)
- Description copied from interface:
DelegateTableHeaderUI
- Sets the rollover column.
- Specified by:
setRolloverColumn
in interface DelegateTableHeaderUI
- Parameters:
rolloverColumn
- the rollover column index
createMouseInputListener
protected MouseInputListener createMouseInputListener()