|
Préférences
Moteurs de recherche
|
|||||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.swing.plaf.metal
|
Field Summary | |
---|---|
protected static MetalLabelUI |
metalLabelUI
The default MetalLabelUI instance. |
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,
Graphics g,
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 |
---|
getBaseline, getBaselineResizeBehavior, 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
MetalLabelUI
instance. This field might
not be used. To change the default instance use a subclass which
overrides the createUI
method, and place that class
name in defaults table under the key "LabelUI".
Constructor Detail |
---|
public MetalLabelUI()
Method Detail |
---|
public static ComponentUI createUI(JComponent c)
protected void paintDisabledText(JLabel l, Graphics g, String s, int textX, int textY)
paintDisabledText
in class BasicLabelUI