|
|||||||||
| 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 |
void |
inSubroutine(boolean flag)
resets the status bar changing the color appropriatly to master or subroutine - (used internally and should not be called in general usage) |
boolean |
isEnabled()
|
boolean |
isVisible()
|
void |
resetStatus(java.lang.String current)
reset status bar |
void |
setClientDisplay()
set client flag to display |
void |
setColorForSubroutines(java.awt.Color newColor)
sets the Color to show when decoding subroutines in PDF stream |
void |
setEnabled(boolean enable)
|
void |
setProgress(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 resetStatus(java.lang.String current)
public final void setClientDisplay()
public void inSubroutine(boolean flag)
public void setColorForSubroutines(java.awt.Color newColor)
public void setVisible(boolean visible)
public void setEnabled(boolean enable)
public boolean isVisible()
public boolean isEnabled()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||