com.partnersoft.v3x.gui
Class ViewerFactory

java.lang.Object
  extended by org.jcon.data.ClassMappedFactory
      extended by com.partnersoft.v3x.gui.ViewerFactory

public class ViewerFactory
extends ClassMappedFactory

A Factory for viewers. Inherits from ClassMappedFactory, so that viewers may be ordered according to the class they will specify.


Constructor Summary
ViewerFactory()
          Creates a new, empty ViewerFactory.
 
Method Summary
static ViewerFactory defaultFactory()
          Returns the default ViewerFactory.
 Viewer orderViewer(java.lang.Class specifiedClass)
          Returns the viewer for the given class.
 
Methods inherited from class org.jcon.data.ClassMappedFactory
addTemplate, addTemplate, orderPart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewerFactory

public ViewerFactory()
Creates a new, empty ViewerFactory.

Method Detail

defaultFactory

public static ViewerFactory defaultFactory()
Returns the default ViewerFactory.


orderViewer

public Viewer orderViewer(java.lang.Class specifiedClass)
Returns the viewer for the given class.