Package games.stendhal.client.gui.styled
Class StyledCheckBoxUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
javax.swing.plaf.basic.BasicToggleButtonUI
javax.swing.plaf.basic.BasicRadioButtonUI
javax.swing.plaf.basic.BasicCheckBoxUI
games.stendhal.client.gui.styled.StyledCheckBoxUI
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
iconFields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIcreateUI(JComponent checkBox) Create StyledCheckBoxUI for a check box.voidinstallUI(JComponent component) protected voidpaintText(Graphics graphics, AbstractButton button, Rectangle textRect, String text) Methods inherited from class javax.swing.plaf.basic.BasicCheckBoxUI
getPropertyPrefixMethods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
getDefaultIcon, getPreferredSize, installDefaults, paint, paintFocus, uninstallDefaultsMethods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
getTextShiftOffset, paintIconMethods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, paintButtonPressed, paintFocus, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUIMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Constructor Details
-
StyledCheckBoxUI
Create a new StyledCheckBoxUI.- Parameters:
style- pixmap style
-
-
Method Details
-
createUI
Create StyledCheckBoxUI for a check box.- Parameters:
checkBox-JCheckBoxto create an UI for- Returns:
- a ComponentUI instance
-
paintText
- Overrides:
paintTextin classBasicButtonUI
-
installUI
- Overrides:
installUIin classBasicButtonUI
-