Package games.stendhal.client.gui.styled
Class StyledLabelUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.LabelUI
javax.swing.plaf.basic.BasicLabelUI
games.stendhal.client.gui.styled.StyledLabelUI
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicLabelUI
labelUI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
createUI(JComponent label)
Create StyledLabelUI for a label.void
installUI(JComponent label)
protected void
paintDisabledText(JLabel label, Graphics graphics, String text, int x, int y)
Methods inherited from class javax.swing.plaf.basic.BasicLabelUI
getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, layoutCL, paint, paintEnabledText, propertyChange, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Constructor Details
-
StyledLabelUI
Create a new StyledLabelUI.- Parameters:
style
- pixmap style
-
-
Method Details
-
createUI
Create StyledLabelUI for a label.- Parameters:
label
-JLabel
to create an UI for- Returns:
- a ComponentUI instance
-
paintDisabledText
- Overrides:
paintDisabledText
in classBasicLabelUI
-
installUI
- Overrides:
installUI
in classBasicLabelUI
-