|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<FormSubmitEvent.MethodType> javax.swing.text.html.FormSubmitEvent.MethodType
public static enum FormSubmitEvent.MethodType
Represents an HTML form method type.
GET
corresponds to the GET form methodPOST
corresponds to the POST from method
Enum Constant Summary | |
---|---|
GET
|
|
POST
|
Method Summary | |
---|---|
static FormSubmitEvent.MethodType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FormSubmitEvent.MethodType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FormSubmitEvent.MethodType GET
public static final FormSubmitEvent.MethodType POST
Method Detail |
---|
public static final FormSubmitEvent.MethodType[] values()
for(FormSubmitEvent.MethodType c : FormSubmitEvent.MethodType.values()) System.out.println(c);
public static FormSubmitEvent.MethodType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.