net.sf.doolin.gui.field.support
Class AbstractFieldActionContext

java.lang.Object
  extended by net.sf.doolin.bus.bean.Bean
      extended by net.sf.doolin.gui.action.support.AbstractActionContext
          extended by net.sf.doolin.gui.field.support.AbstractFieldActionContext
All Implemented Interfaces:
Serializable, IBean, ActionContext
Direct Known Subclasses:
FieldActionContext, TableActionContext, TreeActionContext

public abstract class AbstractFieldActionContext
extends AbstractActionContext

Abstract action context for a field.

Author:
Damien Coraboeuf
See Also:
Serialized Form

Constructor Summary
AbstractFieldActionContext()
          Default constructor
AbstractFieldActionContext(Object context)
          Constructor with a contextual value
 
Method Summary
protected
<T> ValidationSupport<T>
createValidationSupport()
          The validation support for a field is the validation support of the view.
 
Methods inherited from class net.sf.doolin.gui.action.support.AbstractActionContext
getContext, getValidationSupport, setContext
 
Methods inherited from class net.sf.doolin.bus.bean.Bean
getBeanNotificationSupport, getParentBean, notify, setParentBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.doolin.gui.action.ActionContext
getApplication, getComponent, getData, getSubscriberValidator, getView, getWindow
 

Constructor Detail

AbstractFieldActionContext

public AbstractFieldActionContext()
Default constructor


AbstractFieldActionContext

public AbstractFieldActionContext(Object context)
Constructor with a contextual value

Parameters:
context - Contextual value
Method Detail

createValidationSupport

protected <T> ValidationSupport<T> createValidationSupport()
The validation support for a field is the validation support of the view.

Overrides:
createValidationSupport in class AbstractActionContext
Type Parameters:
T - Type of bean for the validator
Returns:
Validation support for this action context


Copyright © 2011. All Rights Reserved.