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
-
CallDialog(Frame, Participants)
- Creates a new Modal CallDialog attached to the frame
-
action(Event, Object)
- handler for action events
-
getHost()
- User entered hostname of the party being called
-
getUser()
- User entered username of the party being called
-
main(String[])
- For Testing Purposes
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
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
getHost
public String getHost()
- User entered hostname of the party being called
- Returns:
- null if the user canceld his entry
string the username
getUser
public String getUser()
- User entered username of the party being called
- Returns:
- null if the user canceld his entry
string the username
main
public static void main(String args[])
- For Testing Purposes
All Packages Class Hierarchy This Package Previous Next Index