|
JPedal Java PDF library 4.70b22 API Documentation - http://www.jpedal.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpedal.io.StatusBar
public class StatusBar
encapsulates a status bar to display progess of a page decode and messages for a GUI client and methods to access it - See org.examples.jpedal.simpleviewer.SimpleViewer for example of usage
| Field Summary | |
|---|---|
float |
percentageDone
amount done on decode |
| Constructor Summary | |
|---|---|
StatusBar()
initialises statusbar using default colors |
|
StatusBar(java.awt.Color newColor)
initialises statusbar using specified color |
|
| Method Summary | |
|---|---|
java.awt.Component |
getStatusObject()
return handle on status bar so it can be displayed |
void |
initialiseStatus(java.lang.String current)
initiate status bar |
boolean |
isDone()
|
boolean |
isEnabled()
|
boolean |
isVisible()
|
void |
resetStatus(java.lang.String current)
reset status bar |
void |
setClientDisplay()
set client flag to display |
void |
setEnabled(boolean enable)
|
void |
setProgress(int size)
set progress value (called internally as page decoded) |
void |
setProgress(java.lang.String message,
int size)
set progress value (called internally as page decoded) |
void |
setVisible(boolean visible)
|
void |
updateStatus(java.lang.String progress_bar,
int debug_level_to_use)
update status if client being used also writes to log (called internally as file decoded) |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public float percentageDone
| Constructor Detail |
|---|
public StatusBar()
public StatusBar(java.awt.Color newColor)
| Method Detail |
|---|
public final void initialiseStatus(java.lang.String current)
public final void updateStatus(java.lang.String progress_bar,
int debug_level_to_use)
public final java.awt.Component getStatusObject()
public final void setProgress(int size)
public final void setProgress(java.lang.String message,
int size)
public final void resetStatus(java.lang.String current)
public final void setClientDisplay()
public void setVisible(boolean visible)
public void setEnabled(boolean enable)
public boolean isVisible()
public boolean isEnabled()
public boolean isDone()
|
JPedal Java PDF library 4.70b22 API Documentation - http://www.jpedal.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||