|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.blackberry.api.invoke.ApplicationArguments
net.rim.blackberry.api.invoke.TaskArguments
public final class TaskArguments
Encapsulates arguments to pass to the Task application.
| Field Summary | ||
|---|---|---|
|
static String |
ARG_NEW
Use this argument to open the Task application to create a new task |
|
static String |
ARG_VIEW
Use this argument to open the Task application to view/edit an existing task |
| Constructor Summary | ||
|---|---|---|
|
TaskArguments()
Creates a new TaskArguments instance with default arguments. |
|
|
TaskArguments(String arg)
Creates a new TaskArguments instance with one argument |
|
|
TaskArguments(String arg,
ToDo todo)
Creates a new TaskArguments instance with one argument and one ToDo object. |
|
| 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 |
|---|
public static final String ARG_NEW
public static final String ARG_VIEW
| Constructor Detail |
|---|
public TaskArguments()
The default arguments instruct the Message application to open in the default view.
public TaskArguments(String arg)
arg - Specify ARG_NEW to open the Task application to create a new, blank task.
IllegalArgumentException - if an argument other than ARG_NEW is used.
public TaskArguments(String arg,
ToDo todo)
ToDo object.
arg - Specify ARG_NEW to create a new task based on the todo arg. Specify ARG_VIEW to view/edit the existing todo arg.todo - If ARG_NEW is specified, a new (uncommitted) ToDo object. If ARG_VIEW, an existing ToDo object.
IllegalArgumentException - If arg is not either ARG_NEW or ARG_VIEW, if
ARG_NEW is used in conjuction with a committed ToDo object, or if ARG_VIEW
is used in conjunction with an uncommitted ToDo object.
RuntimeException - If BlackBerryToDoList cannot be opened or permission to open is denied.
SecurityException - If access to the PIM API is forbidden.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal