public static enum IEditor.Mode extends Enum<IEditor.Mode>
Modifier and Type | Method and Description |
---|---|
static IEditor.Mode |
fromString(String mode) |
static IEditor.Mode |
fromString(String mode,
IEditor.Mode defaultValue) |
String |
toString() |
static IEditor.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IEditor.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IEditor.Mode VIEW
public static final IEditor.Mode EDIT
public static final IEditor.Mode COMPARE
public static IEditor.Mode[] values()
for (IEditor.Mode c : IEditor.Mode.values()) System.out.println(c);
public static IEditor.Mode 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 nullpublic static IEditor.Mode fromString(String mode)
public static IEditor.Mode fromString(String mode, IEditor.Mode defaultValue)
public String toString()
toString
in class Enum<IEditor.Mode>
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.