public class SuperLabelUI
extends javax.swing.plaf.basic.BasicLabelUI
| Modifier and Type | Class and Description |
|---|---|
static class |
SuperLabelUI.Hyperlink
Class to hold the location and token for a hyperlink bounds.
|
| Constructor and Description |
|---|
SuperLabelUI() |
| Modifier and Type | Method and Description |
|---|---|
static SuperLabelUI |
createUI(javax.swing.JLabel label) |
SuperLabelUI.Hyperlink |
getActiveHyperlink() |
java.util.List<SuperLabelUI.Hyperlink> |
getHyperlinks() |
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent jComponent) |
void |
installUI(javax.swing.JComponent c) |
void |
paint(java.awt.Graphics graphics,
javax.swing.JComponent jComponent) |
java.awt.Dimension |
paintFull(java.awt.Graphics2D g,
SuperLabel label,
boolean paint,
int width)
Layout the text fully on the given graphics, wrapping at the given width.
|
void |
setActiveHyperlink(SuperLabelUI.Hyperlink activeHyperlink) |
void |
uninstallUI(javax.swing.JComponent c) |
createUI, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, installComponents, installDefaults, installKeyboardActions, installListeners, layoutCL, paintDisabledText, paintEnabledText, propertyChange, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListenerspublic static SuperLabelUI createUI(javax.swing.JLabel label)
public void installUI(javax.swing.JComponent c)
installUI in class javax.swing.plaf.basic.BasicLabelUIpublic void uninstallUI(javax.swing.JComponent c)
uninstallUI in class javax.swing.plaf.basic.BasicLabelUIpublic void setActiveHyperlink(SuperLabelUI.Hyperlink activeHyperlink)
public SuperLabelUI.Hyperlink getActiveHyperlink()
public java.util.List<SuperLabelUI.Hyperlink> getHyperlinks()
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 paintFull(java.awt.Graphics2D g,
SuperLabel label,
boolean paint,
int width)
The text can also be optionally painted.
g - paint - width - label -