| javax.swing.plaf.basic.BasicProgressBarUI org.jvnet.substance.SubstanceProgressBarUI
SubstanceProgressBarUI | public class SubstanceProgressBarUI extends BasicProgressBarUI (Code) | | UI for progress bars in Substance look and feel.
author: Kirill Grouchnikov |
Method Summary | |
public static ComponentUI | createUI(JComponent c) | protected int | getAmountFull(Insets b, int width, int height) | protected Rectangle | getBox(Rectangle r) | public static String | getMemoryUsage() Returns the memory usage string. | protected Dimension | getPreferredInnerHorizontal() | protected Dimension | getPreferredInnerVertical() | protected Color | getSelectionBackground() | protected Color | getSelectionForeground() | protected Rectangle | getStringRectangle(String progressString, int x, int y, int width, int height) Returns the rectangle for the progress bar string. | protected void | incrementAnimationIndex() | protected void | installDefaults() | protected void | installListeners() | public void | paintDeterminate(Graphics g, JComponent c) | public void | paintIndeterminate(Graphics g, JComponent c) | protected void | paintString(Graphics g, int x, int y, int width, int height, int amountFull, Insets b) | public static synchronized void | reset() Resets image maps (used when setting new theme). | protected void | uninstallListeners() |
PROGRESS_BAR_VALUE_CHANGED | final public static FadeKind PROGRESS_BAR_VALUE_CHANGED(Code) | | Fade kind for the progress bar value change.
|
speed | protected float speed(Code) | | The speed factor for the indeterminate progress bars.
|
substanceValueChangeListener | protected ChangeListener substanceValueChangeListener(Code) | | Value change listener on the associated progress bar.
|
getAmountFull | protected int getAmountFull(Insets b, int width, int height)(Code) | | |
getMemoryUsage | public static String getMemoryUsage()(Code) | | Returns the memory usage string.
The memory usage string. |
getPreferredInnerHorizontal | protected Dimension getPreferredInnerHorizontal()(Code) | | |
getPreferredInnerVertical | protected Dimension getPreferredInnerVertical()(Code) | | |
getSelectionBackground | protected Color getSelectionBackground()(Code) | | |
getSelectionForeground | protected Color getSelectionForeground()(Code) | | |
getStringRectangle | protected Rectangle getStringRectangle(String progressString, int x, int y, int width, int height)(Code) | | Returns the rectangle for the progress bar string.
Parameters: progressString - Progress bar string. Parameters: x - x location of bounding box Parameters: y - y location of bounding box Parameters: width - width of bounding box Parameters: height - height of bounding box The rectangle for the progress bar string. |
incrementAnimationIndex | protected void incrementAnimationIndex()(Code) | | |
installDefaults | protected void installDefaults()(Code) | | |
installListeners | protected void installListeners()(Code) | | |
paintString | protected void paintString(Graphics g, int x, int y, int width, int height, int amountFull, Insets b)(Code) | | |
uninstallListeners | protected void uninstallListeners()(Code) | | |
Methods inherited from javax.swing.plaf.basic.BasicProgressBarUI | public static ComponentUI createUI(JComponent x)(Code)(Java Doc) protected int getAmountFull(Insets b, int width, int height)(Code)(Java Doc) protected int getAnimationIndex()(Code)(Java Doc) public int getBaseline(JComponent c, int width, int height)(Code)(Java Doc) public Component.BaselineResizeBehavior getBaselineResizeBehavior(JComponent c)(Code)(Java Doc) protected Rectangle getBox(Rectangle r)(Code)(Java Doc) protected int getBoxLength(int availableLength, int otherDimension)(Code)(Java Doc) protected int getCellLength()(Code)(Java Doc) protected int getCellSpacing()(Code)(Java Doc) final protected int getFrameCount()(Code)(Java Doc) public Dimension getMaximumSize(JComponent c)(Code)(Java Doc) public Dimension getMinimumSize(JComponent c)(Code)(Java Doc) protected Dimension getPreferredInnerHorizontal()(Code)(Java Doc) protected Dimension getPreferredInnerVertical()(Code)(Java Doc) public Dimension getPreferredSize(JComponent c)(Code)(Java Doc) protected Color getSelectionBackground()(Code)(Java Doc) protected Color getSelectionForeground()(Code)(Java Doc) protected Point getStringPlacement(Graphics g, String progressString, int x, int y, int width, int height)(Code)(Java Doc) protected void incrementAnimationIndex()(Code)(Java Doc) protected void installDefaults()(Code)(Java Doc) protected void installListeners()(Code)(Java Doc) public void installUI(JComponent c)(Code)(Java Doc) public void paint(Graphics g, JComponent c)(Code)(Java Doc) protected void paintDeterminate(Graphics g, JComponent c)(Code)(Java Doc) protected void paintIndeterminate(Graphics g, JComponent c)(Code)(Java Doc) protected void paintString(Graphics g, int x, int y, int width, int height, int amountFull, Insets b)(Code)(Java Doc) protected void setAnimationIndex(int newValue)(Code)(Java Doc) protected void setCellLength(int cellLen)(Code)(Java Doc) protected void setCellSpacing(int cellSpace)(Code)(Java Doc) protected void startAnimationTimer()(Code)(Java Doc) protected void stopAnimationTimer()(Code)(Java Doc) protected void uninstallDefaults()(Code)(Java Doc) protected void uninstallListeners()(Code)(Java Doc) public void uninstallUI(JComponent c)(Code)(Java Doc)
|
|
|