Class CriterionInformation


  • @API(type=INTERNAL,
         src=PUBLIC)
    public class CriterionInformation
    extends java.lang.Object
    Holds information about a single sorting criterion.
    • Constructor Detail

      • CriterionInformation

        public CriterionInformation​(int keyIndex,
                                    java.lang.String displayName)
        Constructor.
        Parameters:
        keyIndex - The index in its parent of the element that corresponds to the sorting key.
        displayName - The key display name. For a table column it can be the text from the corresponding table header cell.
    • Method Detail

      • getDisplayName

        public java.lang.String getDisplayName()
        Returns:
        Returns the display name of the criterion key.
      • getKeyIndex

        public int getKeyIndex()
        Returns:
        Returns the key index for the sorting criterion. This represents the index in its parent of the element associated with the key. For a table this represents the index of the cell in its parent row.
      • isInitiallySelected

        public boolean isInitiallySelected()
        Returns:
        true if the criterion is initially enabled.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()