public final enum

RepeatMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ sofia.graphics.RepeatMode

Class Overview

Defines how an animation repeats itself.

Summary

Enum Values
RepeatMode  NONE  The animation will not repeat; it will execute once from start to end. 
RepeatMode  OSCILLATE  The animation will oscillate by executing from start to finish, then executing backward from end to start, and then executing again, until the animation is stopped (by calling Shape#stopAnimation()). 
RepeatMode  REPEAT  The animation will repeat by executing from start to end, then instantaneously returning to the start and executing again, until the animation is stopped (by calling Shape#stopAnimation()). 
Public Methods
static RepeatMode valueOf(String name)
final static RepeatMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final RepeatMode NONE

The animation will not repeat; it will execute once from start to end.

public static final RepeatMode OSCILLATE

The animation will oscillate by executing from start to finish, then executing backward from end to start, and then executing again, until the animation is stopped (by calling Shape#stopAnimation()).

public static final RepeatMode REPEAT

The animation will repeat by executing from start to end, then instantaneously returning to the start and executing again, until the animation is stopped (by calling Shape#stopAnimation()).

Public Methods

public static RepeatMode valueOf (String name)

public static final RepeatMode[] values ()