DESY ACOP Beans Home

de.desy.acop.displayers.table
Enum TableColumnType

java.lang.Object
  extended by java.lang.Enum<TableColumnType>
      extended by de.desy.acop.displayers.table.TableColumnType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TableColumnType>

public enum TableColumnType
extends java.lang.Enum<TableColumnType>

Describes the types of the AcopTableColumn which can be shown in the AcopTable. Four types are supported:

Version:
$Id: Templates.xml,v 1.10 2004/01/13 16:17:13 jbobnar Exp $
Author:
Jaka Bobnar
See Also:
AcopTableColumn

Enum Constant Summary
BIT
           
NAME
           
STRING
           
VALUE
           
 
Method Summary
static TableColumnType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TableColumnType[] 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

NAME

public static final TableColumnType NAME

VALUE

public static final TableColumnType VALUE

BIT

public static final TableColumnType BIT

STRING

public static final TableColumnType STRING
Method Detail

values

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

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

valueOf

public static TableColumnType 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 © 2010. All Rights Reserved.