@JsType(isNative=true,
namespace="Cesium",
name="FullscreenButtonViewModel")
public class FullscreenButtonViewModel
extends Object
FullscreenButton.| Modifier and Type | Field and Description |
|---|---|
Command |
command
Gets the Command to toggle fullscreen mode.
|
com.google.gwt.dom.client.Element |
fullscreenElement
Gets or sets the HTML element to place into fullscreen mode when the corresponding button is pressed.
|
boolean |
isFullscreen
Gets whether or not fullscreen mode is active.
|
boolean |
isFullscreenEnabled
Gets or sets whether or not fullscreen functionality should be enabled.
|
String |
tooltip
Gets the tooltip.
|
| Constructor and Description |
|---|
FullscreenButtonViewModel()
The view model for
FullscreenButton. |
FullscreenButtonViewModel(com.google.gwt.dom.client.Element fullscreenElement)
The view model for
FullscreenButton. |
FullscreenButtonViewModel(String fullscreenElement)
The view model for
FullscreenButton. |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys the view model.
|
boolean |
isDestroyed()
true if the object has been destroyed, false otherwise.
|
@JsProperty public Command command
@JsProperty public com.google.gwt.dom.client.Element fullscreenElement
@JsProperty public boolean isFullscreen
@JsProperty public boolean isFullscreenEnabled
Fullscreen.enabled()@JsProperty public String tooltip
@JsConstructor public FullscreenButtonViewModel()
FullscreenButton.@JsConstructor public FullscreenButtonViewModel(String fullscreenElement)
FullscreenButton.fullscreenElement - The element or id to be placed into fullscreen mode.@JsConstructor public FullscreenButtonViewModel(com.google.gwt.dom.client.Element fullscreenElement)
FullscreenButton.fullscreenElement - The element or id to be placed into fullscreen mode.@JsMethod public void destroy()
@JsMethod public boolean isDestroyed()
Copyright © 2019. All rights reserved.