Class CollectionStyledLayoutStructureItem
java.lang.Object
com.liferay.layout.util.structure.LayoutStructureItem
com.liferay.layout.util.structure.StyledLayoutStructureItem
com.liferay.layout.util.structure.CollectionStyledLayoutStructureItem
- All Implemented Interfaces:
Cloneable
-
Field Summary
Fields inherited from class com.liferay.layout.util.structure.StyledLayoutStructureItem
LAYOUT_STRUCTURE_ITEM_CSS_CLASS_PREFIX, stylesJSONObject, viewportStyleJSONObjects -
Constructor Summary
ConstructorsConstructorDescriptionCollectionStyledLayoutStructureItem(String parentItemId) CollectionStyledLayoutStructureItem(String itemId, String parentItemId) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAlign()com.liferay.portal.kernel.json.JSONObjectcom.liferay.portal.kernel.json.JSONObjectintintintintinthashCode()booleanbooleanbooleanbooleanDeprecated.voidvoidsetCollectionJSONObject(com.liferay.portal.kernel.json.JSONObject collectionJSONObject) voidsetDisplayAllItems(Boolean displayAllItems) voidsetDisplayAllPages(Boolean displayAllPages) voidsetEmptyCollectionOptions(EmptyCollectionOptions emptyCollectionOptions) voidsetFlexWrap(String flexWrap) voidsetGutters(boolean gutters) voidsetJustify(String justify) voidsetListItemStyle(String listItemStyle) voidsetListStyle(String listStyle) voidsetNumberOfColumns(int numberOfColumns) voidsetNumberOfItems(int numberOfItems) voidsetNumberOfItemsPerPage(int numberOfItemsPerPage) voidsetNumberOfPages(int numberOfPages) voidsetPaginationType(String paginationType) voidsetShowAllItems(Boolean showAllItems) Deprecated.As of Cavanaugh (7.4.x), replaced bysetDisplayAllItems(Boolean)voidsetTemplateKey(String templateKey) voidsetVerticalAlignment(String verticalAlignment) voidsetViewportConfiguration(String viewportSizeId, com.liferay.portal.kernel.json.JSONObject configurationJSONObject) voidupdateItemConfig(com.liferay.portal.kernel.json.JSONObject itemConfigJSONObject) Methods inherited from class com.liferay.layout.util.structure.StyledLayoutStructureItem
getBackgroundImageJSONObject, getCssClass, getCssClasses, getCustomCSS, getCustomCSSViewports, getName, getStyledCssClasses, getUniqueCssClass, setCssClasses, setCustomCSS, setCustomCSSViewport, setNameMethods inherited from class com.liferay.layout.util.structure.LayoutStructureItem
addChildrenItem, addChildrenItem, clone, deleteChildrenItem, getChildrenItemIds, getItemId, getParentItemId, of, setChildrenItemIds, setItemId, setParentItemId, toJSONObject, toString
-
Constructor Details
-
CollectionStyledLayoutStructureItem
-
CollectionStyledLayoutStructureItem
-
-
Method Details
-
equals
- Overrides:
equalsin classStyledLayoutStructureItem
-
getAlign
-
getCollectionJSONObject
public com.liferay.portal.kernel.json.JSONObject getCollectionJSONObject() -
getEmptyCollectionOptions
-
getFlexWrap
-
getItemConfigJSONObject
public com.liferay.portal.kernel.json.JSONObject getItemConfigJSONObject()- Overrides:
getItemConfigJSONObjectin classStyledLayoutStructureItem
-
getItemType
- Specified by:
getItemTypein classLayoutStructureItem
-
getJustify
-
getListItemStyle
-
getListStyle
-
getNumberOfColumns
public int getNumberOfColumns() -
getNumberOfItems
public int getNumberOfItems() -
getNumberOfItemsPerPage
public int getNumberOfItemsPerPage() -
getNumberOfPages
public int getNumberOfPages() -
getPaginationType
-
getTemplateKey
-
getVerticalAlignment
-
getViewportConfigurationJSONObjects
-
hashCode
public int hashCode()- Overrides:
hashCodein classStyledLayoutStructureItem
-
isDisplayAllItems
public boolean isDisplayAllItems() -
isDisplayAllPages
public boolean isDisplayAllPages() -
isGutters
public boolean isGutters() -
isShowAllItems
Deprecated.As of Cavanaugh (7.4.x), replaced byisDisplayAllItems() -
setAlign
-
setCollectionJSONObject
public void setCollectionJSONObject(com.liferay.portal.kernel.json.JSONObject collectionJSONObject) -
setDisplayAllItems
-
setDisplayAllPages
-
setEmptyCollectionOptions
-
setFlexWrap
-
setGutters
public void setGutters(boolean gutters) -
setJustify
-
setListItemStyle
-
setListStyle
-
setNumberOfColumns
public void setNumberOfColumns(int numberOfColumns) -
setNumberOfItems
public void setNumberOfItems(int numberOfItems) -
setNumberOfItemsPerPage
public void setNumberOfItemsPerPage(int numberOfItemsPerPage) -
setNumberOfPages
public void setNumberOfPages(int numberOfPages) -
setPaginationType
-
setShowAllItems
Deprecated.As of Cavanaugh (7.4.x), replaced bysetDisplayAllItems(Boolean) -
setTemplateKey
-
setVerticalAlignment
-
setViewportConfiguration
public void setViewportConfiguration(String viewportSizeId, com.liferay.portal.kernel.json.JSONObject configurationJSONObject) -
updateItemConfig
public void updateItemConfig(com.liferay.portal.kernel.json.JSONObject itemConfigJSONObject) - Overrides:
updateItemConfigin classStyledLayoutStructureItem
-
isDisplayAllItems()