Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jimi.core.util
Class ProgressMonitorSupport

    java.lang.Object
      |
      +--com.sun.jimi.core.util.ProgressMonitorSupport

Direct Known Subclasses:
  JimiDecoderBase, JimiEncoderBase, JimiRasterDecoderSupport, JimiRasterEncoderSupport, JimiSingleImageRasterEncoder

public class ProgressMonitorSupport
extends java.lang.Object

Support class for dealing with ProgressListeners.

Field Summary
`protected int` | `currentProgressLevel`
`protected ProgressListener` | `progressListener` progress listener

Constructor Summary
`ProgressMonitorSupport()`

Method Summary
`void` | `setProgress(int progressLevel)` Set the progress level.
`void` | `setProgressListener(ProgressListener listener)` Set a progress listener to be updated as decoding takes place.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### progressListener

    protected ProgressListener progressListener

  progress listener

### currentProgressLevel

    protected int currentProgressLevel

Constructor Detail

### ProgressMonitorSupport

    public ProgressMonitorSupport()

Method Detail

### setProgressListener

    public void setProgressListener(ProgressListener listener)

  Set a progress listener to be updated as decoding takes place.
  Parameters:
    `listener` - the progress listener

### setProgress

    public void setProgress(int progressLevel)

  Set the progress level.
  Parameters:
    `progressLevel` - the level of progress, between 0 and 1000 inclusive

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD