|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.lcdui.Displayable
javax.microedition.lcdui.Screen
javax.microedition.lcdui.List
palmed.file.FileBrowser
public final class FileBrowser
This class implements a file browser.
Field Summary |
---|
Fields inherited from class javax.microedition.lcdui.List |
---|
SELECT_COMMAND |
Fields inherited from interface javax.microedition.io.file.FileSystemListener |
---|
ROOT_ADDED, ROOT_REMOVED |
Fields inherited from interface javax.microedition.lcdui.Choice |
---|
EXCLUSIVE, IMPLICIT, MULTIPLE, POPUP, TEXT_WRAP_DEFAULT, TEXT_WRAP_OFF, TEXT_WRAP_ON |
Constructor Summary | |
---|---|
FileBrowser(javax.microedition.lcdui.Display display,
javax.microedition.lcdui.Displayable next)
Create a file browser. |
Method Summary | |
---|---|
void |
allowCreation(boolean canCreateFiles)
Add or remove the possibility to create a new file and select it. |
void |
commandAction(javax.microedition.lcdui.Command command,
javax.microedition.lcdui.Displayable displayable)
|
void |
rootChanged(int state,
java.lang.String rootName)
|
void |
setListener(IFileBrowserListener listener)
Set or change the file browser listener. |
Methods inherited from class javax.microedition.lcdui.List |
---|
append, delete, deleteAll, getFitPolicy, getFont, getImage, getSelectedFlags, getSelectedIndex, getString, insert, isSelected, removeCommand, set, setFitPolicy, setFont, setSelectCommand, setSelectedFlags, setSelectedIndex, setTicker, setTitle, size |
Methods inherited from class javax.microedition.lcdui.Displayable |
---|
addCommand, getHeight, getTicker, getTitle, getWidth, isShown, setCommandListener, sizeChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileBrowser(javax.microedition.lcdui.Display display, javax.microedition.lcdui.Displayable next)
display
- the displaynext
- the displayable to display when closing the file browserMethod Detail |
---|
public void allowCreation(boolean canCreateFiles)
canCreateFiles
- whether file creation is allowed or notpublic void setListener(IFileBrowserListener listener)
listener
- the file browser listenerpublic void commandAction(javax.microedition.lcdui.Command command, javax.microedition.lcdui.Displayable displayable)
commandAction
in interface javax.microedition.lcdui.CommandListener
public void rootChanged(int state, java.lang.String rootName)
rootChanged
in interface javax.microedition.io.file.FileSystemListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |