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

Variable Index

 o DATA
 o PICTURE
 o SOUND

Constructor Index

 o RemoteFileDialog()
 o RemoteFileDialog(ComObj, String, Component)
The RemoteFileDialog is a helper-class, that opens a file on the server.

Method Index

 o action(Event, Object)
 o getName(String)
 o handleEvent(Event)

Variables

 o PICTURE
  public final static int PICTURE
 o SOUND
  public final static int SOUND
 o DATA
  public final static int DATA

Constructors

 o RemoteFileDialog
  public RemoteFileDialog()
 o 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).

Methods

 o handleEvent
  public boolean handleEvent(Event evt)
Overrides:
handleEvent in class Component
 o getName
  public String getName(String all)
 o action
  public boolean action(Event evt,
                        Object what)
Overrides:
action in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index