站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

RegionOrientation - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.theme.page
Class RegionOrientation

java.lang.Object
  extended byorg.jboss.portal.theme.page.RegionOrientation

public final class RegionOrientation
extends java.lang.Object

Type save enumeration of allowed region orientations.

See Also:
Region

Field Summary
static RegionOrientation HORIZONTAL
          Place portlets in one region in horizontal order.
static RegionOrientation VERTICAL
          Place portlets in one region in vertical order.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
static RegionOrientation parseOrientation(java.lang.String orientation)
          parse a string representation of a region orientation into a defined type.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

VERTICAL

public static final RegionOrientation VERTICAL
Place portlets in one region in vertical order.


HORIZONTAL

public static final RegionOrientation HORIZONTAL
Place portlets in one region in horizontal order.

Method Detail

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

parseOrientation

public static RegionOrientation parseOrientation(java.lang.String orientation)
parse a string representation of a region orientation into a defined type.

Parameters:
orientation - the string representation of the orientation
Returns:
the defined type for the string
Throws:
java.lang.IllegalArgumentException - if the provided orientation String is invalid