VLab Common 1.2

pl.psnc.vlab.eventlog.type
Enum EventLogType

java.lang.Object
  extended by java.lang.Enum<EventLogType>
      extended by pl.psnc.vlab.eventlog.type.EventLogType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EventLogType>

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

EventLogType enum - types of log events, which are displayed in the EventLogPane.

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

Enum Constant Summary
ERROR
           
INFO
           
 
Method Summary
 javax.swing.ImageIcon getImage()
          Get image icon for this event log type
 java.lang.String getName()
          Get internationalised name of this article state
 java.lang.String toString()
           
static EventLogType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EventLogType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ERROR

public static final EventLogType ERROR

INFO

public static final EventLogType INFO
Method Detail

values

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

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

valueOf

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<EventLogType>

getName

public java.lang.String getName()
Get internationalised name of this article state

Returns:
get internationalised name of this article state

getImage

public javax.swing.ImageIcon getImage()
Get image icon for this event log type

Returns:
the image icon for this event log type

VLab Common 1.2

Copyright 2004 by VLAB Dominik Stoklosa.