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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIcreateUI(JComponent label) Create StyledLabelUI for a label.voidinstallUI(JComponent label) protected voidpaintDisabledText(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, uninstallUIMethods 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-JLabelto create an UI for- Returns:
- a ComponentUI instance
-
paintDisabledText
- Overrides:
paintDisabledTextin classBasicLabelUI
-
installUI
- Overrides:
installUIin classBasicLabelUI
-