Package spin.off
Class DialogDispatcherFactory
- java.lang.Object
-
- spin.off.DialogDispatcherFactory
-
- All Implemented Interfaces:
DispatcherFactory
- Direct Known Subclasses:
ConcealedDialogDispatcherFactory,RevealedDialogDispatcherFactory
public abstract class DialogDispatcherFactory extends java.lang.Object implements DispatcherFactory
Abstract base class for factories that dispatch events withjava.awt.Dialogs. Shows how events can be dispatched with standard AWT.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classDialogDispatcherFactory.DialogDispatcherDispatcher withDialog.
-
Constructor Summary
Constructors Constructor Description DialogDispatcherFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.awt.DialogaquireDialog()Factory method to implement by subclasses to aquire a dialog.DispatchercreateDispatcher()Create a dispatcher.protected abstract voidreleaseDialog(java.awt.Dialog dialog)Factory method to implement by subclasses to release a dialog.
-
-
-
Method Detail
-
createDispatcher
public Dispatcher createDispatcher()
Create a dispatcher.- Specified by:
createDispatcherin interfaceDispatcherFactory- Returns:
- dispatcher that does the actual dispatching
-
aquireDialog
protected abstract java.awt.Dialog aquireDialog()
Factory method to implement by subclasses to aquire a dialog.- Returns:
- dialog
-
releaseDialog
protected abstract void releaseDialog(java.awt.Dialog dialog)
Factory method to implement by subclasses to release a dialog.- Parameters:
dialog- the dialog to release
-
-