moonlander.library

## Class TimeController

- java.lang.Object
- - moonlander.library.TimeController

-     public class TimeController
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TimeController(int rowsPerSecond)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addEventListener(moonlander.library.ControllerListener listener)`
    `double` | `getCurrentRow()`
    `double` | `getCurrentTime()`
    `boolean` | `isPlaying()`
    `void` | `pause()`
    `void` | `play()`
    `void` | `removeEventListener(moonlander.library.ControllerListener listener)`
    `void` | `setCurrentRow(double row, boolean silent)`
    `void` | `update()`

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

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

- - ### Constructor Detail

    - #### TimeController

          public TimeController(int rowsPerSecond)

  - ### Method Detail

    - #### update

          public void update()

    - #### addEventListener

          public void addEventListener(moonlander.library.ControllerListener listener)

    - #### removeEventListener

          public void removeEventListener(moonlander.library.ControllerListener listener)

    - #### getCurrentRow

          public double getCurrentRow()

    - #### getCurrentTime

          public double getCurrentTime()

    - #### setCurrentRow

          public void setCurrentRow(double row,
                                    boolean silent)

      Parameters:
        `row` - new row value
        `silent` - to suppress notifications

    - #### isPlaying

          public boolean isPlaying()

    - #### pause

          public void pause()

    - #### play

          public void play()

Processing library Moonlander by Antti Hirvonen. (c) 2018