|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.portal.controllers.AbstractPortletController org.apache.jetspeed.portal.controllers.GridPortletController
Layouts the portlets in a grid and apply the following constraints
This controller expects the following parameters in its configuration file :
The controller expects each portlet to have a row number and a column number layout information. If this information is not found, put the Portlet in the first cell of the table
Field Summary |
Fields inherited from class org.apache.jetspeed.portal.controllers.AbstractPortletController |
DEFAULT_PADDING |
Constructor Summary | |
GridPortletController()
|
Method Summary | |
int |
getColumn()
Get the number of columns used in this controller |
java.util.Enumeration |
getColumnsWidth()
|
java.lang.String |
getColumnWidth(int pos)
|
org.apache.ecs.ConcreteElement |
getContent(org.apache.turbine.util.RunData rundata)
Get the content for this PortletController |
int |
getRow()
Get the number of rows used by this controll |
java.lang.String |
getRowHeight(int pos)
|
java.util.Enumeration |
getRowsHeight()
|
void |
init()
Initialize this PortletController. |
void |
setColumn(int col)
Set the number of columns used in this controller |
void |
setColumnsWidth(java.util.Vector widths)
|
void |
setRow(int row)
Set the number of rows used by this controller |
void |
setRowsHeight(java.util.Vector heights)
|
Methods inherited from class org.apache.jetspeed.portal.controllers.AbstractPortletController |
getConfig, getConstraints, getContent, getHTMLContent, getPadding, getPortlets, getWidth, getWMLContent, setConfig, setPadding, setPadding, setPortlets, setWidth, supportsType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GridPortletController()
Method Detail |
public org.apache.ecs.ConcreteElement getContent(org.apache.turbine.util.RunData rundata)
getContent
in interface PortletController
getContent
in class AbstractPortletController
public void init()
PortletController
init
in interface PortletController
init
in class AbstractPortletController
public void setColumn(int col)
public int getColumn()
public void setRow(int row)
public int getRow()
public void setColumnsWidth(java.util.Vector widths)
public java.util.Enumeration getColumnsWidth()
public java.lang.String getColumnWidth(int pos)
public void setRowsHeight(java.util.Vector heights)
public java.util.Enumeration getRowsHeight()
public java.lang.String getRowHeight(int pos)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |