public interface TimelineModel
The timeline controls the currently selected time interval, accessible in the
DynamicAPI
. When enabled, it maintains the time scale and the position
of the interval.
It also holds configuration values for animation such as speed and step size.
Modifier and Type | Interface and Description |
---|---|
static class |
TimelineModel.PlayMode
Defines how the interval is moved when animating.
|
Modifier and Type | Method and Description |
---|---|
TimelineChart |
getChart()
Returns the current timeline chart or
null if node. |
double |
getCustomMax()
Returns the custom max value.
|
double |
getCustomMin()
Returns the custom min value.
|
double |
getIntervalEnd()
Returns the upper bound of the interval.
|
double |
getIntervalStart()
Returns the lower bound of the interval.
|
double |
getMax()
Returns the max value of the time scale.
|
double |
getMin()
Returns the min value of the time scale.
|
int |
getPlayDelay()
Returns the play delay in milliseconds.
|
TimelineModel.PlayMode |
getPlayMode()
Returns the play mode.
|
double |
getPlayStep()
Returns the play step.
|
TimeFormat |
getTimeFormat()
Returns the current time format.
|
boolean |
hasCustomBounds()
Returns
true if custom bounds are defined. |
boolean |
hasValidBounds()
Returns
true if none of the min and max time values are infinity. |
boolean |
isEnabled()
Returns
true if the timeline is enabled. |
boolean |
isPlaying()
Returns
true if the timeline is playing. |
boolean isEnabled()
true
if the timeline is enabled. When enabled, the timeline
is filtering the current graph.true
if the timeline is enabled, false
otherwisedouble getMin()
double getMax()
double getCustomMin()
min
double getCustomMax()
max
boolean hasCustomBounds()
true
if custom bounds are defined. Returns false
when custom bounds are equal to min
and max
.true
if custom bounds are defined, false
otherwise.boolean hasValidBounds()
true
if none of the min and max time values are infinity.true
if the time scale is valid, false
otherwisedouble getIntervalStart()
double getIntervalEnd()
TimeFormat getTimeFormat()
DOUBLE
int getPlayDelay()
double getPlayStep()
boolean isPlaying()
true
if the timeline is playing.true
is playing, false
otherwiseTimelineModel.PlayMode getPlayMode()
TimelineChart getChart()
null
if node.null
Copyright © 2007–2015 Gephi Consortium. All rights reserved.