|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wiki.ui.progress.ProgressItem
public abstract class ProgressItem
Provides access to an progress item.
Field Summary | |
---|---|
static int |
CREATED
Status: The PI is created. |
static int |
FINISHED
Status: The PI is finished. |
protected int |
m_state
|
static int |
STARTED
Status: The PI is started. |
static int |
STOPPED
Status: The PI is stopped. |
Constructor Summary | |
---|---|
ProgressItem()
|
Method Summary | |
---|---|
abstract int |
getProgress()
Returns the progress in percents. |
int |
getState()
Get the state of the ProgressItem. |
void |
setState(int state)
Sets the state of the ProgressItem. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CREATED
public static final int STARTED
public static final int STOPPED
public static final int FINISHED
protected int m_state
Constructor Detail |
---|
public ProgressItem()
Method Detail |
---|
public int getState()
public void setState(int state)
state
- One of the CREATED, STARTED, STOPPED or FINISHED.public abstract int getProgress()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |