Package net.sf.jguiraffe.gui.dlg
This package contains some common abstractions for working with standard dialogs.
JGUIraffe allows an application to make use of some standard dialogs that are typically supported by UI platforms. The pattern used when dealing with these dialogs is as follows:
- There is a service interface specific to a standard dialog type.
- The service interface defines methods for displaying the associated dialog, possibly in different flavors.
- The interface methods expect a parameters object that allows a customization of the dialog.
- The parameters object also contains a callback to be triggered when the dialog is closed per OK. It can then process the result produced by the dialog.
-
Interface Summary Interface Description DialogCanceledCallback<D> A callback interface to notify a client that the user has canceled a standard dialog.DialogResultCallback<T,D> A callback interface for handling the result of a standard dialog.DialogServiceFactory<T> A factory interface for the creation of a dialog service. -
Class Summary Class Description AbstractDialogOptions<T,S extends AbstractDialogOptions<T,S>> An abstract base class for options classes for standard dialogs.