AI2 Component
(Version nb184)
|
Public Member Functions | |
T | visit (MapMarker marker, Object... arguments) |
T | visit (MapLineString lineString, Object... arguments) |
T | visit (MapPolygon polygon, Object... arguments) |
T | visit (MapCircle circle, Object... arguments) |
T | visit (MapRectangle rectangle, Object... arguments) |
MapFeatureVisitor is a realization of the Visitor design pattern for MapFeature. It allows the features to differentiate themselves so that type-specific processing can occur on the feature.
<T> | the return type that the visit method will return. If nothing will be returned, use Void and return null . |
Definition at line 745 of file MapFactory.java.
T com.google.appinventor.components.runtime.util.MapFactory.MapFeatureVisitor< T >.visit | ( | MapCircle | circle, |
Object... | arguments | ||
) |
Visit the MapCircle.
circle | the circle to visit |
arguments | any additional arguments passed to the MapFeature#accept(MapFeatureVisitor, Object...) method. |
T com.google.appinventor.components.runtime.util.MapFactory.MapFeatureVisitor< T >.visit | ( | MapLineString | lineString, |
Object... | arguments | ||
) |
Visit the MapLineString.
lineString | the linestring to visit |
arguments | any additional arguments passed to the MapFeature#accept(MapFeatureVisitor, Object...) method. |
T com.google.appinventor.components.runtime.util.MapFactory.MapFeatureVisitor< T >.visit | ( | MapMarker | marker, |
Object... | arguments | ||
) |
Visit the MapMarker.
marker | the marker to visit |
arguments | any additional arguments passed to the MapFeature#accept(MapFeatureVisitor, Object...) method. |
T com.google.appinventor.components.runtime.util.MapFactory.MapFeatureVisitor< T >.visit | ( | MapPolygon | polygon, |
Object... | arguments | ||
) |
Visit the MapPolygon.
polygon | the polygon to visit |
arguments | any additional arguments passed to the MapFeature#accept(MapFeatureVisitor, Object...) method. |
T com.google.appinventor.components.runtime.util.MapFactory.MapFeatureVisitor< T >.visit | ( | MapRectangle | rectangle, |
Object... | arguments | ||
) |
Visit the MapRectangle.
rectangle | the rectangle to visit |
arguments | any additional arguments passed to the MapFeature#accept(MapFeatureVisitor, Object...) method. |