Class wb.CallDialog
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class wb.CallDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----wb.CallDialog

public class CallDialog
extends Dialog
implements GTypes
class CallDialog is no different from any dialog box. It has two text fields for the user to enter the username and hostname of the party to be invited to the conference. It has two buttons to accept the type'd info or cancel

Constructor Index

 o CallDialog(Frame, Participants)
Creates a new Modal CallDialog attached to the frame

Method Index

 o action(Event, Object)
handler for action events
 o getHost()
User entered hostname of the party being called
 o getUser()
User entered username of the party being called
 o main(String[])
For Testing Purposes

Constructors

 o CallDialog
  public CallDialog(Frame top,
                    Participants party)
Creates a new Modal CallDialog attached to the frame
Parameters:
top - the Frame above this
party - the Participants list to which the new user will be added

Methods

 o action
  public boolean action(Event evt,
                        Object arg)
handler for action events
Parameters:
evt - Event that has occurred
arg - Object of the event
Returns:
boolean true if the event is handled if the user canceld his entry else false
Overrides:
action in class Component
 o getHost
  public String getHost()
User entered hostname of the party being called
Returns:
null if the user canceld his entry string the username
 o getUser
  public String getUser()
User entered username of the party being called
Returns:
null if the user canceld his entry string the username
 o main
  public static void main(String args[])
For Testing Purposes

All Packages  Class Hierarchy  This Package  Previous  Next  Index