Class FlowList

    • Constructor Detail

      • FlowList

        public FlowList​(Consumer<com.mastercard.test.flow.Flow> opener)
        Parameters:
        opener - What to do when a flow is clicked
    • Method Detail

      • with

        public FlowList with​(com.mastercard.test.flow.Flow flw)
        Parameters:
        flw - a flow
        Returns:
        this
      • withFilterListener

        public FlowList withFilterListener​(Consumer<Predicate<com.mastercard.test.flow.Flow>> l)
        Parameters:
        l - a listener
        Returns:
        this
      • sort

        public void sort()
        Sorts the flow list on ID
      • getList

        public JList<com.mastercard.test.flow.Flow> getList()
        Returns:
        The list component
      • force

        public void force​(com.mastercard.test.flow.Flow txn)
        Specified by:
        force in interface SelectionManager.Client
        Parameters:
        txn - Called when the selection is changed by some other client