Package com.adobe.aemds.guide.common
Class GuideTable
- java.lang.Object
-
- com.adobe.cq.sightly.WCMUsePojo
-
- com.adobe.aemds.guide.common.GuideNode
-
- com.adobe.aemds.guide.common.GuideItemsContainer
-
- com.adobe.aemds.guide.common.GuidePanel
-
- com.adobe.aemds.guide.common.GuideTable
-
- All Implemented Interfaces:
FDField
,StyledFDField
,java.io.Serializable
,Use
public class GuideTable extends GuidePanel
Class representing the table component- Since:
- AEM 6.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GuideTable()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumns()
API to return the number of columns present in the table.int
getColumns(GuideNode row)
Gets the column present in the table at the specified rowjava.lang.String
getColumnWidth()
API to get column width of table configured during authoringjava.util.List<GuideNode>
getItems()
Returns the items present inside an items container(for eg panel)java.lang.String
getMobileLayout()
API to get the mobile layout associated with the tablejava.util.ArrayList<java.lang.Boolean>
getSortingAllowedHeader()
java.lang.String
getSummary()
API to get the summary text required for accessibilityjava.lang.String
isSortingEnabled()
static java.lang.Boolean
isTableHeader(GuideNode guideNode)
Checks if the GuideNode has resource of type Table Header-
Methods inherited from class com.adobe.aemds.guide.common.GuidePanel
getAfFragmentMarker, getAssetRef, getAuthoringConfig, getDoRLayoutType, getFragmentDetails, getFragRef, getFragRefPropertyFromResource, getInitialOccur, getIsRepeatable, getLayoutFromFragRootPanel, getLongDescription, getMaxOccur, getMinOccur, getOptimizeRenderPerformance, getPanelDescriptionInlineStyles, getPanelInlineStyles, getToolbar, isFragmentAvailable, isHasToolbar, isNewResponsiveLayout, validate
-
Methods inherited from class com.adobe.aemds.guide.common.GuideNode
activate, checkIfPathIsAbsolute, externalize, getAddMessage, getAppearance, getAuthoringConfigJSON, getBindRef, getClientLibRef, getColspan, getCssClassName, getDescription, getEnabled, getEnabledExp, getError, getFieldInlineStyles, getGuideFieldType, getHeight, getI18n, getId, getInlineCssClass, getInlineStyles, getIsEditMode, getLayoutPath, getLayoutTabType, getLongDescriptionInlineStyles, getName, getNavTitle, getNodeClass, getNonNavigableProperty, getPath, getQuestionMarkInlineStyles, getRemoveMessage, getResourceSuperType, getResourceType, getResponsiveClasses, getSlingRequest, getStyles, getTargetVersion, getTitle, getToolbarPosition, getVersion, getVisible, getVisibleExp, getWidth, getXssapi, getXssDescription, isDocumentFragmentGroup, isLayoutNavigable, isMenuRequired, isValid, isValidDorTemplateRef, setClientLibRef, setResource, setSlingRequest, syncNode
-
Methods inherited from class com.adobe.cq.sightly.WCMUsePojo
get, getComponent, getComponentContext, getCurrentDesign, getCurrentPage, getCurrentStyle, getDesigner, getEditContext, getInheritedProperties, getPageManager, getPageProperties, getProperties, getRequest, getResource, getResourceDesign, getResourcePage, getResourceResolver, getResponse, getSlingScriptHelper, getWcmMode, getXSSAPI, init
-
-
-
-
Method Detail
-
isTableHeader
public static java.lang.Boolean isTableHeader(GuideNode guideNode)
Checks if the GuideNode has resource of type Table Header- Parameters:
guideNode
-- Returns:
- Boolean True if GuideNode resource or its supertype is of Table Header
-
getItems
public java.util.List<GuideNode> getItems()
Description copied from class:GuideItemsContainer
Returns the items present inside an items container(for eg panel)- Overrides:
getItems
in classGuideItemsContainer
- Returns:
- list representing the items
- See Also:
GuideNode
-
getColumns
public int getColumns(GuideNode row)
Gets the column present in the table at the specified row- Parameters:
row
- GuideNode bean representing the row- Returns:
- number of columns
-
getSortingAllowedHeader
public java.util.ArrayList<java.lang.Boolean> getSortingAllowedHeader()
- Returns:
- ArrayList of HeaderRow on which sorting is enabled.
-
getColumns
public int getColumns()
API to return the number of columns present in the table. This API would return the maximum of all the columns present in each row- Returns:
- Columns present in the table
-
getMobileLayout
public java.lang.String getMobileLayout()
API to get the mobile layout associated with the table- Returns:
- mobile layout of the table
-
getSummary
public java.lang.String getSummary()
API to get the summary text required for accessibility- Returns:
- summary text of the table
-
isSortingEnabled
public java.lang.String isSortingEnabled()
-
getColumnWidth
public java.lang.String getColumnWidth()
API to get column width of table configured during authoring- Returns:
- column width configured for the table
-
-