public class DarkLabelUI extends BasicLabelUI implements PropertyChangeListener
Modifier and Type | Field and Description |
---|---|
protected static DarkLabelUI |
darkLabelUI |
protected Rectangle |
paintIconR |
protected Rectangle |
paintTextR |
labelUI
Constructor and Description |
---|
DarkLabelUI() |
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent c) |
protected Icon |
getIcon(JLabel label) |
protected boolean |
hasFocusInCell(JLabel l) |
protected void |
installDefaults(JLabel c) |
void |
installUI(JComponent c) |
protected String |
layout(JLabel label,
FontMetrics fm,
int width,
int height) |
void |
paint(Graphics g,
JComponent c) |
protected void |
paintDisabledText(JLabel l,
Graphics g,
String s,
int textX,
int textY) |
protected void |
paintEnabledText(JLabel l,
Graphics g,
String s,
int textX,
int textY) |
void |
propertyChange(PropertyChangeEvent e) |
getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installKeyboardActions, installListeners, layoutCL, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
protected static final DarkLabelUI darkLabelUI
protected final Rectangle paintIconR
protected final Rectangle paintTextR
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI
in class BasicLabelUI
protected void installDefaults(JLabel c)
installDefaults
in class BasicLabelUI
public void paint(Graphics g, JComponent c)
paint
in class BasicLabelUI
protected void paintEnabledText(JLabel l, Graphics g, String s, int textX, int textY)
paintEnabledText
in class BasicLabelUI
protected boolean hasFocusInCell(JLabel l)
protected void paintDisabledText(JLabel l, Graphics g, String s, int textX, int textY)
paintDisabledText
in class BasicLabelUI
protected String layout(JLabel label, FontMetrics fm, int width, int height)
public void propertyChange(PropertyChangeEvent e)
propertyChange
in interface PropertyChangeListener
propertyChange
in class BasicLabelUI