Package games.stendhal.client.gui.styled
Class StyledProgressBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ProgressBarUI
javax.swing.plaf.basic.BasicProgressBarUI
games.stendhal.client.gui.styled.StyledProgressBarUI
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicProgressBarUI
BasicProgressBarUI.ChangeHandler -
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicProgressBarUI
boxRect, changeListener, progressBar -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIcreateUI(JComponent bar) Create a new StyledProgressBarUI using the current Stendhal style.voidinstallUI(JComponent bar) protected voidpaintDeterminate(Graphics g, JComponent component) Methods inherited from class javax.swing.plaf.basic.BasicProgressBarUI
getAmountFull, getAnimationIndex, getBaseline, getBaselineResizeBehavior, getBox, getBoxLength, getCellLength, getCellSpacing, getFrameCount, getMaximumSize, getMinimumSize, getPreferredInnerHorizontal, getPreferredInnerVertical, getPreferredSize, getSelectionBackground, getSelectionForeground, getStringPlacement, incrementAnimationIndex, installDefaults, installListeners, paint, paintIndeterminate, paintString, setAnimationIndex, setCellLength, setCellSpacing, startAnimationTimer, stopAnimationTimer, uninstallDefaults, uninstallListeners, uninstallUIMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Constructor Details
-
StyledProgressBarUI
Create a new StyledProgressBarUI.- Parameters:
style- pixmap style
-
-
Method Details
-
createUI
Create a new StyledProgressBarUI using the current Stendhal style.- Parameters:
bar- a JProgressBar- Returns:
- ComponentUI for
bar
-
paintDeterminate
- Overrides:
paintDeterminatein classBasicProgressBarUI
-
installUI
- Overrides:
installUIin classBasicProgressBarUI
-