Class como.sys.RemoteFileDialog
All Packages Class Hierarchy This Package Previous Next Index
Class como.sys.RemoteFileDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----como.sys.RemoteFileDialog
- public class RemoteFileDialog
- extends Panel
-
DATA
-
-
PICTURE
-
-
SOUND
-
-
RemoteFileDialog()
-
-
RemoteFileDialog(ComObj, String, Component)
- The RemoteFileDialog is a helper-class, that opens a file on the server.
-
action(Event, Object)
-
-
getName(String)
-
-
handleEvent(Event)
-
PICTURE
public final static int PICTURE
SOUND
public final static int SOUND
DATA
public final static int DATA
RemoteFileDialog
public RemoteFileDialog()
RemoteFileDialog
public RemoteFileDialog(ComObj comobj,
String filename,
Component notify)
- The RemoteFileDialog is a helper-class, that opens a file on the server.
(same pathes as the ComObj.openInputStream()). This files contains filenames
that may be loaded. The RemoteFileDialog displays these filenames. You may
select one of these. If it is a known filetype (picture/sound must be
indicated in the first line of the filename-file), you can play/view
with a double-click on the filename. The syntax of the file:
first line: picture | sound | data.
next lines: filename : description.
- Parameters:
- comobj - the ComObj.
- filename - the name of the file that contains the filenames
- notify - a Component that will be notified with an ACTION-Event,
where the target is set to the RemoteFileDialog and the arg to
the filename (null if cancel was pressed).
handleEvent
public boolean handleEvent(Event evt)
- Overrides:
- handleEvent in class Component
getName
public String getName(String all)
action
public boolean action(Event evt,
Object what)
- Overrides:
- action in class Component
All Packages Class Hierarchy This Package Previous Next Index