Package spin.off
Class DialogDispatcherFactory
java.lang.Object
spin.off.DialogDispatcherFactory
- All Implemented Interfaces:
DispatcherFactory
- Direct Known Subclasses:
ConcealedDialogDispatcherFactory
,RevealedDialogDispatcherFactory
Abstract base class for factories that dispatch events with
java.awt.Dialog
s. Shows how events can be dispatched with
standard AWT.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
Dispatcher withDialog
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Dialog
Factory method to implement by subclasses to aquire a dialog.Create a dispatcher.protected abstract void
releaseDialog
(Dialog dialog) Factory method to implement by subclasses to release a dialog.
-
Constructor Details
-
DialogDispatcherFactory
public DialogDispatcherFactory()
-
-
Method Details
-
createDispatcher
Create a dispatcher.- Specified by:
createDispatcher
in interfaceDispatcherFactory
- Returns:
- dispatcher that does the actual dispatching
-
aquireDialog
Factory method to implement by subclasses to aquire a dialog.- Returns:
- dialog
-
releaseDialog
Factory method to implement by subclasses to release a dialog.- Parameters:
dialog
- the dialog to release
-