Package org.eclipse.nebula.widgets.tiles
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 SummaryConstructors Constructor Description TileAnimationSettings(int fps, int duration)Creates a new instance
- 
Method SummaryModifier and Type Method Description protected intgetDelta()Returns the milliseconds per frameintgetDuration()Returns the duration in millisecondsintgetFPS()Returns the frames per second
- 
Constructor Details- 
TileAnimationSettingspublic TileAnimationSettings(int fps, int duration)Creates a new instance- Parameters:
- fps-
- duration-
 
 
- 
- 
Method Details- 
getDurationpublic int getDuration()Returns the duration in milliseconds- Returns:
 
- 
getFPSpublic int getFPS()Returns the frames per second- Returns:
 
- 
getDeltaprotected int getDelta()Returns the milliseconds per frame- Returns:
 
 
-