org.apache.jetspeed.portal
Class BasePortletSetConstraints

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byorg.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 Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Constructor Summary
BasePortletSetConstraints()
           
 
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
 

Constructor Detail

BasePortletSetConstraints

public BasePortletSetConstraints()
Method Detail

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.