SHOW Signed

net.rim.blackberry.api.invoke
Class MemoArguments

java.lang.Object
  |
  +--net.rim.blackberry.api.invoke.ApplicationArguments
        |
        +--net.rim.blackberry.api.invoke.MemoArguments

public final class MemoArguments
extends ApplicationArguments

Encapsulates arguments to pass to the Memo Pad application.

Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

Since:
JDE 4.0.0

Field Summary
 Category: Signed static String ARG_EDIT
          Use this argument to open the Memo application to edit an existing memo
 Category: Signed static String ARG_NEW
          Use this argument to open the Memo application to create a new memo
 Category: Signed static String ARG_VIEW
          Use this argument to open the Memo application to view an existing memo
   
Constructor Summary
 Category: Signed MemoArguments()
          Creates a new MemoArguments instance with default arguments.
 Category: Signed MemoArguments(String arg)
          Creates a new MemoArguments instance which takes one argument as a parameter.
 Category: Signed MemoArguments(String arg, BlackBerryMemo memo)
          Creates a new MemoArguments instance which takes an argument and a BlackBerryMemo as arguments
 
Method Summary
 
Methods inherited from class net.rim.blackberry.api.invoke.ApplicationArguments
getArgs
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARG_NEW

public static final String ARG_NEW
Use this argument to open the Memo application to create a new memo
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

ARG_VIEW

public static final String ARG_VIEW
Use this argument to open the Memo application to view an existing memo
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

ARG_EDIT

public static final String ARG_EDIT
Use this argument to open the Memo application to edit an existing memo
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Constructor Detail

MemoArguments

public MemoArguments()
Creates a new MemoArguments instance with default arguments.

The default arugments instruct the Memo Pad application to open the default view.

Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

MemoArguments

public MemoArguments(String arg)
Creates a new MemoArguments instance which takes one argument as a parameter.
Parameters:
arg - Specify ARG_NEW to open the Memo application to create a new memo.
Throws:
IllegalArgumentException - If an argument other than ARG_NEW is used.
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

MemoArguments

public MemoArguments(String arg,
                     BlackBerryMemo memo)
Creates a new MemoArguments instance which takes an argument and a BlackBerryMemo as arguments
Parameters:
arg - One of ARG_NEW, ARG_VIEW or ARG_EDIT, depending on what you would like to invoke the Memo application to do
memo - If ARG_VIEW or ARG_EDIT is specified, the BlackBerryMemo to view or edit. If ARG_NEW is specified, a new (uncommitted) BlackBerryMemo to edit in a "new memo" screen.
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.


Copyright 1999-2006 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.