org.progeeks.util
Interface ViewFactory

All Known Implementing Classes:
DefaultJComponentFactory, DefaultViewFactory, DefaultWindowFactory

public interface ViewFactory

Factory that can create views from a ViewContext.

Version:
$Revision: 1.2 $
Author:
Paul Speed

Method Summary
 ContextView createView(ViewContext context)
          Called to create a view for the specified context.
 void destroyView(ContextView view)
          Called to destroy a specific view previously created with this factory.
 

Method Detail

createView

ContextView createView(ViewContext context)
Called to create a view for the specified context. When possible, the created view is returned.


destroyView

void destroyView(ContextView view)
Called to destroy a specific view previously created with this factory.



Copyright © 2002-2003 Paul Speed. All Rights Reserved.