|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.millstone.base.data.util.PropertysetItem | +--org.millstone.base.data.util.BeanItem
A wrapper class for adding the Item interface to any Java Bean.
Nested Class Summary |
Nested classes inherited from class org.millstone.base.data.Item |
Item.Editor, Item.PropertySetChangeEvent, Item.PropertySetChangeListener, Item.PropertySetChangeNotifier, Item.Viewer |
Constructor Summary | |
BeanItem(java.lang.Object bean)
Creates a new instance of BeanItem and adds all properties of a Java Bean to it. |
Methods inherited from class org.millstone.base.data.util.PropertysetItem |
addItemProperty, addListener, getItemProperty, getItemPropertyIds, removeItemProperty, removeListener, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BeanItem(java.lang.Object bean)
Creates a new instance of BeanItem and adds all properties of a Java Bean to it. The properties are identified by their respective bean names.
Note that this version only supports introspectable bean properties and their getter and setter methods. Stand-alone "is" and "are" methods are not supported.
bean
- the Java Bean to copy properties from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |