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.table Provides classes and interfaces for dealing withjavax.swing.JTable.javax.swing.tree Provides classes and interfaces for dealing withjavax.swing.JTree. -
-
Uses of JLabel in javax.swing
Subclasses of JLabel in javax.swing Modifier and Type Class Description classDefaultListCellRendererRenders an item in a list.static classDefaultListCellRenderer.UIResourceA 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 Description classBasicComboBoxRendererComboBox rendererstatic classBasicComboBoxRenderer.UIResourceA subclass of BasicComboBoxRenderer that implements UIResource.Methods in javax.swing.plaf.basic with parameters of type JLabel Modifier and Type Method Description protected voidBasicLabelUI. installComponents(JLabel c)Registers components.protected voidBasicLabelUI. installDefaults(JLabel c)Installs default properties.protected voidBasicLabelUI. installKeyboardActions(JLabel l)Registers keyboard actions.protected voidBasicLabelUI. installListeners(JLabel c)Registers listeners.protected StringBasicLabelUI. layoutCL(JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR)Forwards the call to SwingUtilities.layoutCompoundLabel().protected voidBasicLabelUI. 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 voidBasicLabelUI. paintEnabledText(JLabel l, Graphics g, String s, int textX, int textY)Paint clippedText at textX, textY with the labels foreground color.protected voidBasicLabelUI. uninstallComponents(JLabel c)Unregisters components.protected voidBasicLabelUI. uninstallDefaults(JLabel c)Uninstalls default properties.protected voidBasicLabelUI. uninstallKeyboardActions(JLabel c)Unregisters keyboard actions.protected voidBasicLabelUI. uninstallListeners(JLabel c)Unregisters listeners. -
Uses of JLabel in javax.swing.plaf.metal
Subclasses of JLabel in javax.swing.plaf.metal Modifier and Type Class Description protected classMetalFileChooserUI.FileRendererDeprecated.As of JDK version 9.classMetalFileChooserUI.FilterComboBoxRendererRender different type sizes and styles.Methods in javax.swing.plaf.metal with parameters of type JLabel Modifier and Type Method Description protected voidMetalLabelUI. 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.table
Subclasses of JLabel in javax.swing.table Modifier and Type Class Description classDefaultTableCellRendererThe standard class for rendering (displaying) individual cells in aJTable.static classDefaultTableCellRenderer.UIResourceA subclass ofDefaultTableCellRendererthat implementsUIResource. -
Uses of JLabel in javax.swing.tree
Subclasses of JLabel in javax.swing.tree Modifier and Type Class Description classDefaultTreeCellRendererDisplays an entry in a tree.
-