com.softsynth.jmsl.util
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: didkovn@mail.rockefeller.edu
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
static void |
main(java.lang.String[] args)
|
void |
setValue(java.lang.String propertyName,
java.lang.String value)
|
Methods inherited from class com.softsynth.jmsl.view.PVDialogAdapter |
add, add, addKeyListener, addWindowListener, dispose, equals, getBackground, getBounds, getComponent, getFont, getFontMetrics, getParent, getPVMenuBar, hashCode, isEnabled, isShowing, pack, removeAll, removeKeyListener, setBackground, setEnabled, setFont, setFrameLayout, setLocation, setPVMenuBar, setResizable, setSize, setSize, setTitle, setVisible, toBack, toFront, toString, validate |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
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
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)