static
ComponentUI
|
createUI(JComponent c)
|
int
|
getBaseline(JComponent c, int width, int height)
Returns the baseline.
|
Component.BaselineResizeBehavior
|
getBaselineResizeBehavior(JComponent c)
Returns an enum indicating how the baseline of the component
changes as the size changes.
|
Dimension
|
getMaximumSize(JComponent c)
Returns the specified component's maximum size appropriate for
the look and feel.
|
Dimension
|
getMinimumSize(JComponent c)
Returns the specified component's minimum size appropriate for
the look and feel.
|
Dimension
|
getPreferredSize(JComponent c)
Returns the specified component's preferred size appropriate for
the look and feel.
|
void
|
installComponents(JLabel c)
|
void
|
installDefaults(JLabel c)
|
void
|
installKeyboardActions(JLabel l)
|
void
|
installListeners(JLabel c)
|
void
|
installUI(JComponent c)
Configures the specified component appropriate for the look and feel.
|
String
|
layoutCL(JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR)
Forwards the call to SwingUtilities.layoutCompoundLabel().
|
void
|
paint(Graphics g, JComponent c)
Paint the label text in the foreground color, if the label
is opaque then paint the entire background with the background
color.
|
void
|
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().
|
void
|
paintEnabledText(JLabel l, Graphics g, String s, int textX, int textY)
Paint clippedText at textX, textY with the labels foreground color.
|
void
|
propertyChange(PropertyChangeEvent e)
This method gets called when a bound property is changed.
|
void
|
uninstallComponents(JLabel c)
|
void
|
uninstallDefaults(JLabel c)
|
void
|
uninstallKeyboardActions(JLabel c)
|
void
|
uninstallListeners(JLabel c)
|
void
|
uninstallUI(JComponent c)
Reverses configuration which was done on the specified component during
installUI .
|