public class

WindowsLabelUI

extends BasicLabelUI
java.lang.Object
   ↳ javax.swing.plaf.ComponentUI
     ↳ javax.swing.plaf.LabelUI
       ↳ javax.swing.plaf.basic.BasicLabelUI
         ↳ com.sun.java.swing.plaf.windows.WindowsLabelUI

Class Overview

Windows rendition of the component.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.

Summary

[Expand]
Inherited Fields
From class javax.swing.plaf.basic.BasicLabelUI
Public Constructors
WindowsLabelUI()
Public Methods
static ComponentUI createUI(JComponent c)
Protected Methods
void paintDisabledText(JLabel l, Graphics g, String s, int textX, int textY)
Paint clippedText at textX, textY with background.lighter() and then shifted down and to the right by one pixel with background.darker().
void paintEnabledText(JLabel l, Graphics g, String s, int textX, int textY)
Paint clippedText at textX, textY with the labels foreground color.
[Expand]
Inherited Methods
From class javax.swing.plaf.basic.BasicLabelUI
From class javax.swing.plaf.ComponentUI
From class java.lang.Object
From interface java.beans.PropertyChangeListener

Public Constructors

public WindowsLabelUI ()

Public Methods

public static ComponentUI createUI (JComponent c)

Protected Methods

protected void paintDisabledText (JLabel l, Graphics g, String s, int textX, int textY)

Paint clippedText at textX, textY with background.lighter() and then shifted down and to the right by one pixel with background.darker().

protected void paintEnabledText (JLabel l, Graphics g, String s, int textX, int textY)

Paint clippedText at textX, textY with the labels foreground color.