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 SubstanceLabelUI

    java.lang.Object
      javax.swing.plaf.ComponentUI
          javax.swing.plaf.LabelUI
              javax.swing.plaf.basic.BasicLabelUI
                  org.jvnet.substance.SubstanceLabelUI

All Implemented Interfaces:
  java.beans.PropertyChangeListener, java.util.EventListener

    public class SubstanceLabelUI

extends javax.swing.plaf.basic.BasicLabelUI

UI for labels in Substance look and feel.

Author:
  Kirill Grouchnikov

Field Summary
`protected java.beans.PropertyChangeListener` | `substancePropertyChangeListener` Property change listener.

Fields inherited from class javax.swing.plaf.basic.BasicLabelUI
`labelUI`

Constructor Summary
`SubstanceLabelUI()` Creates a new UI delegate for labels.

Method Summary
`static javax.swing.plaf.ComponentUI` | `createUI(javax.swing.JComponent comp)`
`protected void` | `installDefaults(javax.swing.JLabel c)`
`protected void` | `installListeners(javax.swing.JLabel c)`
`void` | `paint(java.awt.Graphics g, javax.swing.JComponent c)`
`protected void` | `replaceThemedIcon(javax.swing.JLabel label)` Replaces the label icon with a themed version of that icon.
`protected void` | `uninstallDefaults(javax.swing.JLabel c)`
`protected void` | `uninstallListeners(javax.swing.JLabel c)`
`void` | `update(java.awt.Graphics g, javax.swing.JComponent c)`

Methods inherited from class javax.swing.plaf.basic.BasicLabelUI
`getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installKeyboardActions, installUI, layoutCL, paintDisabledText, paintEnabledText, propertyChange, uninstallComponents, uninstallKeyboardActions, uninstallUI`

Methods inherited from class javax.swing.plaf.ComponentUI
`contains, getAccessibleChild, getAccessibleChildrenCount`

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

Field Detail

### substancePropertyChangeListener

    protected java.beans.PropertyChangeListener substancePropertyChangeListener

  Property change listener.

Constructor Detail

### SubstanceLabelUI

    public SubstanceLabelUI()

  Creates a new UI delegate for labels.

Method Detail

### createUI

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

### replaceThemedIcon

    protected void replaceThemedIcon(javax.swing.JLabel label)

  Replaces the label icon with a themed version of that icon.

  Parameters:
    `label` - Label.

### installDefaults

    protected void installDefaults(javax.swing.JLabel c)

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

### uninstallDefaults

    protected void uninstallDefaults(javax.swing.JLabel c)

  Overrides:
    `uninstallDefaults` in class `javax.swing.plaf.basic.BasicLabelUI`

### installListeners

    protected void installListeners(javax.swing.JLabel c)

  Overrides:
    `installListeners` in class `javax.swing.plaf.basic.BasicLabelUI`

### uninstallListeners

    protected void uninstallListeners(javax.swing.JLabel c)

  Overrides:
    `uninstallListeners` in class `javax.swing.plaf.basic.BasicLabelUI`

### paint

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

  Overrides:
    `paint` in class `javax.swing.plaf.basic.BasicLabelUI`

### update

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

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

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

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