|
||||||||||
| 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.JPanel
net.sf.j3d.threeD.ui.displays.ProgressDisplay
public class ProgressDisplay
A ProgressDisplay object can be used to detect and display internal progress.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
TOOL_TIP_TEXT_KEY, 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 java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ProgressDisplay(int incrementSize,
int totalSize)
Constructs a new ProgressDisplay object using the specified increment size and total size. |
|
ProgressDisplay(int incrementSize,
int totalSize,
boolean showTime)
Constructs a new ProgressDisplay object using the specified increment size and total size. |
|
| Method Summary | |
|---|---|
int |
getIncrement()
Returns the increment of this ProgressDisplay object. |
int |
getIncrementSize()
Returns the increment size used by this ProgressDisplay object. |
boolean |
getRemoveOnCompletion()
Returns true if this ProgressDisplay object will remove it self from it's parent when the monitered task is completed. |
int |
getTotalSize()
Returns the total size of this ProgressDisplay object. |
void |
increment()
Increments this ProgressDisplay object. |
boolean |
isComplete()
Returns true if the task being monitored is complete, false otherwise. |
void |
reset()
|
void |
setProgressBarColor(Color c)
|
void |
setRemoveOnCompletion(boolean remove)
When set to true, this ProgressDisplay object will remove it self from it's parent when the monitered task is completed. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProgressDisplay(int incrementSize,
int totalSize)
public ProgressDisplay(int incrementSize,
int totalSize,
boolean showTime)
| Method Detail |
|---|
public void setProgressBarColor(Color c)
public void setRemoveOnCompletion(boolean remove)
public boolean getRemoveOnCompletion()
public int getIncrementSize()
getIncrementSize in interface ProgressMonitorpublic int getTotalSize()
getTotalSize in interface ProgressMonitorpublic int getIncrement()
getIncrement in interface ProgressMonitorpublic void increment()
increment in interface ProgressMonitorpublic boolean isComplete()
public void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||