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.
        input - current input
        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.
        detach in class Behavior
        component - the component that initiates the detachment of this behavior