16 private final NativeObject nativeObject;
18 ModelMapObjectBinding(NativeObject nativeObject)
20 this.nativeObject = nativeObject;
31 return native_setPosition(point, sublocationId);
33 private native
boolean native_setPosition(
GlobalPoint point, Integer sublocationId);
38 return native_setPositionAnimated(point, sublocationId, duration, type);
40 private native
boolean native_setPositionAnimated(
GlobalPoint point, Integer sublocationId,
float duration,
AnimationType type);
43 public boolean setModel(com.navigine.model.ModelProvider model)
45 return native_setModel(model);
47 private native
boolean native_setModel(com.navigine.model.ModelProvider model);
50 public boolean setSize(
float width,
float height)
52 return native_setSize(width, height);
54 private native
boolean native_setSize(
float width,
float height);
59 return native_setCollisionEnabled(enabled);
61 private native
boolean native_setCollisionEnabled(
boolean enabled);
66 return native_setAngle(angle);
68 private native
boolean native_setAngle(
float angle);
73 return native_setAngleAnimated(angle, duration, type);
75 private native
boolean native_setAngleAnimated(
float angle,
float duration,
AnimationType type);
80 return native_setBuffer(width, height);
82 private native
boolean native_setBuffer(
float width,
float height);
87 return native_setPriority(priority);
89 private native
boolean native_setPriority(
float priority);
96 return native_getId();
98 private native
int native_getId();
103 return native_getType();
110 return native_getData();
112 private native
byte[] native_getData();
117 return native_setVisible(visible);
119 private native
boolean native_setVisible(
boolean visible);
124 return native_setInteractive(interactive);
126 private native
boolean native_setInteractive(
boolean interactive);
131 native_setData(data);
133 private native
void native_setData(
byte[] data);
138 return native_setTitle(title);
140 private native
boolean native_setTitle(String title);
145 return native_setTitleWithStyle(title, style);
147 private native
boolean native_setTitleWithStyle(String title,
TitleStyle style);
152 return native_setAlpha(alpha);
154 private native
boolean native_setAlpha(
float alpha);