Lines Matching defs:monitor
47 * This creates a progress monitor to monitor the progress of reading
66 private ProgressMonitor monitor;
72 * Constructs an object to monitor the progress of an input stream.
90 monitor = new ProgressMonitor(parentComponent, message, null, 0, size);
101 return monitor;
107 * to update the progress monitor after the read.
111 if (c >= 0) monitor.setProgress(++nread);
112 if (monitor.isCanceled()) {
124 * to update the progress monitor after the read.
128 if (nr > 0) monitor.setProgress(nread += nr);
129 if (monitor.isCanceled()) {
141 * to update the progress monitor after the read.
147 if (nr > 0) monitor.setProgress(nread += nr);
148 if (monitor.isCanceled()) {
160 * to update the progress monitor after the skip.
164 if (nr > 0) monitor.setProgress(nread += nr);
171 * to close the progress monitor as well as the stream.
175 monitor.close();
181 * to reset the progress monitor as well as the stream.
186 monitor.setProgress(nread);