Class BeanEditor

java.lang.Object
com.softsynth.jmsl.view.PVDialogAdapter
com.softsynth.jmsl.util.BeanEditor
All Implemented Interfaces:
PVComponent, PVDialog, PVFrame, java.awt.event.ActionListener, java.util.EventListener

public class BeanEditor
extends PVDialogAdapter
implements java.awt.event.ActionListener
Dialog to change values of a bean. Works for classes that have matching get/set methods and primitive data types
Author:
Nick Didkovsky, (c) 2004 All rights reserved, Email: nick@didkovsky.com
  • Constructor Details

    • BeanEditor

      public BeanEditor​(java.awt.Frame f, EditListener listener, java.lang.Object obj) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
      Throws:
      java.lang.ClassNotFoundException
      java.lang.IllegalAccessException
      java.lang.reflect.InvocationTargetException
    • BeanEditor

      public BeanEditor​(java.awt.Frame f, EditListener listener, java.lang.Object obj, boolean modal) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
      Throws:
      java.lang.ClassNotFoundException
      java.lang.IllegalAccessException
      java.lang.reflect.InvocationTargetException
    • BeanEditor

      public BeanEditor​(java.awt.Frame f, EditListener editListener, java.lang.Object obj, boolean modal, BooleanListener booleanListener) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
      Throws:
      java.lang.ClassNotFoundException
      java.lang.IllegalAccessException
      java.lang.reflect.InvocationTargetException
  • Method Details

    • actionPerformed

      public void actionPerformed​(java.awt.event.ActionEvent e)
      Specified by:
      actionPerformed in interface java.awt.event.ActionListener
    • setValue

      public void setValue​(java.lang.String propertyName, java.lang.String value) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • main

      public static void main​(java.lang.String[] args)