@JsType(isNative=true, namespace="Cesium", name="Command") public abstract class Command extends Object
Cesium.createCommand(org.cesiumjs.cs.Cesium.Function)
to create a command from a function.Modifier and Type | Field and Description |
---|---|
Event |
afterExecute
Gets an event which is raised after the command executes, the event is raised with the return value of
the command as its only parameter.
|
Event |
beforeExecute
Gets an event which is raised before the command executes, the event is raised with an object containing
two properties: a cancel property, which if set to false by the listener will prevent the command from being executed,
and an args property, which is the array of arguments being passed to the command.
|
boolean |
canExecute
Gets whether this command can currently be executed.
|
@JsProperty public Event afterExecute
@JsProperty public Event beforeExecute
@JsProperty public boolean canExecute
Copyright © 2019. All rights reserved.