20 private final NativeObject nativeObject;
22 RouteLayerBinding(NativeObject nativeObject)
24 this.nativeObject = nativeObject;
30 return createRouteLayerListener(listener);
33 private static native NativeObject createRouteLayerListener(
RouteLayerListener listener);
38 return createRouteViewListener(listener);
41 private static native NativeObject createRouteViewListener(
RouteViewListener listener);
51 native_setVisible(visible);
53 private native
void native_setVisible(
boolean visible);
58 return native_isVisible();
60 private native
boolean native_isVisible();
65 native_setTarget(target);
72 native_setRoute(from, to);
81 private native
void native_clear();
86 return native_routes();
88 private native ArrayList<RouteView> native_routes();
93 return native_selectedRoute();
95 private native
RouteView native_selectedRoute();
100 native_selectRoute(route);
102 private native
void native_selectRoute(
RouteView route);
107 native_addRouteLayerListener(listener);
114 native_removeRouteLayerListener(listener);
121 native_addRouteViewListener(listener);
128 native_removeRouteViewListener(listener);
135 native_setTraveledColor(color);
137 private native
void native_setTraveledColor(
int color);
142 native_setRemainingColor(color);
144 private native
void native_setRemainingColor(
int color);
149 native_setWidth(width);
151 private native
void native_setWidth(
float width);
156 native_setRemainingStyle(style);
163 return native_remainingStyle();
170 native_setRemainingDashLength(dashLength);
172 private native
void native_setRemainingDashLength(
float dashLength);
177 native_setRemainingGapLength(gapLength);
179 private native
void native_setRemainingGapLength(
float gapLength);
184 native_setRemainingPointSize(width, height);
186 private native
void native_setRemainingPointSize(
float width,
float height);
191 native_setRemainingPlacement(placement);
193 private native
void native_setRemainingPlacement(
Placement placement);
198 native_setRemainingPlacementSpacing(spacing);
200 private native
void native_setRemainingPlacementSpacing(
float spacing);
205 native_setRemainingPlacementMinRatio(ratio);
207 private native
void native_setRemainingPlacementMinRatio(
float ratio);
212 native_setRemainingCollisionEnabled(enabled);
214 private native
void native_setRemainingCollisionEnabled(
boolean enabled);