Interface InputStrategy

    • Method Detail

      • getParent

        InputStrategy getParent()
        Returns:
        The parent input strategy, or null if there is no parent input strategy.
      • input

        boolean input​(Input input)
        Processes input, returning whether the input was consumed. If the input is not consumed by this input strategy, it is sent to the parent input strategy, if any, for processing.
        Parameters:
        input - The input to process.
        Returns:
        true if the input was consumed and should not be processed further.
        Throws:
        java.lang.NullPointerException - if the given input is null.