
Classes | |
| class | StateListener |
| class | TimerListener |
Public Member Functions | |
| ProgressDialog (AbstractProgressTask task) | |
| void | performTask () |
Static Public Member Functions | |
| static void | main (String[] args) |
Protected Member Functions | |
| void | setProgress (int value) |
| void | setProgressBounds (int min, int max) |
| void | setStatus (String status) |
| void | updateState () |
Private Member Functions | |
| GridBagConstraints | createConstraints (int x, int y) |
| void | initialize () |
Private Attributes | |
| JLabel | statusLabel |
| JProgressBar | progressBar |
| AbstractProgressTask | task |
| Timer | timer |
Insert the type's description here. Creation date: (4/14/2002 12:55:00)
| com::cosylab::gui::components::r2::ProgressDialog::ProgressDialog | ( | AbstractProgressTask | task | ) | [inline] |
ProgressDialog constructor comment.
References initialize().
| GridBagConstraints com::cosylab::gui::components::r2::ProgressDialog::createConstraints | ( | int | x, | |
| int | y | |||
| ) | [inline, private] |
Insert the method's description here. Creation date: (4/14/2002 12:56:53)
| x | int | |
| y | int |
Referenced by initialize().
| void com::cosylab::gui::components::r2::ProgressDialog::initialize | ( | ) | [inline, private] |
Insert the method's description here. Creation date: (4/14/2002 12:58:34)
References createConstraints(), progressBar, and statusLabel.
Referenced by ProgressDialog().
| static void com::cosylab::gui::components::r2::ProgressDialog::main | ( | String[] | args | ) | [inline, static] |
Insert the method's description here. Creation date: (4/14/2002 13:01:29)
| args | java.lang.String[] |
| void com::cosylab::gui::components::r2::ProgressDialog::performTask | ( | ) | [inline] |
Insert the method's description here. Creation date: (4/14/2002 14:14:38)
References com::cosylab::gui::components::r2::AbstractProgressTask::addProgressListener(), task, and timer.
| void com::cosylab::gui::components::r2::ProgressDialog::setProgress | ( | int | value | ) | [inline, protected] |
Insert the method's description here. Creation date: (4/14/2002 13:01:10)
| value | int |
References progressBar.
Referenced by updateState().
| void com::cosylab::gui::components::r2::ProgressDialog::setProgressBounds | ( | int | min, | |
| int | max | |||
| ) | [inline, protected] |
Insert the method's description here. Creation date: (4/14/2002 13:00:29)
| min | int | |
| max | int |
References progressBar.
Referenced by updateState().
| void com::cosylab::gui::components::r2::ProgressDialog::setStatus | ( | String | status | ) | [inline, protected] |
Insert the method's description here. Creation date: (4/14/2002 13:00:01)
| status | java.lang.String |
References statusLabel.
Referenced by com::cosylab::gui::components::r2::ProgressDialog::StateListener::taskInterruped(), and updateState().
| void com::cosylab::gui::components::r2::ProgressDialog::updateState | ( | ) | [inline, protected] |
Insert the method's description here. Creation date: (4/14/2002 16:54:10)
References com::cosylab::gui::components::r2::ProgressMonitor::getCurrent(), com::cosylab::gui::components::r2::ProgressMonitor::getStatus(), com::cosylab::gui::components::r2::ProgressMonitor::getTotal(), progressBar, setProgress(), setProgressBounds(), setStatus(), and task.
Referenced by com::cosylab::gui::components::r2::ProgressDialog::TimerListener::actionPerformed(), com::cosylab::gui::components::r2::ProgressDialog::StateListener::progress(), and com::cosylab::gui::components::r2::ProgressDialog::StateListener::taskComplete().
JProgressBar com::cosylab::gui::components::r2::ProgressDialog::progressBar [private] |
Referenced by initialize(), setProgress(), setProgressBounds(), and updateState().
JLabel com::cosylab::gui::components::r2::ProgressDialog::statusLabel [private] |
Referenced by initialize(), and setStatus().
Referenced by performTask(), and updateState().
Timer com::cosylab::gui::components::r2::ProgressDialog::timer [private] |
Referenced by performTask().
1.6.2