de.jaret.util.ui.timebars
Enum TimeBarViewerInterface.Orientation

java.lang.Object
  extended by java.lang.Enum<TimeBarViewerInterface.Orientation>
      extended by de.jaret.util.ui.timebars.TimeBarViewerInterface.Orientation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TimeBarViewerInterface.Orientation>
Enclosing interface:
TimeBarViewerInterface

public static enum TimeBarViewerInterface.Orientation
extends java.lang.Enum<TimeBarViewerInterface.Orientation>

enum for the possible orientations.

See Also:
setOrientation.

Enum Constant Summary
HORIZONTAL
          horizontal orientation.
VERTICAL
          vertical orientation.
 
Method Summary
static TimeBarViewerInterface.Orientation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TimeBarViewerInterface.Orientation[] 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

HORIZONTAL

public static final TimeBarViewerInterface.Orientation HORIZONTAL
horizontal orientation.


VERTICAL

public static final TimeBarViewerInterface.Orientation VERTICAL
vertical orientation.

Method Detail

values

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

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

valueOf

public static TimeBarViewerInterface.Orientation 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 © 2012. All Rights Reserved.