Package games.stendhal.client.gui.styled
Class StyledSeparatorUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.SeparatorUI
javax.swing.plaf.basic.BasicSeparatorUI
games.stendhal.client.gui.styled.StyledSeparatorUI
Stendhal look and feel for JSeparators.
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicSeparatorUI
highlight, shadow
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
createUI(JComponent separator)
Create StyledSeparatorUI for a separator.void
installUI(JComponent separator)
Methods inherited from class javax.swing.plaf.basic.BasicSeparatorUI
getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installListeners, paint, uninstallDefaults, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
-
Constructor Details
-
StyledSeparatorUI
Create a new StyledSeparatorUI.- Parameters:
style
- pixmap style
-
-
Method Details
-
createUI
Create StyledSeparatorUI for a separator.- Parameters:
separator
-JSeparator
to create an UI for- Returns:
- a ComponentUI instance
-
installUI
- Overrides:
installUI
in classBasicSeparatorUI
-