@API(type=INTERNAL, src=PUBLIC) public abstract class TableSortOperation extends SortOperation
authorAccess, COLUMN
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
Constructor and Description |
---|
TableSortOperation()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
canBeSorted(AuthorElement parent,
int[] selectedNonIgnoredChildrenInterval)
Check if the parent element selected children can be sorted.
|
protected abstract int |
getRowIndexForTableBody(AuthorNode table)
Returns the visual row index of the actual table body if the table has separate head, foot element and table group elements.
|
doOperation, forceSortAll, getArguments, getDescription, getNonIgnoredChildren, getSelectedNonIgnoredChildrenInterval, getSortCriteria, getSortKeysValues, getSortParent, getTextContentToSort, isIgnored
public void canBeSorted(AuthorElement parent, int[] selectedNonIgnoredChildrenInterval) throws AuthorOperationException
SortOperation
canBeSorted
in class SortOperation
parent
- The parent of the elements which will be sorted.selectedNonIgnoredChildrenInterval
- The interval of selected children indices.AuthorOperationException
- When the given node is not sortable.
For example a table row containing a cell with multiple rowspan stops the operation.SortOperation.canBeSorted(ro.sync.ecss.extensions.api.node.AuthorElement, int[])
protected abstract int getRowIndexForTableBody(AuthorNode table)
© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.