Class TEITableSortOperation
java.lang.Object
ro.sync.ecss.extensions.commons.sort.SortOperation
ro.sync.ecss.extensions.commons.sort.TableSortOperation
ro.sync.ecss.extensions.commons.sort.SimpleTableSortOperation
ro.sync.ecss.extensions.tei.table.TEITableSortOperation
- All Implemented Interfaces:
AuthorOperation
,Extension
TEI tables sort operation implementation.
-
Field Summary
Fields inherited from class ro.sync.ecss.extensions.commons.sort.SortOperation
authorAccess, COLUMN
Fields inherited from interface ro.sync.ecss.extensions.api.AuthorOperation
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
Returns the visual row index of the actual table body if the table has separate head, foot element and table group elements.boolean
isHeadElement
(AuthorElement node) Returnstrue
if the given node is the table header element.boolean
isIgnored
(AuthorNode node) Checks if a given node is ignored when sorting.boolean
isRowElement
(AuthorElement node) Returnstrue
if the given node is a table row.boolean
isTableElement
(AuthorElement node) Returntrue
if the given node is the table element.Methods inherited from class ro.sync.ecss.extensions.commons.sort.SimpleTableSortOperation
forceSortAll, getSortCriteria, getSortKeysValues, getSortParent, isCaretInColumn
Methods inherited from class ro.sync.ecss.extensions.commons.sort.TableSortOperation
canBeSorted, getHelpPageID
Methods inherited from class ro.sync.ecss.extensions.commons.sort.SortOperation
doOperation, getArguments, getDescription, getNonIgnoredChildren, getSelectedNonIgnoredChildrenInterval, getTextContentToSort
-
Constructor Details
-
TEITableSortOperation
public TEITableSortOperation()
-
-
Method Details
-
isTableElement
Description copied from class:SimpleTableSortOperation
Returntrue
if the given node is the table element.- Specified by:
isTableElement
in classSimpleTableSortOperation
- Parameters:
node
- The node to be checked.- Returns:
true
if the given node is the table element.- See Also:
-
isHeadElement
Description copied from class:SimpleTableSortOperation
Returnstrue
if the given node is the table header element.- Specified by:
isHeadElement
in classSimpleTableSortOperation
- Parameters:
node
- The node to be checked.- Returns:
true
if the given node is the table header.- See Also:
-
isRowElement
Description copied from class:SimpleTableSortOperation
Returnstrue
if the given node is a table row.- Specified by:
isRowElement
in classSimpleTableSortOperation
- Parameters:
node
- The node to be checked.- Returns:
true
when the given node is a table row element.- See Also:
-
isIgnored
Description copied from class:SortOperation
Checks if a given node is ignored when sorting.- Overrides:
isIgnored
in classSimpleTableSortOperation
- Parameters:
node
- The node to be checked.- Returns:
true
if the given node is ignored when sorting.- See Also:
-
getRowIndexForTableBody
Description copied from class:TableSortOperation
Returns the visual row index of the actual table body if the table has separate head, foot element and table group elements.
-