JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.table
Class JCTableUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--com.klg.jclass.table.JCTableUI

public class JCTableUI
extends ComponentUI

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).

See Also:
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

JCTableUI

public JCTableUI()
Method Detail

installUI

public void installUI(JComponent c)
Installs the default settings for the current look and feel.

Overrides:
installUI in class ComponentUI
Parameters:
c -

installDefaults

protected void installDefaults(JComponent c)
Changes the border, font, and colors (background, foreground, focus, and selection) for table given the current look and feel.

Parameters:
c -

createUI

public static ComponentUI createUI(JComponent c)
Returns a JCTableUI instance.

Parameters:
c -
Returns:
JCTableUI instance

uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class ComponentUI

Copyright © 2004 Quest Software Inc..
All rights reserved.