@JsType(isNative=true,
namespace="Cesium",
name="ProjectionPicker")
public class ProjectionPicker
extends Object
| Modifier and Type | Field and Description |
|---|---|
com.google.gwt.dom.client.Element |
container
Gets the parent container.
|
ProjectionPickerViewModel |
viewModel
Gets the view model.
|
| Constructor and Description |
|---|
ProjectionPicker(com.google.gwt.dom.client.Element container,
Scene scene)
The ProjectionPicker is a single button widget for switching between perspective and orthographic projections.
|
ProjectionPicker(String container,
Scene scene)
The ProjectionPicker is a single button widget for switching between perspective and orthographic projections.
|
| 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 ProjectionPickerViewModel viewModel
@JsConstructor public ProjectionPicker(String container, Scene scene)
container - The ID that will contain the widget.scene - The Scene instance to use.@JsConstructor
public ProjectionPicker(com.google.gwt.dom.client.Element container,
Scene scene)
container - The DOM element that will contain the widget.scene - The Scene instance to use.@JsMethod public void destroy()
@JsMethod public boolean isDestroyed()
Copyright © 2019. All rights reserved.