Package Torello.Browser
Class Animation.AnimationEffect
- java.lang.Object
-
- Torello.Java.JSON.BaseType
-
- Torello.Browser.Animation.AnimationEffect
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Animation
public static class Animation.AnimationEffect extends BaseType implements java.io.Serializable
AnimationEffect instance- See Also:
- Serialized Form
Hi-Lited Source-Code:- View Here: Torello/Browser/Animation.java
- Open New Browser-Tab: Torello/Browser/Animation.java
File Size: 6,975 Bytes Line Count: 160 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field protected static long
serialVersionUID
For Object Serialization.Type Properties Modifier and Type Field Integer
backendNodeId
AnimationEffect
's target node.Number
delay
AnimationEffect
's delay.String
direction
AnimationEffect
's playback direction.Number
duration
AnimationEffect
's iteration duration.String
easing
AnimationEffect
's timing function.Number
endDelay
AnimationEffect
's end delay.String
fill
AnimationEffect
's fill mode.Number
iterations
AnimationEffect
's iterations.Number
iterationStart
AnimationEffect
's iteration start.Animation.KeyframesRule
keyframesRule
AnimationEffect
's keyframes.
-
Constructor Summary
Constructors Constructor Description AnimationEffect(Number delay, Number endDelay, Number iterationStart, Number iterations, Number duration, String direction, String fill, Integer backendNodeId, Animation.KeyframesRule keyframesRule, String easing)
ConstructorAnimationEffect(JsonObject jo)
JSON Object Constructor
-
Method Summary
Generate Array that Indicates which Parameter are Optional Modifier and Type Method boolean[]
optionals()
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null.Methods: class java.lang.Object Modifier and Type Method boolean
equals(Object other)
Checks whether'this'
equals an input Java-Object
int
hashCode()
Generates a Hash-Code for'this'
instance
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
For Object Serialization. java.io.Serializable- See Also:
- Constant Field Values
-
delay
public final java.lang.Number delay
AnimationEffect
's delay.
-
endDelay
public final java.lang.Number endDelay
AnimationEffect
's end delay.
-
iterationStart
public final java.lang.Number iterationStart
AnimationEffect
's iteration start.
-
iterations
public final java.lang.Number iterations
AnimationEffect
's iterations.
-
duration
public final java.lang.Number duration
AnimationEffect
's iteration duration.
-
direction
public final java.lang.String direction
AnimationEffect
's playback direction.
-
fill
public final java.lang.String fill
AnimationEffect
's fill mode.
-
backendNodeId
public final java.lang.Integer backendNodeId
AnimationEffect
's target node.
OPTIONAL
-
keyframesRule
public final Animation.KeyframesRule keyframesRule
AnimationEffect
's keyframes.
OPTIONAL
-
easing
public final java.lang.String easing
AnimationEffect
's timing function.
-
-
Constructor Detail
-
AnimationEffect
public AnimationEffect(java.lang.Number delay, java.lang.Number endDelay, java.lang.Number iterationStart, java.lang.Number iterations, java.lang.Number duration, java.lang.String direction, java.lang.String fill, java.lang.Integer backendNodeId, Animation.KeyframesRule keyframesRule, java.lang.String easing)
Constructor- Parameters:
delay
-AnimationEffect
's delay.endDelay
-AnimationEffect
's end delay.iterationStart
-AnimationEffect
's iteration start.iterations
-AnimationEffect
's iterations.duration
-AnimationEffect
's iteration duration.direction
-AnimationEffect
's playback direction.fill
-AnimationEffect
's fill mode.backendNodeId
-AnimationEffect
's target node.
OPTIONALkeyframesRule
-AnimationEffect
's keyframes.
OPTIONALeasing
-AnimationEffect
's timing function.
-
AnimationEffect
public AnimationEffect(JsonObject jo)
JSON Object Constructor- Parameters:
jo
- A Json-Object having data about an instance of'AnimationEffect'
.
-
-
Method Detail
-
optionals
public boolean[] optionals()
Description copied from class:BaseType
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null. When binding aJsonObject
to a Java-Object, if some of the expected fields for the Java-Object map to Properties which might be left-out or omitted, then that may be indicated by setting that fields array positionTRUE
.
NOTE: This array should have a length equal to the number of fields contained by the Java Object. The first boolean in the array should specify whether the first Object Field may by absent. The second boolean should specify whether the second Object Field is optional in the JSON - and so on and so forth...
-
equals
public boolean equals(java.lang.Object other)
Checks whether'this'
equals an input Java-Object
- Overrides:
equals
in classjava.lang.Object
- Code:
- Exact Method Body:
if (other == null) return false; if (other.getClass() != this.getClass()) return false; AnimationEffect o = (AnimationEffect) other; return Objects.equals(this.delay, o.delay) && Objects.equals(this.endDelay, o.endDelay) && Objects.equals(this.iterationStart, o.iterationStart) && Objects.equals(this.iterations, o.iterations) && Objects.equals(this.duration, o.duration) && Objects.equals(this.direction, o.direction) && Objects.equals(this.fill, o.fill) && Objects.equals(this.backendNodeId, o.backendNodeId) && Objects.equals(this.keyframesRule, o.keyframesRule) && Objects.equals(this.easing, o.easing);
-
hashCode
public int hashCode()
Generates a Hash-Code for'this'
instance- Overrides:
hashCode
in classjava.lang.Object
- Code:
- Exact Method Body:
return Objects.hashCode(this.delay) + Objects.hashCode(this.endDelay) + Objects.hashCode(this.iterationStart) + Objects.hashCode(this.iterations) + Objects.hashCode(this.duration) + Objects.hashCode(this.direction) + Objects.hashCode(this.fill) + Objects.hashCode(this.backendNodeId) + this.keyframesRule.hashCode() + Objects.hashCode(this.easing);
-
-