|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JProgressBar
org.ceryle.ui.ProgressBar
public class ProgressBar
Extends JProgressBar to provide a self-contained progress bar.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JProgressBar |
|---|
JProgressBar.AccessibleJProgressBar |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
boolean |
indeterminateSupport
When true, uses the Java2 'indeterminate' state for progress bar rather than flashing. |
protected org.ceryle.ui.ProgressBar.InProgress |
inProgress
Thread for flashing the progress indicator. |
| Fields inherited from class javax.swing.JProgressBar |
|---|
changeEvent, changeListener, model, orientation, paintBorder, paintString, progressString |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ProgressBar()
Default constructor. |
|
ProgressBar(ViewManager viewManager)
Constructor provided the Desktop's ViewManager. |
|
| Method Summary | |
|---|---|
int |
getProgressValue()
Return an int representing the current the progress bar value. |
void |
progressFlashStart()
Starts flashing the progress bar as a progress indicator. |
void |
progressFlashStop()
Stops the flashing of the progress bar. |
void |
setProgressLimits(int min,
int max)
Set the progress bar minimum and maximum to the provided int values. |
void |
setProgressString(String s)
Set the progress bar text to the provided String. |
void |
setProgressValue(int value)
Set the progress bar value to the provided int. |
| Methods inherited from class javax.swing.JProgressBar |
|---|
addChangeListener, createChangeListener, fireStateChanged, getAccessibleContext, getChangeListeners, getMaximum, getMinimum, getModel, getOrientation, getPercentComplete, getString, getUI, getUIClassID, getValue, isBorderPainted, isIndeterminate, isStringPainted, paintBorder, paramString, removeChangeListener, setBorderPainted, setIndeterminate, setMaximum, setMinimum, setModel, setOrientation, setString, setStringPainted, setUI, setValue, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public boolean indeterminateSupport
protected org.ceryle.ui.ProgressBar.InProgress inProgress
| Constructor Detail |
|---|
public ProgressBar()
public ProgressBar(ViewManager viewManager)
| Method Detail |
|---|
public void setProgressLimits(int min,
int max)
public void setProgressString(String s)
public void setProgressValue(int value)
public int getProgressValue()
public void progressFlashStart()
public void progressFlashStop()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||