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

    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` -

    - #### isCancelled

          boolean isCancelled()

      Returns:
        true if user cancelled loading.

    - #### subTask

          void subTask(String taskName)

      Starts a subtask.
      Parameters:
        `taskName` -

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