@API(type=INTERNAL,
src=PUBLIC)
public class TableSortUtil
extends java.lang.Object
Constructor and Description |
---|
TableSortUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isColumnOrTableSelection(AuthorAccess authorAccess)
Checks if the current selection from the table is a
SelectionInterpretationMode.TABLE_COLUMN
selection or a SelectionInterpretationMode.TABLE selection. |
static boolean |
isEntirelySelected(AuthorAccess authorAccess,
AuthorElement element)
Checks if the given element is entirely included in the current selection.
|
static boolean |
isIncludedInSelectionInterval(AuthorAccess authorAccess,
AuthorElement element)
Checks if the given element is included in the selection.
|
public static boolean isEntirelySelected(AuthorAccess authorAccess, AuthorElement element)
authorAccess
- The author access.element
- The element to be checked.true
if the given element is entirely included
in the current selection. The check is done only if the table
has COLUMN selection or TABLE selection.public static boolean isIncludedInSelectionInterval(AuthorAccess authorAccess, AuthorElement element)
authorAccess
- The author access.element
- The element to be checked.true
if it is entirely included in the selection,
false
otherwise.public static boolean isColumnOrTableSelection(AuthorAccess authorAccess)
SelectionInterpretationMode.TABLE_COLUMN
selection or a SelectionInterpretationMode.TABLE
selection.authorAccess
- The author access.true
if the current selection is a SelectionInterpretationMode.TABLE_COLUMN
selection or a SelectionInterpretationMode.TABLE
selection.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.