| org.netbeans.microedition.lcdui.pda.PIMBrowser
PIMBrowser | public class PIMBrowser extends List implements CommandListener(Code) | | The PIMBrowser custom component uses PIM API which gives access to the Personal
Information Management (PIM) database including to-do lists, calendars and
contact data. Requires JSR 75.
|
Inner Class :class ItemDisplayScreen extends Form implements CommandListener | |
Field Summary | |
final public static Command | SELECT_PIM_ITEM Command fired when PIMItem selected. |
Constructor Summary | |
public | PIMBrowser(Display display, int listType) Creates a new instance of PIMBrowser for given Display object
and PIM list type. |
Method Summary | |
public void | commandAction(Command command, Displayable displayable) Called by a system to indicated that a command has been invoked on a particular displayable. | protected CommandListener | getCommandListener() Returns command listener. | public int | getListType() Returns PIM list type. | public PIMItem | getSelectedItem() Returns selected PIMItem object. | public void | setCommandListener(CommandListener commandListener) Sets command listener to this component. |
SELECT_PIM_ITEM | final public static Command SELECT_PIM_ITEM(Code) | | Command fired when PIMItem selected.
|
PIMBrowser | public PIMBrowser(Display display, int listType)(Code) | | Creates a new instance of PIMBrowser for given Display object
and PIM list type.
Parameters: display - non-null Display object. Parameters: listType - type representing the PIM list type to open, either PIM.CONTACT_LIST ,PIM.EVENT_LIST , or PIM.TODO_LIST . |
commandAction | public void commandAction(Command command, Displayable displayable)(Code) | | Called by a system to indicated that a command has been invoked on a particular displayable.
Parameters: command - the Command that was invoked Parameters: displayable - the Displayable where the command was invoked |
getCommandListener | protected CommandListener getCommandListener()(Code) | | Returns command listener.
non null CommandListener object |
getListType | public int getListType()(Code) | | Returns PIM list type.
possible values: PIM.CONTACT_LIST represents contact list,PIM.EVENT_LIST represents event list, PIM.TODO_LIST represents to-do list. |
getSelectedItem | public PIMItem getSelectedItem()(Code) | | Returns selected PIMItem object.
selected PIMItem object |
setCommandListener | public void setCommandListener(CommandListener commandListener)(Code) | | Sets command listener to this component.
Parameters: commandListener - CommandListener to be used |
|
|