org.apache.jetspeed.portal
Interface PortletSet.Constraints

All Superinterfaces:
java.util.Map
All Known Implementing Classes:
BasePortletSetConstraints
Enclosing interface:
PortletSet

public static interface PortletSet.Constraints
extends java.util.Map

The PortletSetConstraints is used to associate layout constraints with a Portlet within a Set. These constraints may be used by the PortletController to render the layout of any given PortletSet correctly.


Nested Class Summary
 
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 interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

getColumn

public java.lang.Integer getColumn()
Get the column the portlet should be displayed in

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

Parameters:
col - the column position
Throws:
java.lang.IllegalArgumentException

getRow

public java.lang.Integer getRow()
Get the row the portlet should be displayed in

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

Parameters:
row - the column position
Throws:
java.lang.IllegalArgumentException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.