MapFeatureContainer defines the API for components that contain MapFeature objects. MapFeatureContainer inherits from ComponentContainer because it contains components. Any new components that are designed to contain MapFeature should implment this interface.
- Author
- ewpat.nosp@m.ton@.nosp@m.mit.e.nosp@m.du (Evan W. Patton)
Definition at line 800 of file MapFactory.java.
◆ addFeature()
void com.google.appinventor.components.runtime.util.MapFactory.MapFeatureContainer.addFeature |
( |
MapFeature |
feature | ) |
|
Adds a feature to the feature collection.
- Parameters
-
feature | the feature to add |
◆ FeatureClick()
void com.google.appinventor.components.runtime.util.MapFactory.MapFeatureContainer.FeatureClick |
( |
MapFeature |
feature | ) |
|
Runs when the app user clicks on a child of the feature collection. Events bubble from the most specific component (i.e., the feature) to the least specific (i.e., the map).
- Parameters
-
feature | the clicked feature |
◆ FeatureDrag()
void com.google.appinventor.components.runtime.util.MapFactory.MapFeatureContainer.FeatureDrag |
( |
MapFeature |
feature | ) |
|
Runs when the app user continues dragging a child of the feature collection. Events bubble from the most specific component (i.e., the feature) to the least specific (i.e., the map).
- Parameters
-
feature | the dragged feature |
◆ FeatureLongClick()
void com.google.appinventor.components.runtime.util.MapFactory.MapFeatureContainer.FeatureLongClick |
( |
MapFeature |
feature | ) |
|
Runs when the app user long-pressed on a child of the feature collection. Events bubble from the most specific component (i.e., the feature) to the least specific (i.e., the map).
- Parameters
-
feature | the long-pressed feature |
◆ Features() [1/2]
YailList com.google.appinventor.components.runtime.util.MapFactory.MapFeatureContainer.Features |
( |
| ) |
|
◆ Features() [2/2]
void com.google.appinventor.components.runtime.util.MapFactory.MapFeatureContainer.Features |
( |
YailList |
features | ) |
|
◆ FeatureStartDrag()
void com.google.appinventor.components.runtime.util.MapFactory.MapFeatureContainer.FeatureStartDrag |
( |
MapFeature |
feature | ) |
|
Runs when the app user starts dragging a child of the feature collection. Events bubble from the most specific component (i.e., the feature) to the least specific (i.e., the map).
- Parameters
-
feature | the dragged feature |
◆ FeatureStopDrag()
void com.google.appinventor.components.runtime.util.MapFactory.MapFeatureContainer.FeatureStopDrag |
( |
MapFeature |
feature | ) |
|
Runs when the app user stop dragging a child of the feature collection. Events bubble from the most specific component (i.e., the feature) to the least specific (i.e., the map).
- Parameters
-
feature | the dragged feature |
◆ getMap()
Map com.google.appinventor.components.runtime.util.MapFactory.MapFeatureContainer.getMap |
( |
| ) |
|
◆ iterator()
Iterator<MapFeature> com.google.appinventor.components.runtime.util.MapFactory.MapFeatureContainer.iterator |
( |
| ) |
|
◆ removeFeature()
void com.google.appinventor.components.runtime.util.MapFactory.MapFeatureContainer.removeFeature |
( |
MapFeature |
feature | ) |
|
The documentation for this interface was generated from the following file:
- C:/Users/Ulli/appinventor-sources/appinventor/components/src/com/google/appinventor/components/runtime/util/MapFactory.java