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 Pad application to edit an existing memo.
 Category: Signed static String ARG_NEW
          Use this argument to open the Memo Pad application to create a new memo.
 Category: Signed static String ARG_VIEW
          Use this argument to open the Memo Pad application to view an existing memo.
   
Constructor Summary
 Category: Signed MemoArguments()
          Creates a MemoArguments instance.
 Category: Signed MemoArguments(String arg)
          Creates a MemoArguments instance.
 Category: Signed MemoArguments(String arg, BlackBerryMemo memo)
          Creates a MemoArguments instance.
 
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_EDIT

public static final String ARG_EDIT
Use this argument to open the Memo Pad 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.

ARG_NEW

public static final String ARG_NEW
Use this argument to open the Memo Pad 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 Pad 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.
Constructor Detail

MemoArguments

public MemoArguments()
Creates a MemoArguments instance. A MemoArguments object created with this constructor instructs 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 MemoArguments instance. A MemoArguments object created with this constructor instructs the Memo Pad application to create a new memo.
Parameters:
arg - Specify ARG_NEW to open the Memo Pad 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 MemoArguments instance. A MemoArguments object created with this constructor instructs the Memo Pad application to create a new memo, or edit/view an existing memo.
Parameters:
arg - One of ARG_NEW, ARG_VIEW or ARG_EDIT, depending on what you would like to invoke the Memo Pad application to do.
memo - If arg is ARG_VIEW or ARG_EDIT, provide an existing, committed memo retrieved from the BlackBerryMemoList. If arg is ARG_NEW, provide a new, uncommitted BlackBerryMemo, or specify null to have one created for you by the Memo Pad application.
Throws:
IllegalArgumentException - if arg is not one of ARG_NEW, ARG_VIEW, or ARG_EDIT.
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-2007 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.