Class PortalPosition
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.layout.PortalPosition
- All Implemented Interfaces:
HasHandlers
Represents the position of a
Portlet within a PortalLayout, indicating the column, row, and position within the row.-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe column number occupied by aPortletwithin aPortalLayout.static PortalPositiongetOrCreateRef(JavaScriptObject jsObj) intThe position occupied by aPortletwithin aPortalLayoutrow (generally 0, unless there is more than one Portlet in the row).intThe row number occupied by aPortletwithin aPortalLayoutcolumn.setColNum(int colNum) The column number occupied by aPortletwithin aPortalLayout.setPosition(int position) The position occupied by aPortletwithin aPortalLayoutrow (generally 0, unless there is more than one Portlet in the row).setRowNum(int rowNum) The row number occupied by aPortletwithin aPortalLayoutcolumn.Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
-
Constructor Details
-
PortalPosition
public PortalPosition() -
PortalPosition
-
-
Method Details
-
getOrCreateRef
-
setColNum
The column number occupied by aPortletwithin aPortalLayout.- Parameters:
colNum- New colNum value. Default value is 0- Returns:
PortalPositioninstance, for chaining setter calls
-
getColNum
public int getColNum()The column number occupied by aPortletwithin aPortalLayout.- Returns:
- Current colNum value. Default value is 0
-
setPosition
The position occupied by aPortletwithin aPortalLayoutrow (generally 0, unless there is more than one Portlet in the row).- Parameters:
position- New position value. Default value is 0- Returns:
PortalPositioninstance, for chaining setter calls
-
getPosition
public int getPosition()The position occupied by aPortletwithin aPortalLayoutrow (generally 0, unless there is more than one Portlet in the row).- Returns:
- Current position value. Default value is 0
-
setRowNum
The row number occupied by aPortletwithin aPortalLayoutcolumn.- Parameters:
rowNum- New rowNum value. Default value is 0- Returns:
PortalPositioninstance, for chaining setter calls
-
getRowNum
public int getRowNum()The row number occupied by aPortletwithin aPortalLayoutcolumn.- Returns:
- Current rowNum value. Default value is 0
-