com.alee.laf.progressbar
Class WebProgressBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ProgressBarUI
javax.swing.plaf.basic.BasicProgressBarUI
com.alee.laf.progressbar.WebProgressBarUI
- All Implemented Interfaces:
- ShapeProvider, BorderMethods, SwingMethods
public class WebProgressBarUI
- extends javax.swing.plaf.basic.BasicProgressBarUI
- implements ShapeProvider, BorderMethods
User: mgarin Date: 28.04.11 Time: 15:05
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicProgressBarUI |
javax.swing.plaf.basic.BasicProgressBarUI.ChangeHandler |
Fields inherited from class javax.swing.plaf.basic.BasicProgressBarUI |
boxRect, changeListener, progressBar |
Methods inherited from class javax.swing.plaf.basic.BasicProgressBarUI |
getAmountFull, getAnimationIndex, getBaseline, getBaselineResizeBehavior, getBox, getBoxLength, getCellLength, getCellSpacing, getFrameCount, getMaximumSize, getMinimumSize, getPreferredSize, getSelectionBackground, getSelectionForeground, getStringPlacement, incrementAnimationIndex, installDefaults, installListeners, paintString, setAnimationIndex, setCellLength, setCellSpacing, startAnimationTimer, stopAnimationTimer, uninstallDefaults, uninstallListeners |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebProgressBarUI
public WebProgressBarUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in class javax.swing.plaf.basic.BasicProgressBarUI
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUI
in class javax.swing.plaf.basic.BasicProgressBarUI
updateBorder
public void updateBorder()
- Updates custom WebLaF border.
- Specified by:
updateBorder
in interface BorderMethods
getRound
public int getRound()
setRound
public void setRound(int round)
getInnerRound
public int getInnerRound()
setInnerRound
public void setInnerRound(int innerRound)
getShadeWidth
public int getShadeWidth()
setShadeWidth
public void setShadeWidth(int shadeWidth)
isPaintIndeterminateBorder
public boolean isPaintIndeterminateBorder()
setPaintIndeterminateBorder
public void setPaintIndeterminateBorder(boolean paintIndeterminateBorder)
getPreferredProgressWidth
public int getPreferredProgressWidth()
setPreferredProgressWidth
public void setPreferredProgressWidth(int preferredProgressWidth)
getBgTop
public java.awt.Color getBgTop()
setBgTop
public void setBgTop(java.awt.Color bgTop)
getBgBottom
public java.awt.Color getBgBottom()
setBgBottom
public void setBgBottom(java.awt.Color bgBottom)
getProgressTopColor
public java.awt.Color getProgressTopColor()
setProgressTopColor
public void setProgressTopColor(java.awt.Color progressTopColor)
getProgressBottomColor
public java.awt.Color getProgressBottomColor()
setProgressBottomColor
public void setProgressBottomColor(java.awt.Color progressBottomColor)
getIndeterminateBorder
public java.awt.Color getIndeterminateBorder()
setIndeterminateBorder
public void setIndeterminateBorder(java.awt.Color indeterminateBorder)
getHighlightWhite
public java.awt.Color getHighlightWhite()
setHighlightWhite
public void setHighlightWhite(java.awt.Color highlightWhite)
getHighlightDarkWhite
public java.awt.Color getHighlightDarkWhite()
setHighlightDarkWhite
public void setHighlightDarkWhite(java.awt.Color highlightDarkWhite)
provideShape
public java.awt.Shape provideShape()
- Description copied from interface:
ShapeProvider
- Returns component shape.
- Specified by:
provideShape
in interface ShapeProvider
- Returns:
- component shape
getPreferredInnerHorizontal
protected java.awt.Dimension getPreferredInnerHorizontal()
- Overrides:
getPreferredInnerHorizontal
in class javax.swing.plaf.basic.BasicProgressBarUI
getPreferredInnerVertical
protected java.awt.Dimension getPreferredInnerVertical()
- Overrides:
getPreferredInnerVertical
in class javax.swing.plaf.basic.BasicProgressBarUI
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
- Overrides:
paint
in class javax.swing.plaf.basic.BasicProgressBarUI
paintIndeterminate
protected void paintIndeterminate(java.awt.Graphics g,
javax.swing.JComponent c)
- Overrides:
paintIndeterminate
in class javax.swing.plaf.basic.BasicProgressBarUI
paintDeterminate
protected void paintDeterminate(java.awt.Graphics g,
javax.swing.JComponent c)
- Overrides:
paintDeterminate
in class javax.swing.plaf.basic.BasicProgressBarUI