| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectsysModel.env.DeactivatableLambda
public class DeactivatableLambda
Decorator for a lambda to make it deactivatable.
| Field Summary | |
|---|---|
| private  ILambda | _decoreeDecorated command. | 
| Constructor Summary | |
|---|---|
| DeactivatableLambda(ILambda wrapped)Make a new deactivatable command. | |
| Method Summary | |
|---|---|
|  java.lang.Object | apply(java.lang.Object param)Execute the wrapped command only if action is activated. | 
|  void | deactivate()Deactivate action. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private ILambda _decoree
| Constructor Detail | 
|---|
public DeactivatableLambda(ILambda wrapped)
wrapped - command to make deactivatable| Method Detail | 
|---|
public java.lang.Object apply(java.lang.Object param)
apply in interface ILambdaparam - parameter for the decoree
public void deactivate()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||