com.dlsc.flexgantt.swing.layer
Enum LayerContainer.RenderingDirection

java.lang.Object
  extended by java.lang.Enum<LayerContainer.RenderingDirection>
      extended by com.dlsc.flexgantt.swing.layer.LayerContainer.RenderingDirection
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LayerContainer.RenderingDirection>
Enclosing class:
LayerContainer

public static enum LayerContainer.RenderingDirection
extends java.lang.Enum<LayerContainer.RenderingDirection>

An enumerator, which can be used to specify a rendering hint for the framework. Timeline objects might get drawn from left to right (default) or right to left. The framework needs to know, which strategy is used by the application so that it can react accordingly.

Since:
1.0

Enum Constant Summary
LEFT_TO_RIGHT
          The application returns timeline object iterators, which iterate in such a way that timeline objects that start earlier are returned first and timeline objects that start later are returned last.
RIGHT_TO_LEFT
          The application returns timeline object iterators, which iterate in such a way that timeline objects that start later are returned first and timeline objects that start earlier are returned last.
 
Method Summary
static LayerContainer.RenderingDirection valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LayerContainer.RenderingDirection[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LEFT_TO_RIGHT

public static final LayerContainer.RenderingDirection LEFT_TO_RIGHT
The application returns timeline object iterators, which iterate in such a way that timeline objects that start earlier are returned first and timeline objects that start later are returned last.

Since:
1.0

RIGHT_TO_LEFT

public static final LayerContainer.RenderingDirection RIGHT_TO_LEFT
The application returns timeline object iterators, which iterate in such a way that timeline objects that start later are returned first and timeline objects that start earlier are returned last.

Since:
1.0
Method Detail

values

public static final LayerContainer.RenderingDirection[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(LayerContainer.RenderingDirection c : LayerContainer.RenderingDirection.values())
        System.out.println(c);

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

valueOf

public static LayerContainer.RenderingDirection 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