org.crosswire.common.swing.desktop
Interface ViewGenerator

All Known Implementing Classes:
Desktop

public interface ViewGenerator

A ViewGenerator is able to create an object which can be used as a view. Typically it extends JPanel. Note, this design allows for only one kind of view.

Author:
DM Smith
See Also:
The GNU General Public License for details.

Method Summary
 Component createView()
          Constructs an application appropriate view for the desktop.
 

Method Detail

createView

Component createView()
Constructs an application appropriate view for the desktop.

Returns:
a view that can be used as a "window"

Copyright ยจ 2003-2015