com.stratelia.silverpeas.portlet
Class SpaceColumn

java.lang.Object
  extended by com.stratelia.silverpeas.portlet.SpaceColumn

public class SpaceColumn
extends Object

Class declaration

Author:

Constructor Summary
SpaceColumn()
          Constructor for the <jsp:usebean> tag compatibility
SpaceColumn(int aColumnNumber)
          
SpaceColumn(int aColumnNumber, String aColumnWidth)
          SpaceColumn
 
Method Summary
 int getColumnNumber()
          getColumnNumber
 String getColumnWidth()
          getColumnWidth
 int getPortletCount()
          getPortletCount
 Portlet getPortlets(int row)
          getPortlets
 String getRowRatios()
          getRowRatios Compute ratios for the portlets in the column
 void setColumnWidth(String aColumnWidth)
          setColumnWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceColumn

public SpaceColumn()
            throws PortletException
Constructor for the <jsp:usebean> tag compatibility

Throws:
PortletException

SpaceColumn

public SpaceColumn(int aColumnNumber)

Parameters:
aColumnNumber - parameter for

SpaceColumn

public SpaceColumn(int aColumnNumber,
                   String aColumnWidth)
SpaceColumn

Parameters:
aColumnNumber -
aWidthType - Used to construct the frameset tag. ex "40%", "150px", "*".
Method Detail

getColumnNumber

public int getColumnNumber()
getColumnNumber

Returns:
the column number of this column : ie it's position in the column space ArrayList

setColumnWidth

public void setColumnWidth(String aColumnWidth)
setColumnWidth

Parameters:
aColumnWidth - : Used to construct the frameset that contains this column examples : "40%" , "340px" or "*"

getColumnWidth

public String getColumnWidth()
getColumnWidth

Returns:
the column width : Used to construct the frameset that contains this column examples : "40%" , "340px" or "*"

getPortlets

public Portlet getPortlets(int row)
getPortlets

Parameters:
row - the index of the portlet in the column
Returns:
the portlet designed by the row index

getPortletCount

public int getPortletCount()
getPortletCount

Returns:
the portlet count for this column

getRowRatios

public String getRowRatios()
getRowRatios Compute ratios for the portlets in the column

Returns:
the ratios used to construct the column frameset


Copyright © 2016 Silverpeas. All Rights Reserved.