Package org.teamapps.dto
Class UiMap2.SetLocationCommand
java.lang.Object
org.teamapps.dto.UiMap2.SetLocationCommand
- All Implemented Interfaces:
UiCommand<java.lang.Void>
- Enclosing class:
- UiMap2
public static class UiMap2.SetLocationCommand extends java.lang.Object implements UiCommand<java.lang.Void>
-
Field Summary
Fields Modifier and Type Field Description protected longanimationDurationMillisprotected java.lang.StringcomponentIdprotected UiMapLocationlocationprotected floattargetZoomLevel -
Constructor Summary
Constructors Constructor Description SetLocationCommand()Deprecated.Only for Jackson deserialization.SetLocationCommand(java.lang.String componentId, UiMapLocation location, long animationDurationMillis, float targetZoomLevel) -
Method Summary
Modifier and Type Method Description longgetAnimationDurationMillis()java.lang.StringgetComponentId()UiMapLocationgetLocation()floatgetTargetZoomLevel()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
componentId
protected java.lang.String componentId -
location
-
animationDurationMillis
protected long animationDurationMillis -
targetZoomLevel
protected float targetZoomLevel
-
-
Constructor Details
-
SetLocationCommand
@Deprecated public SetLocationCommand()Deprecated.Only for Jackson deserialization. Use the other constructor instead. -
SetLocationCommand
public SetLocationCommand(java.lang.String componentId, UiMapLocation location, long animationDurationMillis, float targetZoomLevel)
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
getComponentId
public java.lang.String getComponentId()- Specified by:
getComponentIdin interfaceUiCommand<java.lang.Void>
-
getLocation
-
getAnimationDurationMillis
public long getAnimationDurationMillis() -
getTargetZoomLevel
public float getTargetZoomLevel()
-