Class AutoCompleteBehavior<T>

    • Method Detail

      • getChoices

        protected abstract Iterator<TgetChoices​(String input)
        Callback method that should return an iterator over all possible choice objects. These objects will be passed to the renderer to generate output. Usually it is enough to return an iterator over strings.
        Parameters:
        input - current input
        Returns:
        iterator over all possible choice objects
      • detach

        public void detach​(Component component)
        Description copied from class: Behavior
        Allows the behavior to detach any state it has attached during request processing.
        Overrides:
        detach in class Behavior
        Parameters:
        component - the component that initiates the detachment of this behavior