Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jvnet.substance
Class SubstancePanelUI

    java.lang.Object
      javax.swing.plaf.ComponentUI
          javax.swing.plaf.PanelUI
              javax.swing.plaf.basic.BasicPanelUI
                  org.jvnet.substance.SubstancePanelUI

    public class SubstancePanelUI

extends javax.swing.plaf.basic.BasicPanelUI

UI for panels in Substance look and feel.

Author:
  Kirill Grouchnikov

Constructor Summary
`SubstancePanelUI()`

Method Summary
`static javax.swing.plaf.ComponentUI` | `createUI(javax.swing.JComponent comp)`
`protected void` | `installDefaults(javax.swing.JPanel p)`
`protected boolean` | `toPaintBackground(javax.swing.JComponent c)` Returns indication whether the panel background should be filled.
`void` | `update(java.awt.Graphics g, javax.swing.JComponent c)`

Methods inherited from class javax.swing.plaf.basic.BasicPanelUI
`getBaseline, getBaselineResizeBehavior, installUI, uninstallDefaults, uninstallUI`

Methods inherited from class javax.swing.plaf.ComponentUI
`contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SubstancePanelUI

    public SubstancePanelUI()

Method Detail

### createUI

    public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)

### installDefaults

    protected void installDefaults(javax.swing.JPanel p)

  Overrides:
    `installDefaults` in class `javax.swing.plaf.basic.BasicPanelUI`

### update

    public void update(java.awt.Graphics g,
                       javax.swing.JComponent c)

  Overrides:
    `update` in class `javax.swing.plaf.ComponentUI`

### toPaintBackground

    protected boolean toPaintBackground(javax.swing.JComponent c)

  Returns indication whether the panel background should be filled.

  Parameters:
    `c` - Component (should be `JPanel`).
  Returns:
    `true` if the panel background should be filled with the background color, `false` otherwise.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD