@JsType(isNative=true,
namespace="Cesium",
name="SceneModePicker")
public class SceneModePicker
extends Object
| Modifier and Type | Field and Description |
|---|---|
com.google.gwt.dom.client.Element |
container
Gets the parent container.
|
SceneModePickerViewModel |
viewModel
Gets the view model.
|
| Constructor and Description |
|---|
SceneModePicker(com.google.gwt.dom.client.Element element,
Scene scene)
The SceneModePicker is a single button widget for switching between scene modes; shown to the left in its expanded state.
|
SceneModePicker(com.google.gwt.dom.client.Element element,
Scene scene,
double duration)
The SceneModePicker is a single button widget for switching between scene modes; shown to the left in its expanded state.
|
SceneModePicker(String element,
Scene scene)
The SceneModePicker is a single button widget for switching between scene modes; shown to the left in its expanded state.
|
SceneModePicker(String element,
Scene scene,
double duration)
The SceneModePicker is a single button widget for switching between scene modes; shown to the left in its expanded state.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys the widget.
|
boolean |
isDestroyed()
true if the object has been destroyed, false otherwise.
|
@JsProperty public com.google.gwt.dom.client.Element container
@JsProperty public SceneModePickerViewModel viewModel
@JsConstructor public SceneModePicker(String element, Scene scene)
element - The DOM element or ID that will contain the widget.scene - The Scene instance to use.@JsConstructor
public SceneModePicker(com.google.gwt.dom.client.Element element,
Scene scene)
element - The DOM element or ID that will contain the widget.scene - The Scene instance to use.@JsConstructor public SceneModePicker(String element, Scene scene, double duration)
element - The DOM element or ID that will contain the widget.scene - The Scene instance to use.duration - The time, in seconds, it takes for the scene to transition.@JsConstructor
public SceneModePicker(com.google.gwt.dom.client.Element element,
Scene scene,
double duration)
element - The DOM element or ID that will contain the widget.scene - The Scene instance to use.duration - The time, in seconds, it takes for the scene to transition.@JsMethod public void destroy()
@JsMethod public boolean isDestroyed()
Copyright © 2019. All rights reserved.