Class SASortCustomizerDialog

  • All Implemented Interfaces:
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants, KeysController, SortCustomizer, HelpPageProvider

    @API(type=NOT_EXTENDABLE,
         src=PRIVATE)
    public class SASortCustomizerDialog
    extends OKCancelDialog
    implements SortCustomizer, KeysController
    Standalone implementation of the customizer used to select the criterion information used when sorting.
    See Also:
    Serialized Form
    • Constructor Detail

      • SASortCustomizerDialog

        public SASortCustomizerDialog​(java.awt.Frame parentFrame,
                                      AuthorResourceBundle authorResourceBundle,
                                      java.lang.String selElems,
                                      java.lang.String allElems)
        Constructor.
        Parameters:
        parentFrame - The parent frame of the dialog.
        authorResourceBundle - The Author resource bundle.
        selElems - The name of the "selected elements" radio combo.
        allElems - The name of the "all elements" radio combo.
    • Method Detail

      • getSortInformation

        public SortCriteriaInformation getSortInformation​(java.util.List<CriterionInformation> criteriaInformation,
                                                          boolean sortSelectedElements,
                                                          boolean cannotSortAllElements)
        Description copied from interface: SortCustomizer
        Obtain the sort information given some initial sort criteria.
        Specified by:
        getSortInformation in interface SortCustomizer
        Parameters:
        criteriaInformation - The information about the available sorting criteria.
        sortSelectedElements - true when elements selected in the document can be sorted.
        cannotSortAllElements - true when all the elements from the parent of the sort operation cannot be sorted. for example when the selected rows from a table can be sorted but the whole table cannot because it contains, outside the selected rows, some rows with multiple rowspan cells.
        Returns:
        The sort information, about criteria and the sort scope.
        See Also:
        SortCustomizer.getSortInformation(java.util.List, boolean, boolean)