MODEL
- the model type to test againstpublic interface TextGuard<MODEL> extends Guard<MODEL>
TextAction
signal should be rejected or accepted
within the current context of a specific modelModifier and Type | Method and Description |
---|---|
boolean |
acceptText(CharSequence aSignal,
MODEL aModel) |
boolean |
acceptText(SealedText<?> aSignal,
MODEL aModel) |
boolean |
acceptText(String aSignal,
MODEL aModel) |
TextGuard<MODEL> |
getTextGuardAt(int anIndex) |
int |
getTextGuardChildCount() |
getChildConjunction, isCompositeGuard, isSimpleGuard
boolean acceptText(CharSequence aSignal, MODEL aModel)
boolean acceptText(SealedText<?> aSignal, MODEL aModel)
boolean acceptText(String aSignal, MODEL aModel)
TextGuard<MODEL> getTextGuardAt(int anIndex) throws IndexOutOfBoundsException
IndexOutOfBoundsException
int getTextGuardChildCount()
Copyright © 2006-2012 Ware-Squared Software Development. All Rights Reserved.