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 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.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()
-
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.GuideItemsContainer
getItems
-
Methods inherited from class com.adobe.aemds.guide.common.GuideNode
activate, checkIfPathIsAbsolute, externalize, externalize, getAddMessage, getAppearance, getAuthoringConfigJSON, getBindRef, getClientLibRef, getColspan, getCssClassName, getDescription, getEnabled, getEnabledExp, getError, getFieldInlineStyles, getGuideFieldType, getHeight, getId, getInlineCssClass, getInlineStyles, getIsEditMode, getIsTitleRichText, getLayoutPath, getLayoutTabType, getLongDescriptionInlineStyles, getName, getNavTitle, getNodeClass, getNonNavigableProperty, getPath, getQuestionMarkInlineStyles, getRemoveMessage, getResourceSuperType, getResourceType, getResponsiveClasses, getResponsiveConfiguration, getSlingRequest, getStyles, getTargetVersion, getTitle, getToolbarPosition, getVersion, getVisible, getVisibleExp, getWidth, getXssapi, getXssDescription, isDocumentFragmentGroup, isLayoutNavigable, isMenuRequired, isValid, isValidDorTemplateRef, setClientLibRef, setResource, setSlingRequest, setSlingXssApi, syncNode
-
Methods inherited from class com.adobe.cq.sightly.WCMUsePojo
get, getComponent, getComponentContext, getCurrentDesign, getCurrentPage, getCurrentStyle, getDesigner, getEditContext, getInheritedPageProperties, getInheritedProperties, getPageManager, getPageProperties, getProperties, getRequest, getResource, getResourceDesign, getResourcePage, getResourceResolver, getResponse, getSlingScriptHelper, getWcmMode, getXSSAPI, init
-
-
-
-
Method Detail
-
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
-
-