|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.altair.hwm.toolkit.binding.HWMPropertyAdapter
public class HWMPropertyAdapter
Title: HWMPropertyAdapter
Description: This class listens to the property change of the bean. This is used to bind a property of a source bean to a similar type (data type) of property of a target bean.
Company: Altair Engineering, Inc.
| Constructor Summary | |
|---|---|
HWMPropertyAdapter()
Constructor |
|
| Method Summary | |
|---|---|
void |
AddListener()
Adds this class as a property change listener |
void |
Init(HWMBindingInfo hwmBindingInfo,
java.lang.Object objBeanSource,
java.lang.Object objBeanTarget)
This function does all the work of "advising" to a property change. |
void |
propertyChange(java.beans.PropertyChangeEvent propChangeEvt)
This is a PropertyChangeListener class. |
void |
RemoveListener()
Removes this class as a property change listener |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HWMPropertyAdapter()
| Method Detail |
|---|
public void AddListener()
throws java.lang.NoSuchMethodException,
java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
NoSuchMethodException, - InvocationTargetException,
IllegalAccessException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
public void RemoveListener()
throws java.lang.NoSuchMethodException,
java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
NoSuchMethodException, - InvocationTargetException,
IllegalAccessException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
public void Init(HWMBindingInfo hwmBindingInfo,
java.lang.Object objBeanSource,
java.lang.Object objBeanTarget)
throws java.lang.NoSuchMethodException,
java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
hwmBindingInfo - The binding info contains the info about which
property in src bean is to be bound to which
property in target beanobjBeanSorce - The source beanobjBeanTarget - The target bean
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessExceptionpublic void propertyChange(java.beans.PropertyChangeEvent propChangeEvt)
propertyChange in interface java.beans.PropertyChangeListenerpropChangeEvt - The property change event object (see java help for
more info)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||