|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.core.Wrapper | +--org.objectweb.jac.aspects.gui.InputWrapper
This wrapper asks the user the parameters of the invoked method if
the attribute Gui.askForParameters
is defined in the
current collaboration.
Display.showInput(Object,AbstractMethodItem,Object[])
,
InputSequence
,
Serialized FormField Summary |
Fields inherited from class org.objectweb.jac.core.Wrapper |
ac |
Constructor Summary | |
InputWrapper(AspectComponent ac)
|
Method Summary | |
Object |
askForParameters(Interaction interaction)
Calls the Display.showInput method on the current
display. |
void |
catchInputCanceled(InputCanceledException e)
|
Object |
create(ClassItem classItem,
Display display)
This method performs all the inputs operations for an instance creation. |
static Object |
newInstance(Class cl,
Display display)
Create a new instance of a class. |
Methods inherited from class org.objectweb.jac.core.Wrapper |
attr, attrdef, defines, getAspectComponent, getAspectComponentName, getExceptionHandlers, proceed, setAspectComponent, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public InputWrapper(AspectComponent ac)
Method Detail |
public Object askForParameters(Interaction interaction) throws org.objectweb.jac.aspects.gui.InputFailedException, InputCanceledException
Display.showInput
method on the current
display.
org.objectweb.jac.aspects.gui.InputFailedException
InputCanceledException
Display.showInput(Object,AbstractMethodItem,Object[])
public Object create(ClassItem classItem, Display display) throws org.objectweb.jac.aspects.gui.InputFailedException, InputCanceledException
classItem
- the class to instantiatedisplay
- the display to use
org.objectweb.jac.aspects.gui.InputFailedException
InputCanceledException
public static Object newInstance(Class cl, Display display) throws InstantiationException, IllegalAccessException
cl
- the class to instantiatedisplay
- display to use for user interaction
InstantiationException
IllegalAccessException
public void catchInputCanceled(InputCanceledException e)
|
Contact JAC development team: Renaud Pawlak Lionel Seinturier Laurent Martelli |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |