org.eclipse.january

## Class IMonitor.Stub

- java.lang.Object
- - org.eclipse.january.IMonitor.Stub

- All Implemented Interfaces:
    IMonitor
  Enclosing interface:
    IMonitor

      public static class IMonitor.Stub
      extends Object
      implements IMonitor

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.eclipse.january.IMonitor

      `IMonitor.Stub`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `IMonitor.Stub()`

  - ### Method Summary

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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### IMonitor.Stub

          public IMonitor.Stub()

  - ### Method Detail

    - #### worked

          public void worked(int amount)

      Specified by:
        `worked` in interface `IMonitor`

    - #### isCancelled

          public boolean isCancelled()

      Specified by:
        `isCancelled` in interface `IMonitor`
      Returns:
        true if user cancelled loading.

    - #### subTask

          public void subTask(String taskName)

      Description copied from interface: `IMonitor`
      Starts a subtask.
      Specified by:
        `subTask` in interface `IMonitor`

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