org.efaps.ui.wicket.behaviors.dojo
Enum ContentPaneBehavior.Region

java.lang.Object
  extended by java.lang.Enum<ContentPaneBehavior.Region>
      extended by org.efaps.ui.wicket.behaviors.dojo.ContentPaneBehavior.Region
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ContentPaneBehavior.Region>
Enclosing class:
ContentPaneBehavior

public static enum ContentPaneBehavior.Region
extends java.lang.Enum<ContentPaneBehavior.Region>

Enum is used when this ContentPaneBehavior is used as a child inside a BorderContainer. The BorderContainer is widget is partitioned into up to five regions: left (or leading), right (or trailing), top, and bottom with a mandatory center to fill in any remaining space. Each edge region may have an optional splitter user interface for manual resizing.


Enum Constant Summary
BOTTOM
          bottom region.
CENTER
          center region.
LEADING
          leading region.
LEFT
          left region.
RIGHT
          right region.
TOP
          top region.
TRAILING
          trailing region.
 
Method Summary
 java.lang.String getKey()
          Getter method for instance variable key.
static ContentPaneBehavior.Region valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ContentPaneBehavior.Region[] 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

CENTER

public static final ContentPaneBehavior.Region CENTER
center region.


TOP

public static final ContentPaneBehavior.Region TOP
top region.


BOTTOM

public static final ContentPaneBehavior.Region BOTTOM
bottom region.


LEADING

public static final ContentPaneBehavior.Region LEADING
leading region.


TRAILING

public static final ContentPaneBehavior.Region TRAILING
trailing region.


LEFT

public static final ContentPaneBehavior.Region LEFT
left region.


RIGHT

public static final ContentPaneBehavior.Region RIGHT
right region.

Method Detail

values

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

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

valueOf

public static ContentPaneBehavior.Region 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

getKey

public java.lang.String getKey()
Getter method for instance variable key.

Returns:
value of instance variable key


Copyright © 2003-2010 The eFaps Team. All Rights Reserved.