com.jgoodies.plaf.plastic
Class PlasticLabelUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.LabelUI
javax.swing.plaf.basic.BasicLabelUI
javax.swing.plaf.metal.MetalLabelUI
com.jgoodies.plaf.plastic.PlasticLabelUI
- All Implemented Interfaces:
- EventListener, PropertyChangeListener
- public final class PlasticLabelUI
- extends MetalLabelUI
The JGoodies Plastic Look&Feel implementation of LabelUI
.
It differs from its superclass in that it can replace ugly Border
s.
- Author:
- Karsten Lentzsch
Methods inherited from class javax.swing.plaf.basic.BasicLabelUI |
getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, layoutCL, paintEnabledText, propertyChange, uninstallComponents, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlasticLabelUI
public PlasticLabelUI()
createUI
public static ComponentUI createUI(JComponent x)
paint
public void paint(Graphics g,
JComponent c)
- Replaces the
Border
if appropriate, then paints.
uninstallDefaults
protected void uninstallDefaults(JLabel label)
- Restores the original
Border
, in case we have replaced it before.
Copyright © 2001-2004 JGoodies Karsten Lentzsch. All Rights Reserved.