Copyright 2012-02-25 Werner Randelshofer

ch.randelshofer.gui
Interface ViewFactory

All Known Implementing Classes:
DefaultViewer, ZipView

public interface ViewFactory

Defines the requirements for a viewer that displays an object.

Version:
1.1 2002-02-11 Renamed from Viewer to ViewFactory.
1.0 2001-10-05
Author:
Werner Randelshofer

Method Summary
 java.awt.Component getComponent(java.awt.Component parent, java.lang.Object value)
          Sets the value of the viewer to value.
 

Method Detail

getComponent

java.awt.Component getComponent(java.awt.Component parent,
                                java.lang.Object value)
Sets the value of the viewer to value.

Parameters:
parent - This is the component into which the viewer will be embedded.
value - This is the object to be displayed.

Copyright 2012-02-25 Werner Randelshofer