uic.output.builder
Class Callable.Argument

java.lang.Object
  extended byuic.output.builder.Callable.Argument
Enclosing class:
Callable

public static class Callable.Argument
extends Object


Constructor Summary
Callable.Argument(Representer arg)
           
Callable.Argument(String returnType, Representer arg)
           
 
Method Summary
 Representer getArgument()
           
 String getReturnType()
          When the returnType is set the method will add a cast to the returntype from the actual returned type.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Callable.Argument

public Callable.Argument(String returnType,
                         Representer arg)

Callable.Argument

public Callable.Argument(Representer arg)
Method Detail

getArgument

public Representer getArgument()

getReturnType

public String getReturnType()
When the returnType is set the method will add a cast to the returntype from the actual returned type. So if you this object is the 'get' on a vector you need:
myWidget.add( (Component) myVector.get());
The component is the return type.

Returns:
returnType for this argument.

toString

public String toString()


Copyright © 2002,2003 Thomas Zander Available under the Free Apache licence