Class Animation
- java.lang.Object
-
- org.openqa.selenium.devtools.v114.animation.model.Animation
-
public class Animation extends java.lang.Object
Animation instance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Animation.Type
-
Constructor Summary
Constructors Constructor Description Animation(java.lang.String id, java.lang.String name, java.lang.Boolean pausedState, java.lang.String playState, java.lang.Number playbackRate, java.lang.Number startTime, java.lang.Number currentTime, Animation.Type type, java.util.Optional<AnimationEffect> source, java.util.Optional<java.lang.String> cssId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
getCssId()
A unique ID for `Animation` representing the sources that triggered this CSS animation/transition.java.lang.Number
getCurrentTime()
`Animation`'s current time.java.lang.String
getId()
`Animation`'s id.java.lang.String
getName()
`Animation`'s name.java.lang.Boolean
getPausedState()
`Animation`'s internal paused state.java.lang.Number
getPlaybackRate()
`Animation`'s playback rate.java.lang.String
getPlayState()
`Animation`'s play state.java.util.Optional<AnimationEffect>
getSource()
`Animation`'s source animation node.java.lang.Number
getStartTime()
`Animation`'s start time.Animation.Type
getType()
Animation type of `Animation`.
-
-
-
Constructor Detail
-
Animation
public Animation(java.lang.String id, java.lang.String name, java.lang.Boolean pausedState, java.lang.String playState, java.lang.Number playbackRate, java.lang.Number startTime, java.lang.Number currentTime, Animation.Type type, java.util.Optional<AnimationEffect> source, java.util.Optional<java.lang.String> cssId)
-
-
Method Detail
-
getId
public java.lang.String getId()
`Animation`'s id.
-
getName
public java.lang.String getName()
`Animation`'s name.
-
getPausedState
public java.lang.Boolean getPausedState()
`Animation`'s internal paused state.
-
getPlayState
public java.lang.String getPlayState()
`Animation`'s play state.
-
getPlaybackRate
public java.lang.Number getPlaybackRate()
`Animation`'s playback rate.
-
getStartTime
public java.lang.Number getStartTime()
`Animation`'s start time.
-
getCurrentTime
public java.lang.Number getCurrentTime()
`Animation`'s current time.
-
getType
public Animation.Type getType()
Animation type of `Animation`.
-
getSource
public java.util.Optional<AnimationEffect> getSource()
`Animation`'s source animation node.
-
getCssId
public java.util.Optional<java.lang.String> getCssId()
A unique ID for `Animation` representing the sources that triggered this CSS animation/transition.
-
-