当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
RegionOrientation - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.theme.page
Class RegionOrientation
java.lang.Object
org.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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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
RegionOrientation
private RegionOrientation()
RegionOrientation
private RegionOrientation(java.lang.String orient)
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