public enum MoveMode extends Enum<MoveMode>
| Enum Constant and Description |
|---|
BACK
Move back to the page above me.
|
NEW
Create a NEW shelve: clear the current shelve and this page becomes the one on top.
|
REDIRECT |
REPLACE
Replace the "current" page with this page, but leave the shelve stack in order.
|
SUB
Shelve the current page and add the new page above it.
|
| Modifier and Type | Method and Description |
|---|---|
static MoveMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MoveMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MoveMode NEW
public static final MoveMode SUB
public static final MoveMode BACK
public static final MoveMode REPLACE
public static final MoveMode REDIRECT
public static MoveMode[] values()
for (MoveMode c : MoveMode.values()) System.out.println(c);
public static MoveMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 etc.to. All rights reserved.