Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.progeeks.meta.swing
Class DefaultEditorFactory  view DefaultEditorFactory download DefaultEditorFactory.java

java.lang.Object
  extended byorg.progeeks.meta.swing.DefaultEditorFactory
All Implemented Interfaces:
EditorFactory

public class DefaultEditorFactory
extends java.lang.Object
implements EditorFactory

Simple factory that will just instantiate an editor of a particular class.

Version:
$Revision: 1.5 $

Field Summary
private  java.lang.Class editorType
           
private  boolean passFactories
           
 
Constructor Summary
DefaultEditorFactory(java.lang.Class editorType)
           
DefaultEditorFactory(java.lang.Class editorType, boolean passFactories)
           
 
Method Summary
 MetaPropertyEditor createPropertyEditor(org.progeeks.meta.PropertyType type, FactoryRegistry factories)
          Creates an editor for a specific set of property types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

editorType

private java.lang.Class editorType

passFactories

private boolean passFactories
Constructor Detail

DefaultEditorFactory

public DefaultEditorFactory(java.lang.Class editorType,
                            boolean passFactories)

DefaultEditorFactory

public DefaultEditorFactory(java.lang.Class editorType)
Method Detail

createPropertyEditor

public MetaPropertyEditor createPropertyEditor(org.progeeks.meta.PropertyType type,
                                               FactoryRegistry factories)
Creates an editor for a specific set of property types.

Specified by:
createPropertyEditor in interface EditorFactory