EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.tucana
Enum ButtonDisplay

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

public enum ButtonDisplay
extends Enum<ButtonDisplay>

Enumeration of values for setting FileUploadSelector.PROPERTY_BUTTON_DISPLAY

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

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

Enum Constant Summary
auto
          Indicates that the submit button position relative to the file selection input should be treated using browser/platform defaults.
left
          Indicates that the submit button should be displayed to the left side of the file selection input.
none
          Indicates that no submit button is to be displayed.
right
          Indicates that the submit button should be displayed to the right side of the file selection input.
 
Method Summary
static ButtonDisplay valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ButtonDisplay[] 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

right

public static final ButtonDisplay right
Indicates that the submit button should be displayed to the right side of the file selection input.


left

public static final ButtonDisplay left
Indicates that the submit button should be displayed to the left side of the file selection input.


auto

public static final ButtonDisplay auto
Indicates that the submit button position relative to the file selection input should be treated using browser/platform defaults. All browsers exception Safari will use right.


none

public static final ButtonDisplay none
Indicates that no submit button is to be displayed. The file upload should start as soon as it is selected in the file selection dialogue.

Method Detail

values

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

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

valueOf

public static ButtonDisplay 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