|
Gephi Toolkit Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TimelineModel
Timeline model which holds timeline bounds, interval and animation flags.
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.
| Nested Class Summary | |
|---|---|
static class |
TimelineModel.PlayMode
Defines how the interval is moved when animating. |
| Method Summary | |
|---|---|
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. |
DynamicModel.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. |
| Method Detail |
|---|
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()
DynamicModel.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
|
Gephi Toolkit Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||