|
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.higrid.HiGridUI
HiGridUI
controls PLAF changes for HiGrid. Affected
properties are: header background, foreground, font and border; record
background, foreground, font and border; selection color.
Five special CellStyleModel
objects are modified for PLAF: DefaultHeaderCellStyle
,
DefaultRecordCellStyle
, DefaultFooterCellStyle
,
DefaultBeforeDetailsCellStyle
and
DefaultAfterDetailsCellStyle
.
Modifying these two styles or basing another style on these, will cause
all PLAF changes to continue for properties that weren't
modified. HiGridUI
uses UIResource objects in order to
distinguish between PLAF-set properties (which change when the plaf
changes) and user-set properties (which don't change).
HiGrid.getHeaderCellStyle()
,
HiGrid.getRecordCellStyle()
,
HiGrid.getFooterCellStyle()
,
HiGrid.getBeforeDetailsCellStyle()
,
HiGrid.getAfterDetailsCellStyle()
Constructor Summary | |
HiGridUI()
|
Method Summary | |
static ComponentUI |
createUI(JComponent c)
Returns a HiGridUI instance. |
protected void |
installDefaults(JComponent c)
Changes the border, font and colors (background, foreground, focus and selection) for HiGrid 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 HiGridUI()
Method Detail |
public void installUI(JComponent c)
installUI
in class ComponentUI
protected void installDefaults(JComponent c)
public static ComponentUI createUI(JComponent c)
HiGridUI
instance.
public 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 |