EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.tucana
Enum ButtonMode

java.lang.Object
  extended by java.lang.Enum<ButtonMode>
      extended by echopoint.tucana.ButtonMode
All Implemented Interfaces:
Serializable, Comparable<ButtonMode>

public enum ButtonMode
extends Enum<ButtonMode>

Enumeration of values for setting FileUploadSelector.PROPERTY_BUTTON_MODE

Note: Development of this component was sponsored by TCN Broadcasting. We are grateful for their support and sponsorship.

Version:
$Id: ButtonMode.java 92 2008-11-11 19:49:44Z sptrakesh $
Author:
Rakesh 2008-11-9

Enum Constant Summary
image
          Indicates that a custom image is to be displayed instead of a text submit button.
submit
          Indicates that a regular <input type='submit'> type control is to be displayed to submit the form.
 
Method Summary
static ButtonMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ButtonMode[] 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

submit

public static final ButtonMode submit
Indicates that a regular <input type='submit'> type control is to be displayed to submit the form.


image

public static final ButtonMode image
Indicates that a custom image is to be displayed instead of a text submit button.

Method Detail

values

public static ButtonMode[] 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 (ButtonMode c : ButtonMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ButtonMode valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

EchoPoint API - 3.0.0b5
App Webcontainer