Class SorterKeyImpl

    • Constructor Detail

      • SorterKeyImpl

        public SorterKeyImpl​(String name,
                             String label)
    • Method Detail

      • getLabel

        public String getLabel()
        Specified by:
        getLabel in interface SorterKey
        Returns:
        A user friendly localizable label of a sort key.
      • isSelected

        public boolean isSelected()
        Specified by:
        isSelected in interface SorterKey
        Returns:
        true if this is the currently selected key, false otherwise.
      • setSelected

        public void setSelected​(boolean selected)
      • setCurrentOrderParameters

        public void setCurrentOrderParameters​(Map<String,​String> currentOrderParameters)
      • setOppositeOrderParameters

        public void setOppositeOrderParameters​(Map<String,​String> oppositeOrderParameters)