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 TypeMethodDescriptionboolean
getAlign()
com.liferay.portal.kernel.json.JSONObject
com.liferay.portal.kernel.json.JSONObject
int
int
int
int
int
hashCode()
boolean
boolean
boolean
boolean
Deprecated.void
void
setCollectionJSONObject
(com.liferay.portal.kernel.json.JSONObject collectionJSONObject) void
setDisplayAllItems
(Boolean displayAllItems) void
setDisplayAllPages
(Boolean displayAllPages) void
setEmptyCollectionOptions
(EmptyCollectionOptions emptyCollectionOptions) void
setFlexWrap
(String flexWrap) void
setGutters
(boolean gutters) void
setJustify
(String justify) void
setListItemStyle
(String listItemStyle) void
setListStyle
(String listStyle) void
setNumberOfColumns
(int numberOfColumns) void
setNumberOfItems
(int numberOfItems) void
setNumberOfItemsPerPage
(int numberOfItemsPerPage) void
setNumberOfPages
(int numberOfPages) void
setPaginationType
(String paginationType) void
setShowAllItems
(Boolean showAllItems) Deprecated.As of Cavanaugh (7.4.x), replaced bysetDisplayAllItems(Boolean)
void
setTemplateKey
(String templateKey) void
setVerticalAlignment
(String verticalAlignment) void
setViewportConfiguration
(String viewportSizeId, com.liferay.portal.kernel.json.JSONObject configurationJSONObject) void
updateItemConfig
(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, setName
Methods 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:
equals
in classStyledLayoutStructureItem
-
getAlign
-
getCollectionJSONObject
public com.liferay.portal.kernel.json.JSONObject getCollectionJSONObject() -
getEmptyCollectionOptions
-
getFlexWrap
-
getItemConfigJSONObject
public com.liferay.portal.kernel.json.JSONObject getItemConfigJSONObject()- Overrides:
getItemConfigJSONObject
in classStyledLayoutStructureItem
-
getItemType
- Specified by:
getItemType
in 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:
hashCode
in 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:
updateItemConfig
in classStyledLayoutStructureItem
-
isDisplayAllItems()