|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.common.progress.swing.JobsProgressBar.JobData
private static class JobsProgressBar.JobData
A simple class to group information about a Job
Field Summary | |
---|---|
private JobsProgressBar |
bar
|
private JButton |
cancelButton
|
private Component |
comp
|
private int |
index
|
private Progress |
job
|
private JProgressBar |
progress
|
Constructor Summary | |
---|---|
JobsProgressBar.JobData(JobsProgressBar bar,
Progress job,
int index,
JProgressBar progress)
Simple ctor |
Method Summary | |
---|---|
private Component |
decorateProgressBar()
Decorate the progress bar if the job can be interrupted. |
Component |
getComponent()
|
(package private) int |
getIndex()
Accessor for the index |
(package private) Progress |
getJob()
Accessor for the Job |
(package private) JProgressBar |
getProgress()
Accessor for the Progress Bar |
(package private) void |
invalidate()
ensure we can't be used again |
void |
workProgressed(WorkEvent ev)
This method is called to indicate that some progress has been made. |
void |
workStateChanged(WorkEvent evt)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private JobsProgressBar bar
private Progress job
private int index
private JProgressBar progress
private Component comp
private JButton cancelButton
Constructor Detail |
---|
JobsProgressBar.JobData(JobsProgressBar bar, Progress job, int index, JProgressBar progress)
Method Detail |
---|
void invalidate()
Progress getJob()
JProgressBar getProgress()
public Component getComponent()
int getIndex()
public void workStateChanged(WorkEvent evt)
workStateChanged
in interface WorkListener
public void workProgressed(WorkEvent ev)
WorkListener
workProgressed
in interface WorkListener
ev
- Describes the progressprivate Component decorateProgressBar()
|
Copyright ? 2003-2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |