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.Dialog
s. Shows how events can be dispatched with standard AWT.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
DialogDispatcherFactory.DialogDispatcher
Dispatcher 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.Dialog
aquireDialog()
Factory method to implement by subclasses to aquire a dialog.Dispatcher
createDispatcher()
Create a dispatcher.protected abstract void
releaseDialog(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:
createDispatcher
in 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
-
-