Class PortalPosition

All Implemented Interfaces:
HasHandlers

public class PortalPosition extends DataClass
Represents the position of a Portlet within a PortalLayout, indicating the column, row, and position within the row.
  • Constructor Details

    • PortalPosition

      public PortalPosition()
    • PortalPosition

      public PortalPosition(JavaScriptObject jsObj)
  • Method Details

    • getOrCreateRef

      public static PortalPosition getOrCreateRef(JavaScriptObject jsObj)
    • setColNum

      public PortalPosition setColNum(int colNum)
      The column number occupied by a Portlet within a PortalLayout.
      Parameters:
      colNum - New colNum value. Default value is 0
      Returns:
      PortalPosition instance, for chaining setter calls
    • getColNum

      public int getColNum()
      The column number occupied by a Portlet within a PortalLayout.
      Returns:
      Current colNum value. Default value is 0
    • setPosition

      public PortalPosition setPosition(int position)
      The position occupied by a Portlet within a PortalLayout row (generally 0, unless there is more than one Portlet in the row).
      Parameters:
      position - New position value. Default value is 0
      Returns:
      PortalPosition instance, for chaining setter calls
    • getPosition

      public int getPosition()
      The position occupied by a Portlet within a PortalLayout row (generally 0, unless there is more than one Portlet in the row).
      Returns:
      Current position value. Default value is 0
    • setRowNum

      public PortalPosition setRowNum(int rowNum)
      The row number occupied by a Portlet within a PortalLayout column.
      Parameters:
      rowNum - New rowNum value. Default value is 0
      Returns:
      PortalPosition instance, for chaining setter calls
    • getRowNum

      public int getRowNum()
      The row number occupied by a Portlet within a PortalLayout column.
      Returns:
      Current rowNum value. Default value is 0