Package editor

Class PopupListModel

    • Constructor Detail

      • PopupListModel

        protected PopupListModel()
      • PopupListModel

        protected PopupListModel​(Predicate filter)
    • Method Detail

      • createSubset

        public abstract PopupListModel createSubset​(List subset)
        Given the a subset of components in this model, creates a new model containing just this subset.
      • getModel

        public abstract List getModel()
        Returns the underlying list.
      • getUnfilteredModel

        public abstract List getUnfilteredModel()
        Returns an unfiltered version of this model. If the model is not filtered, this may return the same reference as getModel().
      • setFilter

        public void setFilter​(Predicate filter)
      • getModelUpdatedOrFilteredByPredicate

        public List getModelUpdatedOrFilteredByPredicate()
        Returns the underlying list, filtered by the predicate if it exists