org.eclipse.january

## Interface IMonitor

- All Known Implementing Classes:
    IMonitor.Stub

      public interface IMonitor

  Interface to monitoring loading of files, which may take a while.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `IMonitor.Stub`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isCancelled()`
    `void` | `subTask(String taskName)` Starts a subtask.
    `void` | `worked(int amount)`

- - ### Method Detail

    - #### worked

          void worked(int amount)

      Parameters:
        `amount` - of work donw

    - #### isCancelled

          boolean isCancelled()

      Returns:
        true if user cancelled loading.

    - #### subTask

          void subTask(String taskName)

      Starts a subtask.
      Parameters:
        `taskName` - to use

Copyright © 2014–2022 Eclipse Foundation. All rights reserved.