Class TileAnimationSettings

java.lang.Object
org.eclipse.nebula.widgets.tiles.TileAnimationSettings

public class TileAnimationSettings
extends java.lang.Object
This class encapsulates settings for the animation
  • Constructor Summary

    Constructors 
    Constructor Description
    TileAnimationSettings​(int fps, int duration)
    Creates a new instance
  • Method Summary

    Modifier and Type Method Description
    protected int getDelta()
    Returns the milliseconds per frame
    int getDuration()
    Returns the duration in milliseconds
    int getFPS()
    Returns the frames per second

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TileAnimationSettings

      public TileAnimationSettings​(int fps, int duration)
      Creates a new instance
      Parameters:
      fps -
      duration -
  • Method Details

    • getDuration

      public int getDuration()
      Returns the duration in milliseconds
      Returns:
    • getFPS

      public int getFPS()
      Returns the frames per second
      Returns:
    • getDelta

      protected int getDelta()
      Returns the milliseconds per frame
      Returns: