OFC Charts 3.1


com.oxymel.ofc.charts.animation
Class SVGAnimationContext

java.lang.Object
  |
  +--com.oxymel.ofc.charts.animation.SVGAnimationContext

public class SVGAnimationContext
extends java.lang.Object


Field Summary
static int INDEFINITE_REPEAT
          Indefinite repeat value
 
Constructor Summary
SVGAnimationContext()
          constructor
SVGAnimationContext(int numberOfSecond)
          constructor
SVGAnimationContext(int numberOfSecond, int numberOfRepeat)
          constructor
SVGAnimationContext(int numberOfSecond, int numberOfRepeat, int nbImage)
          constructor
 
Method Summary
 java.lang.String getDurAttributValue()
          Get SVG "dur" attribut value
 java.lang.String getExternalAnimationURL()
          Get URL of external animation
 int getNbImage()
          Get number image of the animation
 int getNbMilliSecondForUpdateExternalAnimation()
          Get number of millisecond for update external animation
 java.lang.String getRepeatCountAttributValue()
          Get SVG "repeatCount" attribut value
 boolean isExternalAnimation()
          Tests if the animation is external
 void removeExternalAnimation()
          Remove external animation
 void setExternalAnimationURL(java.lang.String externalAnimationURL)
          Sets URL of external animation
 void setNbMilliSecondForUpdateExternalAnimation(int nbMilliSecondForUpdateExternalAnimation)
          Sets number of millisecond for update external animation
 void setNumberOfRepeat(int numberOfRepeat)
          Sets the repeat number of the animation
 void setTime(double numberOfSecond)
          Sets the second number of the animation
 void setTime(int hour, int minute, double second)
          Sets the total time of the animation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INDEFINITE_REPEAT

public static final int INDEFINITE_REPEAT
Indefinite repeat value
Constructor Detail

SVGAnimationContext

public SVGAnimationContext()
constructor

SVGAnimationContext

public SVGAnimationContext(int numberOfSecond)
constructor
Parameters:
numberOfSecond - number of second of the animation

SVGAnimationContext

public SVGAnimationContext(int numberOfSecond,
                           int numberOfRepeat)
constructor
Parameters:
numberOfSecond - number of second of the animation
numberOfRepeat - number of repeat of the animation

SVGAnimationContext

public SVGAnimationContext(int numberOfSecond,
                           int numberOfRepeat,
                           int nbImage)
constructor
Parameters:
numberOfSecond - number of second of the animation
numberOfRepeat - number of repeat of the animation
nbImage - number of image of the animation
Method Detail

setNumberOfRepeat

public void setNumberOfRepeat(int numberOfRepeat)
Sets the repeat number of the animation
Parameters:
numberOfRepeat -  

setTime

public void setTime(double numberOfSecond)
Sets the second number of the animation
Parameters:
numberOfSecond -  

setTime

public void setTime(int hour,
                    int minute,
                    double second)
Sets the total time of the animation
Parameters:
hour -  
minute -  
second -  

getDurAttributValue

public java.lang.String getDurAttributValue()
Get SVG "dur" attribut value
Returns:
SVG "dur" attribut value as String

getRepeatCountAttributValue

public java.lang.String getRepeatCountAttributValue()
Get SVG "repeatCount" attribut value
Returns:
SVG "repeatCount" attribut value as String

getNbImage

public int getNbImage()
Get number image of the animation
Returns:
number image of the animation

isExternalAnimation

public boolean isExternalAnimation()
Tests if the animation is external
Returns:
true if the animation is external

getExternalAnimationURL

public java.lang.String getExternalAnimationURL()
Get URL of external animation
Returns:
URL of external animation

setExternalAnimationURL

public void setExternalAnimationURL(java.lang.String externalAnimationURL)
Sets URL of external animation
Parameters:
externalAnimationURL - New url of external animation

removeExternalAnimation

public void removeExternalAnimation()
Remove external animation

getNbMilliSecondForUpdateExternalAnimation

public int getNbMilliSecondForUpdateExternalAnimation()
Get number of millisecond for update external animation
Returns:
number of millisecond for update external animation

setNbMilliSecondForUpdateExternalAnimation

public void setNbMilliSecondForUpdateExternalAnimation(int nbMilliSecondForUpdateExternalAnimation)
Sets number of millisecond for update external animation
Parameters:
nbMilliSecondForUpdateExternalAnimation - Number of millisecond for update external animation

OFC Charts 3.1


Copyright © 2005 Oxymel SA All Rights Reserved.