@JsType(isNative=true,
namespace="Cesium",
name="Timeline")
public class Timeline
extends Object
| Modifier and Type | Field and Description |
|---|---|
com.google.gwt.dom.client.Element |
container
Gets the parent container.
|
| Constructor and Description |
|---|
Timeline(com.google.gwt.dom.client.Element element,
Clock clock)
The Timeline is a widget for displaying and controlling the current scene time.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys the widget.
|
boolean |
isDestroyed()
true if the object has been destroyed, false otherwise.
|
boolean |
isHidden()
Request for visible of Timeline widget.
|
void |
resize()
Resizes the widget to match the container size.
|
void |
setHidden(boolean hidden)
Method set visible of Timeline widget
|
void |
zoomTo(JulianDate startTime,
JulianDate stopTime)
Sets the view to the provided times.
|
@JsProperty public com.google.gwt.dom.client.Element container
@JsConstructor
public Timeline(com.google.gwt.dom.client.Element element,
Clock clock)
element - The parent HTML container node for this widget.clock - The clock to use.@JsMethod public void destroy()
@JsMethod public boolean isDestroyed()
@JsMethod public void resize()
@JsMethod public void zoomTo(JulianDate startTime, JulianDate stopTime)
startTime - The start time.stopTime - The stop time.@JsOverlay public final void setHidden(boolean hidden)
hidden - false to hide Timeline widget, true widget is show.@JsOverlay public final boolean isHidden()
Copyright © 2019. All rights reserved.