Class wb.ConfirmClear
All Packages Class Hierarchy This Package Previous Next Index
Class wb.ConfirmClear
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----wb.ConfirmClear
- public class ConfirmClear
- extends Dialog
class ConfirmClear is no different from any dialog box.
It questions the user about his decision of clearing the screen as it will
effect all the participants in the conference.
-
ConfirmClear(WBFrame, WBCanvas)
- Creates a new Modal Confirm Dialog attached to the frame.
-
action(Event, Object)
- handler for action events.
ConfirmClear
public ConfirmClear(WBFrame top,
WBCanvas canvas)
- Creates a new Modal Confirm Dialog attached to the frame.
- Parameters:
- top - the Frame above this
- canvas - the WBCanvas
action
public boolean action(Event evt,
Object arg)
- handler for action events. Clears the screen upon "Yes" and disappears
upon "No". In order to handle the MODAL nature of Dialog the Parent
Frame is disabled. (Just to ensure that it has the same effect on all
platforms.
- Parameters:
- evt - Event that has occurred
- arg - Object of the event
- Returns:
- boolean true if the event is handled
else false
- Overrides:
- action in class Component
All Packages Class Hierarchy This Package Previous Next Index