|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectewe.ui.ExecTransfer
| Field Summary | |
static int |
CREATE_NEW_FORM
A value sent to the createForm method. |
boolean |
doTransfer
|
Handle |
handle
|
static int |
NEW_FORM_EXITED
A value sent to the createForm method. |
boolean |
newFormChecksFileSaverOnExit
False by default - set this to true if you want the new Form to check the FileSaver for before saving before closing. |
boolean |
oldFileSaverListensToNewForm
True by default - set this to false if you do not want the new Form to affect the changed state of any FileSaver. |
static int |
RECREATE_ORIGINAL_FORM
A value sent to the createNewForm method. |
FileSaver |
saver
|
PropertyList |
sourceProperties
|
| Constructor Summary | |
ExecTransfer(Form sourceForm)
This creates an ExecTransfer that will do the transfer only if the VM reports that the executing device is considered a low memory device. |
|
ExecTransfer(Form sourceForm,
boolean doTransfer)
This creates an ExecTransfer that will do the transfer only if the doTransfer parameter is true. |
|
ExecTransfer(Form sourceForm,
boolean doTransfer,
Object formCreator,
String formCreatorMethodName)
This creates an ExecTransfer that will do the transfer only if the VM reports that the executing device is considered a low memory device. |
|
ExecTransfer(Form sourceForm,
Object formCreator,
String formCreatorMethodName)
This creates an ExecTransfer that will do the transfer only if the VM reports that the executing device is considered a low memory device. |
|
| Method Summary | |
Form |
createForm(ExecTransfer et,
int creationAction,
int newFormRetCode)
|
Form |
getOrignalForm()
This is used to get the original displayed Form ONLY if an exec transfer is not being done. |
void |
run()
|
Form |
stopSourceForm(int exitCode)
This stops the Handle of the sourceForm. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, toString |
| Field Detail |
public Handle handle
public FileSaver saver
public PropertyList sourceProperties
public boolean doTransfer
public static final int CREATE_NEW_FORM
public static final int RECREATE_ORIGINAL_FORM
public static final int NEW_FORM_EXITED
public boolean oldFileSaverListensToNewForm
public boolean newFormChecksFileSaverOnExit
| Constructor Detail |
public ExecTransfer(Form sourceForm)
public ExecTransfer(Form sourceForm,
boolean doTransfer)
sourceForm - The original currently displaying FormdoTransfer - If this is true then an exec transfer will be done, otherwise the new Form
public ExecTransfer(Form sourceForm,
Object formCreator,
String formCreatorMethodName)
throws IllegalArgumentException
sourceForm - The original currently displaying FormformCreator - An object that will create the new Form and re-create the original Form on request.formCreatorMethodName - The name of the method of the formCreator that will be called.IllegalArgumentException - if the method could not be found in the supplied formCreator object.
public ExecTransfer(Form sourceForm,
boolean doTransfer,
Object formCreator,
String formCreatorMethodName)
throws IllegalArgumentException
sourceForm - The original currently displaying FormdoTransfer - If this is true then an exec transfer will be done, otherwise the new Form
will be displayed without the old one being removed.formCreator - An object that will create the new Form and re-create the original Form on request.formCreatorMethodName - The name of the method of the formCreator that will be called.IllegalArgumentException - if the method could not be found in the supplied formCreator object.| Method Detail |
public Form getOrignalForm()
public void run()
run in interface Runnablepublic Form stopSourceForm(int exitCode)
exitCode - The exit code to return.
public Form createForm(ExecTransfer et,
int creationAction,
int newFormRetCode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||