com.doitnext.swing.widgets.json
Enum JSONEditPanel.UpdateType
java.lang.Object
java.lang.Enum<JSONEditPanel.UpdateType>
com.doitnext.swing.widgets.json.JSONEditPanel.UpdateType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<JSONEditPanel.UpdateType>
- Enclosing class:
- JSONEditPanel
public static enum JSONEditPanel.UpdateType
- extends java.lang.Enum<JSONEditPanel.UpdateType>
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 |
REPLACE
public static final JSONEditPanel.UpdateType REPLACE
INSERT
public static final JSONEditPanel.UpdateType INSERT
APPEND
public static final JSONEditPanel.UpdateType APPEND
AS_CHILD
public static final JSONEditPanel.UpdateType AS_CHILD
values
public static JSONEditPanel.UpdateType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (JSONEditPanel.UpdateType c : JSONEditPanel.UpdateType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static JSONEditPanel.UpdateType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
Copyright © 2011 Stephen P. Owens. All Rights Reserved.