|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.guiseframework.input.AbstractInputStrategy
public class AbstractInputStrategy
An abstract implementation of a strategy for processing input.
| Constructor Summary | |
|---|---|
AbstractInputStrategy(InputStrategy parent)
Parent constructor. |
|
| Method Summary | |
|---|---|
InputStrategy |
getParent()
|
boolean |
input(Input input)
Processes input, returning whether the input was consumed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractInputStrategy(InputStrategy parent)
parent - The parent input strategy, or null if there is no parent input strategy.| Method Detail |
|---|
public InputStrategy getParent()
getParent in interface InputStrategynull if there is no parent input strategy.public boolean input(Input input)
input in interface InputStrategyinput - The input to process.
true if the input was consumed and should not be processed further.
java.lang.NullPointerException - if the given input is null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||