Class RadianceExoLabelUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- org.pushingpixels.radiance.component.internal.theming.common.ui.RadianceExoLabelUI
-
public class RadianceExoLabelUI extends javax.swing.plaf.ComponentUIUI forJExoLabelcomponents in Radiance look and feel.
-
-
Field Summary
Fields Modifier and Type Field Description private RadianceIconiconprivate java.beans.PropertyChangeListenerpropertyChangeListenerprivate javax.swing.JLabelsingleLineLabel
-
Constructor Summary
Constructors Modifier Constructor Description protectedRadianceExoLabelUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent comp)private static java.awt.DimensiongetSingleLineNoPrototypePreferredDimension(JExoLabel label)private static java.awt.DimensiongetSingleLinePreferredDimension(JExoLabel label)voidinstallUI(javax.swing.JComponent c)voidpaint(java.awt.Graphics g, javax.swing.JComponent c)voiduninstallUI(javax.swing.JComponent c)voidupdate(java.awt.Graphics g, javax.swing.JComponent c)
-
-
-
Field Detail
-
icon
private RadianceIcon icon
-
singleLineLabel
private javax.swing.JLabel singleLineLabel
-
propertyChangeListener
private java.beans.PropertyChangeListener propertyChangeListener
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
-
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUIin classjavax.swing.plaf.ComponentUI
-
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUIin classjavax.swing.plaf.ComponentUI
-
getSingleLinePreferredDimension
private static java.awt.Dimension getSingleLinePreferredDimension(JExoLabel label)
-
getSingleLineNoPrototypePreferredDimension
private static java.awt.Dimension getSingleLineNoPrototypePreferredDimension(JExoLabel label)
-
paint
public void paint(java.awt.Graphics g, javax.swing.JComponent c)- Overrides:
paintin classjavax.swing.plaf.ComponentUI
-
update
public void update(java.awt.Graphics g, javax.swing.JComponent c)- Overrides:
updatein classjavax.swing.plaf.ComponentUI
-
-