Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
javax.swing.JLabel

Packages that use JLabel
Package Description
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look and feel. 
javax.swing.plaf.metal Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel. 
javax.swing.plaf.synth Synth is a skinnable look and feel in which all painting is delegated. 
javax.swing.table Provides classes and interfaces for dealing with javax.swing.JTable
javax.swing.tree Provides classes and interfaces for dealing with javax.swing.JTree
 

Uses of JLabel in javax.swing
 

Subclasses of JLabel in javax.swing
Modifier and Type Class and Description
 class DefaultListCellRenderer
          Renders an item in a list.
static class DefaultListCellRenderer.UIResource
          A subclass of DefaultListCellRenderer that implements UIResource.
 

Uses of JLabel in javax.swing.plaf.basic
 

Subclasses of JLabel in javax.swing.plaf.basic
Modifier and Type Class and Description
 class BasicComboBoxRenderer
          ComboBox renderer
static class BasicComboBoxRenderer.UIResource
          A subclass of BasicComboBoxRenderer that implements UIResource.
 

Methods in javax.swing.plaf.basic with parameters of type JLabel
Modifier and Type Method and Description
protected  void BasicLabelUI.installComponents(JLabel c)
           
protected  void BasicLabelUI.installDefaults(JLabel c)
           
protected  void BasicLabelUI.installKeyboardActions(JLabel l)
           
protected  void BasicLabelUI.installListeners(JLabel c)
           
protected  String BasicLabelUI.layoutCL(JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR)
          Forwards the call to SwingUtilities.layoutCompoundLabel().
protected  void BasicLabelUI.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 BasicLabelUI.paintEnabledText(JLabel l, Graphics g, String s, int textX, int textY)
          Paint clippedText at textX, textY with the labels foreground color.
protected  void BasicLabelUI.uninstallComponents(JLabel c)
           
protected  void BasicLabelUI.uninstallDefaults(JLabel c)
           
protected  void BasicLabelUI.uninstallKeyboardActions(JLabel c)
           
protected  void BasicLabelUI.uninstallListeners(JLabel c)
           
 

Uses of JLabel in javax.swing.plaf.metal
 

Subclasses of JLabel in javax.swing.plaf.metal
Modifier and Type Class and Description
protected  class MetalFileChooserUI.FileRenderer
           
 class MetalFileChooserUI.FilterComboBoxRenderer
          Render different type sizes and styles.
 

Methods in javax.swing.plaf.metal with parameters of type JLabel
Modifier and Type Method and Description
protected  void MetalLabelUI.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.
 

Uses of JLabel in javax.swing.plaf.synth
 

Methods in javax.swing.plaf.synth with parameters of type JLabel
Modifier and Type Method and Description
protected  void SynthLabelUI.installDefaults(JLabel c)
           
protected  void SynthLabelUI.uninstallDefaults(JLabel c)
           
 

Uses of JLabel in javax.swing.table
 

Subclasses of JLabel in javax.swing.table
Modifier and Type Class and Description
 class DefaultTableCellRenderer
          The standard class for rendering (displaying) individual cells in a JTable.
static class DefaultTableCellRenderer.UIResource
          A subclass of DefaultTableCellRenderer that implements UIResource.
 

Uses of JLabel in javax.swing.tree
 

Subclasses of JLabel in javax.swing.tree
Modifier and Type Class and Description
 class DefaultTreeCellRenderer
          Displays an entry in a tree.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.