|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.nutiteq.helpers.FileBrowser
public class FileBrowser
This class implements a file browser using J2ME MIDP UI.
| Constructor Summary | |
|---|---|
FileBrowser(FileSystem fs)
Create a FileBrowser object. |
|
| Method Summary | |
|---|---|
void |
commandAction(javax.microedition.lcdui.Command cmd,
javax.microedition.lcdui.Displayable disp)
Called when a command is selected. |
void |
showUI(javax.microedition.midlet.MIDlet midlet,
java.lang.String startDir,
FileBrowserListener listener)
Show file browser UI (list). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileBrowser(FileSystem fs)
fs - FileSystem implementation to use| Method Detail |
|---|
public void showUI(javax.microedition.midlet.MIDlet midlet,
java.lang.String startDir,
FileBrowserListener listener)
midlet - startDir - directory to start browsing. Use null to start with the list of
roots.listener - FileBrowserListener object used for accepting a file or directory.
The FileBrowserListener implementation should remember the file or
directory selected and should change the displayable before
returning true in one of its methods.
public void commandAction(javax.microedition.lcdui.Command cmd,
javax.microedition.lcdui.Displayable disp)
commandAction in interface javax.microedition.lcdui.CommandListenercmd - commanddisp - current displayableCommandListener.commandAction(javax.microedition.lcdui.Command,
javax.microedition.lcdui.Displayable)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||