rcf.core.framework.component
Class DynamicOperation.Default

java.lang.Object
  extended by rcf.core.framework.component.DynamicOperation.Default
All Implemented Interfaces:
DynamicBound, DynamicOperation, ReflectedBindable<DynamicOperation>, ReflectedOperation, rcf.core.util.accessor.GUIAccessible
Enclosing interface:
DynamicOperation

public static class DynamicOperation.Default
extends Object
implements DynamicOperation

TODO: Javadoc

TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString

Version:
$Revision: 1.4 $
Author:
Greg Gibeling

Nested Class Summary
 class DynamicOperation.Default.Continuation
          TODO: Javadoc
 
Nested classes/interfaces inherited from interface rcf.core.framework.component.DynamicOperation
DynamicOperation.Default
 
Nested classes/interfaces inherited from interface rcf.core.framework.component.DynamicBound
DynamicBound.GUIType
 
Field Summary
protected  DynamicComponent.Abstract component
          TODO: Javadoc
protected  ReflectedOperation.Default operation
          TODO: Javadoc
 
Constructor Summary
DynamicOperation.Default(DynamicComponent.Abstract _component, ReflectedOperation.Default _operation)
          TODO: Javadoc
 
Method Summary
 DynamicOperation bind(Object o)
          TODO: Javadoc Return a dynamic bound interface representing this reflected bindable bound to the specified object, assuming the object is an instance of the appropriate reflected component.
 DynamicComponent component()
          TODO: Javadoc
 RunnableFuture<Object> continuation(Object... args)
          TODO: Javadoc
 JComponent gui(DynamicBound.GUIType type)
          TODO: Javadoc
 Icon icon()
           
 Object invoke(Object... args)
          TODO: Javadoc
 boolean isFunction()
          TODO: Javadoc
 String name()
          TODO: Javadoc
 rcf.core.util.map.single.ImmutableSMapListSet<? extends ReflectedParameter,String> parameters()
          TODO: Javadoc
 JPopupMenu popupMenu()
           
 ReflectedParameter returnValue()
          TODO: Javadoc
 OperationType type()
          TODO: Javadoc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

operation

protected final ReflectedOperation.Default operation
TODO: Javadoc


component

protected final DynamicComponent.Abstract component
TODO: Javadoc

Constructor Detail

DynamicOperation.Default

public DynamicOperation.Default(DynamicComponent.Abstract _component,
                                ReflectedOperation.Default _operation)
TODO: Javadoc

Parameters:
_component -
_operation -
Method Detail

bind

public DynamicOperation bind(Object o)
Description copied from interface: ReflectedBindable
TODO: Javadoc Return a dynamic bound interface representing this reflected bindable bound to the specified object, assuming the object is an instance of the appropriate reflected component. ReflectedComponent.isInstance(Object), component().isInstance(o) must be true.

Specified by:
bind in interface ReflectedBindable<DynamicOperation>
Returns:

component

public DynamicComponent component()
Description copied from interface: DynamicBound
TODO: Javadoc

Specified by:
component in interface DynamicBound
Specified by:
component in interface DynamicOperation
Specified by:
component in interface ReflectedBindable<DynamicOperation>
Returns:

continuation

public RunnableFuture<Object> continuation(Object... args)
Description copied from interface: DynamicOperation
TODO: Javadoc

Specified by:
continuation in interface DynamicOperation
Returns:

gui

public JComponent gui(DynamicBound.GUIType type)
Description copied from interface: DynamicBound
TODO: Javadoc

Specified by:
gui in interface DynamicBound
Returns:

icon

public Icon icon()
Specified by:
icon in interface rcf.core.util.accessor.GUIAccessible

invoke

public Object invoke(Object... args)
Description copied from interface: DynamicOperation
TODO: Javadoc

Specified by:
invoke in interface DynamicOperation
Returns:

isFunction

public boolean isFunction()
Description copied from interface: ReflectedOperation
TODO: Javadoc

Specified by:
isFunction in interface ReflectedOperation
Returns:

name

public String name()
Description copied from interface: ReflectedOperation
TODO: Javadoc

Specified by:
name in interface ReflectedOperation
Returns:

parameters

public rcf.core.util.map.single.ImmutableSMapListSet<? extends ReflectedParameter,String> parameters()
Description copied from interface: ReflectedOperation
TODO: Javadoc

Specified by:
parameters in interface ReflectedOperation
Returns:

popupMenu

public JPopupMenu popupMenu()
Specified by:
popupMenu in interface rcf.core.util.accessor.GUIAccessible

returnValue

public ReflectedParameter returnValue()
Description copied from interface: ReflectedOperation
TODO: Javadoc

Specified by:
returnValue in interface ReflectedOperation
Returns:

type

public OperationType type()
Description copied from interface: ReflectedOperation
TODO: Javadoc

Specified by:
type in interface ReflectedOperation
Returns: