|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.action.support.ConverterDelegate<S,T>
S - Type of the source parameterT - Type of the target parameterpublic class ConverterDelegate<S,T>
Delegates that operates a transformation on the parameter before delegating to another delegate.
| Constructor Summary | |
|---|---|
ConverterDelegate()
|
|
| Method Summary | |
|---|---|
void |
call(ActionContext actionContext,
S parameter)
Calls the delegate |
com.google.common.base.Function<S,T> |
getConverter()
Gets the converter. |
ActionDelegate<T> |
getDelegate()
Gets the delegate. |
void |
setConverter(com.google.common.base.Function<S,T> converter)
Sets the converter. |
void |
setDelegate(ActionDelegate<T> delegate)
Sets the delegate to call after conversion. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConverterDelegate()
| Method Detail |
|---|
public void call(ActionContext actionContext,
S parameter)
ActionDelegate
call in interface ActionDelegate<S>actionContext - Action contextparameter - Parameterpublic com.google.common.base.Function<S,T> getConverter()
public ActionDelegate<T> getDelegate()
public void setConverter(com.google.common.base.Function<S,T> converter)
converter - the converterpublic void setDelegate(ActionDelegate<T> delegate)
delegate - the new delegate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||