org.apertereports.common
Enum ReportConstants.InputTypes

java.lang.Object
  extended by java.lang.Enum<ReportConstants.InputTypes>
      extended by org.apertereports.common.ReportConstants.InputTypes
All Implemented Interfaces:
Serializable, Comparable<ReportConstants.InputTypes>
Enclosing interface:
ReportConstants

public static enum ReportConstants.InputTypes
extends Enum<ReportConstants.InputTypes>

Represents report parameter input types. This is transformed into an adequate Vaadin input widget.


Enum Constant Summary
CHECKBOX
           
CHECKBOXES
           
DATE
           
FILTER
           
FILTERED_SELECT
           
MULTISELECT
           
RADIOBUTTONS
           
SELECT
           
SPECIAL_CONTROL
           
TEXT
           
TEXTAREA
           
 
Method Summary
static ReportConstants.InputTypes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ReportConstants.InputTypes[] 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

TEXT

public static final ReportConstants.InputTypes TEXT

DATE

public static final ReportConstants.InputTypes DATE

TEXTAREA

public static final ReportConstants.InputTypes TEXTAREA

SELECT

public static final ReportConstants.InputTypes SELECT

MULTISELECT

public static final ReportConstants.InputTypes MULTISELECT

RADIOBUTTONS

public static final ReportConstants.InputTypes RADIOBUTTONS

CHECKBOXES

public static final ReportConstants.InputTypes CHECKBOXES

CHECKBOX

public static final ReportConstants.InputTypes CHECKBOX

SPECIAL_CONTROL

public static final ReportConstants.InputTypes SPECIAL_CONTROL

FILTER

public static final ReportConstants.InputTypes FILTER

FILTERED_SELECT

public static final ReportConstants.InputTypes FILTERED_SELECT
Method Detail

values

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

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

valueOf

public static ReportConstants.InputTypes 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


Copyright © 2011-2012. All Rights Reserved.