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

RegionOrientation - JBOSS Portal 2.6 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.

Version:
$LastChangedRevision: 5448 $, $LastChangedDate: 2006-10-13 15:29:17 -0400 (Fri, 13 Oct 2006) $
Author:
Region

Field Summary
static RegionOrientation DEFAULT
           
static RegionOrientation HORIZONTAL
          Place portlets in one region in horizontal order.
private  java.lang.String m_orient
           
static RegionOrientation VERTICAL
          Place portlets in one region in vertical order.
 
Constructor Summary
private RegionOrientation()
           
private RegionOrientation(java.lang.String orient)
           
 
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.


DEFAULT

public static final RegionOrientation DEFAULT

m_orient

private final java.lang.String m_orient
Constructor Detail

RegionOrientation

private RegionOrientation()

RegionOrientation

private RegionOrientation(java.lang.String orient)
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