public class SuperLabelUI
extends javax.swing.plaf.basic.BasicLabelUI
| Constructor and Description | 
|---|
SuperLabelUI()  | 
| Modifier and Type | Method and Description | 
|---|---|
static SuperLabelUI | 
createUI(javax.swing.JLabel label)  | 
java.awt.Dimension | 
getPreferredSize(javax.swing.JComponent jComponent)  | 
void | 
paint(java.awt.Graphics graphics,
     javax.swing.JComponent jComponent)  | 
java.awt.Dimension | 
sizeOrPaint(java.awt.Graphics2D g,
           boolean paint,
           int width,
           SuperLabel label)
Layout the text fully on the given graphics, wrapping at the given width. 
 | 
createUI, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, layoutCL, paintDisabledText, paintEnabledText, propertyChange, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIpublic static SuperLabelUI createUI(javax.swing.JLabel label)
public java.awt.Dimension getPreferredSize(javax.swing.JComponent jComponent)
getPreferredSize in class javax.swing.plaf.basic.BasicLabelUIpublic void paint(java.awt.Graphics graphics,
                  javax.swing.JComponent jComponent)
paint in class javax.swing.plaf.basic.BasicLabelUIpublic java.awt.Dimension sizeOrPaint(java.awt.Graphics2D g,
                                      boolean paint,
                                      int width,
                                      SuperLabel label)
The text can also be optionally painted.
g - paint - width - label -