Class SubstanceLabelUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.LabelUI
-
- javax.swing.plaf.basic.BasicLabelUI
-
- org.pushingpixels.substance.internal.ui.SubstanceLabelUI
-
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
public class SubstanceLabelUI extends BasicLabelUI
UI for labels in Substance look and feel.
-
-
Field Summary
Fields Modifier and Type Field Description protected PropertyChangeListener
substancePropertyChangeListener
Property change listener.-
Fields inherited from class javax.swing.plaf.basic.BasicLabelUI
labelUI
-
-
Constructor Summary
Constructors Constructor Description SubstanceLabelUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentUI
createUI(JComponent comp)
protected void
installListeners(JLabel c)
void
paint(Graphics g, JComponent c)
protected void
uninstallListeners(JLabel c)
void
update(Graphics g, JComponent c)
-
Methods inherited from class javax.swing.plaf.basic.BasicLabelUI
getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installUI, layoutCL, paintDisabledText, paintEnabledText, propertyChange, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallUI
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
-
-
-
-
Field Detail
-
substancePropertyChangeListener
protected PropertyChangeListener substancePropertyChangeListener
Property change listener.
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent comp)
-
installListeners
protected void installListeners(JLabel c)
- Overrides:
installListeners
in classBasicLabelUI
-
uninstallListeners
protected void uninstallListeners(JLabel c)
- Overrides:
uninstallListeners
in classBasicLabelUI
-
paint
public void paint(Graphics g, JComponent c)
- Overrides:
paint
in classBasicLabelUI
-
update
public void update(Graphics g, JComponent c)
- Overrides:
update
in classComponentUI
-
-