leon.app.behavior
Class LyUserInputBehavior
java.lang.Object
leon.app.behavior.LyBehavior
leon.app.behavior.LyActionBehavior
leon.app.behavior.LyUserInputBehavior
- All Implemented Interfaces:
- LyActionBehaviorInterface, LyBehaviorInterface, LyUserInputBehaviorInterface, LyGetSessionInterface
- Direct Known Subclasses:
- LyChangePhotoBehavior, LyChatBehavior, LyCommonServiceBehavior, LyFindBehavior, LyMessageBehavior, LySendFileBehavior, LySendObjectBehavior, LyShareSessionBehavior, LyWebServiceBehavior
public class LyUserInputBehavior
- extends LyActionBehavior
- implements LyUserInputBehaviorInterface
This interface defines the default behavior when the data are submited.
- See Also:
LyUserInputController
Field Summary |
static java.lang.String |
__VERSION
File version |
Methods inherited from class leon.app.behavior.LyActionBehavior |
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, reset, startAction |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface leon.app.behaviorinterface.LyActionBehaviorInterface |
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, reset, startAction |
__VERSION
public static final java.lang.String __VERSION
- File version
- See Also:
- Constant Field Values
LyUserInputBehavior
public LyUserInputBehavior()
userInputDemand
public void userInputDemand(LyController controller,
LyDemand demand)
- Method invoked when the user validates the content of the input.
The default implementation, depending on the user validation:
- Specified by:
userInputDemand
in interface LyUserInputBehaviorInterface
- Parameters:
controller
- the current LyUserInputController instancedemand
- demand parameters sent by the view component.
validate
public boolean validate(LyController controller,
LyParameterValues values)
- Method invoked when the user validates the content of the input.
The default implementation does nothing.
- Parameters:
controller
- the current LyUserInputController instancevalues
- values set by the user.
- Returns:
- True if validation is successfull, false otherwise.
cancel
public void cancel(LyController controller)
- Invoked when the user cancels the content of the input.
The default implementation does nothing.
- Parameters:
controller
- the current LyUserInputController instance
close
public void close(LyController controller)
- Invoked when the user closes the content of the input.
The default implementation free the controller.
- Parameters:
controller
- the current LyUserInputController instance
Website: W4 S.A., contact us: support@w4global.com