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
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
createUI(JComponent bar)
Create a new StyledProgressBarUI using the current Stendhal style.void
installUI(JComponent bar)
protected void
paintDeterminate(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, uninstallUI
Methods 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:
paintDeterminate
in classBasicProgressBarUI
-
installUI
- Overrides:
installUI
in classBasicProgressBarUI
-