This project has retired. For details please refer to its
Attic page.
BasePortletSetConstraints (Jetspeed 1 Enterprise Portal 1.6 API)
org.apache.jetspeed.portal
Class BasePortletSetConstraints
java.lang.Object
java.util.AbstractMap
java.util.HashMap
org.apache.jetspeed.portal.BasePortletSetConstraints
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, PortletSet.Constraints, java.io.Serializable
- public class BasePortletSetConstraints
- extends java.util.HashMap
- implements PortletSet.Constraints
Trivial implementation of PortletSetConstraints
- Version:
- $Id: BasePortletSetConstraints.java,v 1.4 2005/03/21 18:21:41 sgala Exp $
- Author:
- Raphaël Luta
- See Also:
- Serialized Form
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Method Summary |
java.lang.Integer |
getColumn()
Get the column the portlet should be displayed in |
java.lang.Integer |
getRow()
Get the row the portlet should be displayed in |
void |
setColumn(java.lang.Integer col)
Set the column the portlet should be displayed in. |
void |
setRow(java.lang.Integer row)
Set the row the portlet should be displayed in. |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
BasePortletSetConstraints
public BasePortletSetConstraints()
getColumn
public java.lang.Integer getColumn()
- Get the column the portlet should be displayed in
- Specified by:
getColumn
in interface PortletSet.Constraints
- Returns:
- a positive column number or null
setColumn
public void setColumn(java.lang.Integer col)
throws java.lang.IllegalArgumentException
- Set the column the portlet should be displayed in. This
integer must be positive
- Specified by:
setColumn
in interface PortletSet.Constraints
- Parameters:
col
- the column position
- Throws:
java.lang.IllegalArgumentException
getRow
public java.lang.Integer getRow()
- Get the row the portlet should be displayed in
- Specified by:
getRow
in interface PortletSet.Constraints
- Returns:
- a positive row number or null
setRow
public void setRow(java.lang.Integer row)
throws java.lang.IllegalArgumentException
- Set the row the portlet should be displayed in. This
integer must be positive
- Specified by:
setRow
in interface PortletSet.Constraints
- Parameters:
row
- the column position
- Throws:
java.lang.IllegalArgumentException
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.