This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.swing.plaf.metal
class MetalLabelUI
- All Implemented Interfaces:
- PropertyChangeListener
public class MetalLabelUI
extends BasicLabelUI
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.
Method Summary |
static ComponentUI |
|
protected void |
Just paint the text gray (Label.disabledForeground) rather than
in the labels foreground color.
|
Methods inherited from class javax.swing.plaf.basic.BasicLabelUI |
createUI, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, layoutCL, paint, paintDisabledText, paintEnabledText, propertyChange, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
metalLabelUI
protected static MetalLabelUI metalLabelUI
-
The default
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".
MetalLabelUI
public MetalLabelUI()
-
createUI
public static ComponentUI createUI(JComponent c)
-
- Parameters:
c
paintDisabledText
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.
- Overrides:
paintDisabledText
in class BasicLabelUI
- Parameters:
l
g
s
textX
textY
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.