Sofia API Reference

  • Package Index
  • Class Index
  • Packages
  • sofia.app
  • sofia.content
  • sofia.data
  • sofia.graphics
    • Interfaces
    • Joint
    • PropertyTransformer
    • Classes
    • AbstractJoint
    • Anchor
    • Color
    • CoordinateSystem
    • DirectionalPad
    • DistanceJoint
    • ElasticInInterpolator
    • ElasticInOutInterpolator
    • ElasticOutInterpolator
    • FillableShape
    • FillableShape.Animator
    • Geometry
    • Image
    • LineShape
    • MotionStep
    • OvalShape
    • PointAndAnchor
    • Polygon
    • PolygonShape
    • Predicate
    • RectangleShape
    • RevoluteJoint
    • Shape
    • Shape.Animator
    • Shape.Filter
    • ShapeField
    • ShapeFilter
    • ShapeSet
    • ShapeView
    • SizeF
    • StrokedShape
    • StrokedShape.Animator
    • TextShape
    • TextShape.Animator
    • Timings
    • ViewEdges
    • ZIndexComparator
    • Enums
    • RepeatMode
    • ShapeMotion
  • sofia.util
  • sofia.view
  • sofia.widget

public final enum
RepeatMode

extends Enum<E extends Enum<E>>

Inheritance

  • 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 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 stopAnimation()). 
Public Methods
static RepeatMode valueOf(String name)
final static RepeatMode[] values()
Methods inherited from class java.lang.Enum
final Object clone()
int compareTo(Object arg0)
final int compareTo(E arg0)
final boolean equals(Object arg0)
final void finalize()
final Class<E> getDeclaringClass()
final int hashCode()
final String name()
final int ordinal()
String toString()
static <T extends Enum<T>> T valueOf(Class<T> arg0, String arg1)
Methods inherited from class java.lang.Object
Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait()
final void wait(long arg0, int arg1)
final void wait(long arg0)
Methods inherited from interface java.lang.Comparable
abstract int compareTo(T arg0)

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 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 stopAnimation()).


Public Methods

public static RepeatMode valueOf (String name)

public static final RepeatMode[] values ()