org.geotoolkit.gui.swing
Enum LoggingPanel.Column

Object
  extended by Enum<LoggingPanel.Column>
      extended by LoggingPanel.Column
All Implemented Interfaces:
Serializable, Comparable<LoggingPanel.Column>
Enclosing class:
LoggingPanel

public static enum LoggingPanel.Column
extends Enum<LoggingPanel.Column>

Enumeration class for columns to be shown in a LoggingPanel.

Since:
2.0
Version:
3.00
Author:
Martin Desruisseaux (IRD)
See Also:
LoggingPanel.setColumnVisible(org.geotoolkit.gui.swing.LoggingPanel.Column, boolean)
Module:
display/geotk-widgets-swing (download)    View source code for this class

Enum Constant Summary
CLASS
          The column displaying the originating class.
LEVEL
          The column displaying the log record level.
LOGGER
          The column displaying the logger name.
MESSAGE
          The column displaying the message.
METHOD
          The column displaying the originating method.
TIME_OF_DAY
          The column displaying the log record time.
 
Method Summary
static LoggingPanel.Column valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LoggingPanel.Column[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LOGGER

public static final LoggingPanel.Column LOGGER
The column displaying the logger name.


CLASS

public static final LoggingPanel.Column CLASS
The column displaying the originating class.


METHOD

public static final LoggingPanel.Column METHOD
The column displaying the originating method.


TIME_OF_DAY

public static final LoggingPanel.Column TIME_OF_DAY
The column displaying the log record time.


LEVEL

public static final LoggingPanel.Column LEVEL
The column displaying the log record level.


MESSAGE

public static final LoggingPanel.Column MESSAGE
The column displaying the message.

Method Detail

values

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

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

valueOf

public static LoggingPanel.Column 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 © 2009-2012 Geotoolkit.org. All Rights Reserved.