|
Swing 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.plaf.ComponentUI | +--javax.swing.plaf.LabelUI | +--javax.swing.plaf.basic.BasicLabelUI | +--javax.swing.plaf.metal.MetalLabelUI
A Windows L&F implementation of LabelUI. This implementation is completely static, i.e. there's only one UIView implementation that's shared by all JLabel objects.
Field Summary | |
protected static MetalLabelUI |
metalLabelUI
|
Fields inherited from class javax.swing.plaf.basic.BasicLabelUI |
labelUI |
Constructor Summary | |
MetalLabelUI()
|
Method Summary | |
static ComponentUI |
createUI(JComponent c)
|
protected void |
paintDisabledText(JLabel l,
java.awt.Graphics g,
java.lang.String s,
int textX,
int textY)
Just paint the text gray (Label.disabledForeground) rather than in the labels foreground color. |
Methods inherited from class javax.swing.plaf.basic.BasicLabelUI |
getMaximumSize,
getMinimumSize,
getPreferredSize,
installComponents,
installDefaults,
installKeyboardActions,
installListeners,
installUI,
layoutCL,
paint,
paintEnabledText,
propertyChange,
uninstallComponents,
uninstallDefaults,
uninstallKeyboardActions,
uninstallListeners,
uninstallUI |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains,
getAccessibleChild,
getAccessibleChildrenCount,
update |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected static MetalLabelUI metalLabelUI
Constructor Detail |
public MetalLabelUI()
Method Detail |
public static ComponentUI createUI(JComponent c)
protected void paintDisabledText(JLabel l, java.awt.Graphics g, java.lang.String s, int textX, int textY)
BasicLabelUI.paint(java.awt.Graphics, javax.swing.JComponent)
,
BasicLabelUI.paintEnabledText(javax.swing.JLabel, java.awt.Graphics, java.lang.String, int, int)
|
Swing 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |