fipaos.util.objecteditor
Class ObjectEditorComponentFactory

java.lang.Object
  |
  +--fipaos.util.objecteditor.ObjectEditorComponentFactory

public class ObjectEditorComponentFactory
extends java.lang.Object

Factory to produce ObjectEditorComponent instances that can modify the properties of an object


Constructor Summary
ObjectEditorComponentFactory()
           
 
Method Summary
static ObjectEditorComponent getComponent(DynamicClass.Property property)
          Generate a JPanel sub-class which implements the ObjectEditorComponent interface for the given Property
static ObjectEditorComponent getComponent(java.lang.Object obj)
          Generate a JPanel sub-class which implements the ObjectEditorComponent interface for the given Object
static ObjectEditorComponent getDialog(java.awt.Frame parent, DynamicClass.Property property)
          Generate a JDialog sub-class which implements the ObjectEditorComponent interface for the given Property
static ObjectEditorComponent getDialog(java.awt.Frame parent, java.lang.Object obj)
          Generate a JDialog sub-class which implements the ObjectEditorComponent interface for the given Object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectEditorComponentFactory

public ObjectEditorComponentFactory()
Method Detail

getComponent

public static ObjectEditorComponent getComponent(java.lang.Object obj)
Generate a JPanel sub-class which implements the ObjectEditorComponent interface for the given Object

getComponent

public static ObjectEditorComponent getComponent(DynamicClass.Property property)
Generate a JPanel sub-class which implements the ObjectEditorComponent interface for the given Property

getDialog

public static ObjectEditorComponent getDialog(java.awt.Frame parent,
                                              DynamicClass.Property property)
Generate a JDialog sub-class which implements the ObjectEditorComponent interface for the given Property

getDialog

public static ObjectEditorComponent getDialog(java.awt.Frame parent,
                                              java.lang.Object obj)
Generate a JDialog sub-class which implements the ObjectEditorComponent interface for the given Object