org.gicentre.treemappa
Enum Layout

java.lang.Object
  extended by java.lang.Enum<Layout>
      extended by org.gicentre.treemappa.Layout
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Layout>

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

Represents the types of layout supported by the TreeMap application.

Version:
3.0, 23rd February, 2011.
Author:
Jo Wood, giCentre.

Enum Constant Summary
FREE
          Indicates layout is not constrained in a horizontal or vertical direction.
HORIZONTAL
          Indicates layout should partition space in horizontal strips.
MORTON
          Indicates Morton ordered layout.
ORDERED_SQUARIFIED
          Indicates ordered squarified layout.
PIVOT_MIDDLE
          Indicates pivot by middle layout.
PIVOT_SIZE
          Indicates pivot by size layout.
PIVOT_SPACE
          Indicates pivot by space layout.
PIVOT_SPLIT_SIZE
          Indicates pivot by split size layout.
SLICE_AND_DICE
          Indicates slice and dice layout.
SPATIAL
          Indicates spatial layout.
SPATIAL_AV
           
SQUARIFIED
          Indicates squarified layout.
STRIP
          Indicates strip map layout.
VERTICAL
          Indicates layout should partition space in vertical strips.
 
Method Summary
 java.lang.String toString()
           
static Layout valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Layout[] 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

SLICE_AND_DICE

public static final Layout SLICE_AND_DICE
Indicates slice and dice layout.


SQUARIFIED

public static final Layout SQUARIFIED
Indicates squarified layout.


ORDERED_SQUARIFIED

public static final Layout ORDERED_SQUARIFIED
Indicates ordered squarified layout.


MORTON

public static final Layout MORTON
Indicates Morton ordered layout.


SPATIAL

public static final Layout SPATIAL
Indicates spatial layout.


SPATIAL_AV

public static final Layout SPATIAL_AV

PIVOT_MIDDLE

public static final Layout PIVOT_MIDDLE
Indicates pivot by middle layout.


PIVOT_SIZE

public static final Layout PIVOT_SIZE
Indicates pivot by size layout.


PIVOT_SPLIT_SIZE

public static final Layout PIVOT_SPLIT_SIZE
Indicates pivot by split size layout.


PIVOT_SPACE

public static final Layout PIVOT_SPACE
Indicates pivot by space layout.


STRIP

public static final Layout STRIP
Indicates strip map layout.


HORIZONTAL

public static final Layout HORIZONTAL
Indicates layout should partition space in horizontal strips.


VERTICAL

public static final Layout VERTICAL
Indicates layout should partition space in vertical strips.


FREE

public static final Layout FREE
Indicates layout is not constrained in a horizontal or vertical direction.

Method Detail

values

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

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

valueOf

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


treeMappa V.3.0.1, API documentation generated 4th April, 2011