VLab Common 1.2

pl.psnc.vlab.util.gui.table
Enum TableColumns

java.lang.Object
  extended by java.lang.Enum<TableColumns>
      extended by pl.psnc.vlab.util.gui.table.TableColumns
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TableColumns>, IColumnInfo

public enum TableColumns
extends java.lang.Enum<TableColumns>
implements IColumnInfo

TableColumns enum - list of JTable common columns. Column names are internationalised.

Author:
Dominik Stoklosa (~osa~)
Email address
osa@man.poznan.pl

Enum Constant Summary
EVENT_DATE
           
EVENT_DETAILS
           
EVENT_MESSAGE
           
EVENT_TYPE_ICON
           
EVENT_TYPE_NAME
           
 
Method Summary
 AbstractColumnType getColumnType()
          Get column type, instance of AbstractColumnType
static TableColumns valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TableColumns[] 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

EVENT_TYPE_ICON

public static final TableColumns EVENT_TYPE_ICON

EVENT_TYPE_NAME

public static final TableColumns EVENT_TYPE_NAME

EVENT_DATE

public static final TableColumns EVENT_DATE

EVENT_MESSAGE

public static final TableColumns EVENT_MESSAGE

EVENT_DETAILS

public static final TableColumns EVENT_DETAILS
Method Detail

values

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

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

valueOf

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

getColumnType

public AbstractColumnType getColumnType()
Description copied from interface: IColumnInfo
Get column type, instance of AbstractColumnType

Specified by:
getColumnType in interface IColumnInfo
Returns:
column type, instance of AbstractColumnType

VLab Common 1.2

Copyright 2004 by VLAB Dominik Stoklosa.