|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<MapEditMode>
com.partnersoft.maps.app.MapEditMode
public enum MapEditMode
| Enum Constant Summary | |
|---|---|
ADD
Add mode is when the user is adding new graphics by clicking on the map; after one click it reverts to browse mode. |
|
ADD_MANY
Add many mode adds multiple point until the mode is changed. |
|
BROWSE
Browse mode is the default mode, when a user is navigating around in the map and making selections. |
|
CONNECT
Connect mode is when the user is connecting or associating one graphic with another. |
|
MOVE
Move mode is when the user is moving a graphic by clicking on the map. |
|
ROTATE
Rotate mode is when the user is rotating a graphic by clicking on the map. |
|
| Method Summary | |
|---|---|
abstract void |
setup(MapApp app)
Things to do when entering the mode. |
abstract void |
teardown(MapApp app)
Things to do when leaving the mode. |
static MapEditMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MapEditMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MapEditMode BROWSE
public static final MapEditMode ADD
public static final MapEditMode ADD_MANY
public static final MapEditMode MOVE
public static final MapEditMode ROTATE
public static final MapEditMode CONNECT
| Method Detail |
|---|
public static MapEditMode[] values()
for (MapEditMode c : MapEditMode.values()) System.out.println(c);
public static MapEditMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic abstract void setup(MapApp app)
public abstract void teardown(MapApp app)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||