|
||||||||||
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 struct to group information about a Job
Field Summary | |
---|---|
private JButton |
cancelButton
|
private Component |
comp
|
private int |
index
|
private Job |
job
|
private JProgressBar |
progress
|
Constructor Summary | |
---|---|
JobsProgressBar.JobData(Job job,
int index,
JProgressBar progress)
Simple ctor |
Method Summary | |
---|---|
private JButton |
createCancelButton()
Create a cancel button that only shows the cancel icon. |
private Component |
decorateProgressBar()
Decorate the progress bar if the job can be interrupted. |
JButton |
getCancelButton()
|
Component |
getComponent()
|
(package private) int |
getIndex()
Accessor for the index |
(package private) Job |
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 |
propertyChange(PropertyChangeEvent evt)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Job job
private int index
private JProgressBar progress
private Component comp
private JButton cancelButton
Constructor Detail |
---|
JobsProgressBar.JobData(Job job, int index, JProgressBar progress)
Method Detail |
---|
void invalidate()
Job getJob()
JProgressBar getProgress()
public Component getComponent()
public JButton getCancelButton()
int getIndex()
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
private JButton createCancelButton()
private Component decorateProgressBar()
|
Copyright ? 2003-2004 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |