|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.plaf.ComponentUI | +--com.klg.jclass.table.JCTableUI
JCTableUI
controls the pluggable look and feel (PLAF) changes
for JCTable
. Affected properties are: label background,
foreground, font and border; cell background, foreground, font and border;
selection color; and focus indicator. Two special CellStyleModel
objects are modified for PLAF: DefaultLabelStyle
and
DefaultCellStyle
.
When modifying these two styles or basing another style on these,
all PLAF changes will continue for properties that weren't
modified. JCTableUI
uses UIResource
objects in
order to distinguish between PLAF-set properties (which change when the PLAF
changes) and user-set properties (which do not change).
JCTable.getDefaultLabelStyle()
,
JCTable.getDefaultCellStyle()
Constructor Summary | |
JCTableUI()
|
Method Summary | |
static ComponentUI |
createUI(JComponent c)
Returns a JCTableUI instance. |
protected void |
installDefaults(JComponent c)
Changes the border, font, and colors (background, foreground, focus, and selection) for table given the current look and feel. |
void |
installUI(JComponent c)
Installs the default settings for the current look and feel. |
void |
uninstallUI(JComponent c)
|
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JCTableUI()
Method Detail |
public void installUI(JComponent c)
installUI
in class ComponentUI
c
- protected void installDefaults(JComponent c)
c
- public static ComponentUI createUI(JComponent c)
JCTableUI
instance.
c
-
JCTableUI
instancepublic void uninstallUI(JComponent c)
uninstallUI
in class ComponentUI
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |