com.guiseframework.input
Interface InputStrategy
- All Known Implementing Classes:
- AbstractInputStrategy, BindingInputStrategy
public interface InputStrategy
A strategy for processing input.
- Author:
- Garret Wilson
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.
Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.