|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.toolkit.binding.HWMBindingInfo
public class HWMBindingInfo
Title: HWMBindingInfo
Description: This is mainly a structure that holds all information pertaining to binding two beans together.
Company: Altair Engineering, Inc.
Field Summary | |
---|---|
static int |
BINDING_EVENTS
The binding is from an event to a method |
static int |
BINDING_PROPERTIES
The property in the source bean is bounded to a property in someother bean |
static java.lang.String |
VERSION
The version for this class |
Constructor Summary | |
---|---|
HWMBindingInfo()
Constructor. |
Method Summary | |
---|---|
void |
ExtractPropertyClass(java.beans.BeanInfo beanInfo)
Called by LoadTemplate. |
java.lang.Object |
GetAdapterClass()
Get the adapter class. |
java.lang.String |
GetAdapterClassName()
Get the name of the adapter class that has been written for this binding |
int |
GetBindingType()
Get the binding type, viz. |
java.lang.String |
GetListenerMethod()
Get the listener method name that needs to be overridden |
java.lang.Class |
GetPropertyClass()
Gets the property's type as a class type |
int |
GetSourceBeanID()
Get ID the of the source bean involved in this binding operation |
java.beans.EventSetDescriptor |
GetSourceEventSetDescriptor()
Get the eventset descriptor of the source bean involved in this binding |
int |
GetSourcePageID()
Get ID the of the page containing the source bean involved in this binding operation |
java.lang.String |
GetSrcPropName()
Gets the src property's name |
int |
GetTargetBeanID()
Get ID the of the target bean involved in this binding operation |
java.lang.String |
GetTargetMethod()
Get method name of the target bean involved in this binding |
int |
GetTargetPageID()
Get ID the of the page containing the target bean involved in this binding operation |
java.lang.String |
GetTargetPropName()
Gets the target property's name |
java.lang.String |
GetTargetPropWriteMethodName()
Gets the target property's write method name |
void |
readExternal(java.io.ObjectInput objInput)
This method belongs to the Externalizable interface and is called to save this object |
void |
ReadVersion1_0(java.io.ObjectInput objInput)
This reads the 1.0 version class memebers |
void |
SetAdapterClass(java.lang.Object objAdapterClass)
Set the adapter class. |
void |
SetAdapterClassName(java.lang.String szAdapterClass)
Set the name of the adapter class that has been written for this binding |
void |
SetBindingType(int nBindingType)
Set the binding type, viz. |
void |
SetPropertyClass(java.lang.Class classPropType)
Sets the clss type of the property that is binded |
boolean |
SetSourceEventInfo(int nSrcPgID,
int nSrcBeanID,
java.beans.EventSetDescriptor eventSetDescriptor,
java.lang.String szListenerMethod)
Set all the inforation pertaining to the source bean event description |
boolean |
SetSourcePropertyInfo(int nSrcPgID,
int nSrcBeanID,
java.beans.PropertyDescriptor propSourceBean)
Set all the inforation pertaining to the source bean's property |
boolean |
SetTargetMethodInfo(int nTargetPgID,
int nTargetBeanID,
java.lang.String szMethod)
Set all the inforation pertaining to the target bean method to call |
boolean |
SetTargetPropertyInfo(int nTargetPgID,
int nTargetBeanID,
java.beans.PropertyDescriptor propTargetBean)
Set all the inforation pertaining to the target bean's properties |
void |
writeExternal(java.io.ObjectOutput objOutput)
This method belongs to the Externalizable interface and is called to save this object |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String VERSION
public static final transient int BINDING_EVENTS
public static final transient int BINDING_PROPERTIES
Constructor Detail |
---|
public HWMBindingInfo()
Method Detail |
---|
public void SetAdapterClass(java.lang.Object objAdapterClass)
objAdapterClass
- public java.lang.Object GetAdapterClass()
public void SetBindingType(int nBindingType)
nBindingType
- -- The binding type. It can be one of the following:
BINDING_EVENTS or BINDING_PROPERTIESpublic int GetBindingType()
public boolean SetSourceEventInfo(int nSrcPgID, int nSrcBeanID, java.beans.EventSetDescriptor eventSetDescriptor, java.lang.String szListenerMethod)
szBeanClass
- -- The classname of the beannSrcPgID
- -- The source bean's page IDnSrcBeanID
- -- The source bean's IDeventSetDescriptor
- -- The source bean's event set descriptorszListenerMethod
- -- The method in the listener to be overridden
public boolean SetTargetMethodInfo(int nTargetPgID, int nTargetBeanID, java.lang.String szMethod)
szBeanClass
- -- The classname of the target beannTargetPgID
- -- The target bean's page IDnTargetBeanID
- -- The target bean's IDszMethod
- -- The target bean's method/property name
that is being bound to
public boolean SetSourcePropertyInfo(int nSrcPgID, int nSrcBeanID, java.beans.PropertyDescriptor propSourceBean)
szBeanClass
- -- The classname of the beannSrcPgID
- -- The source bean's page IDnSrcBeanID
- -- The source bean's IDpropSourceBean
- -- The source bean's descriptor of the property
public boolean SetTargetPropertyInfo(int nTargetPgID, int nTargetBeanID, java.beans.PropertyDescriptor propTargetBean)
szBeanClass
- -- The classname of the target beannTargetPgID
- -- The target bean's page IDnTargetBeanID
- -- The target bean's IDpropTargetBean
- -- The target bean's descriptor of te property
public int GetSourcePageID()
public int GetSourceBeanID()
public int GetTargetPageID()
public int GetTargetBeanID()
public java.beans.EventSetDescriptor GetSourceEventSetDescriptor()
public java.lang.String GetListenerMethod()
public java.lang.String GetTargetMethod()
public void SetAdapterClassName(java.lang.String szAdapterClass)
szAdapterClass
- The adapter class namepublic java.lang.String GetAdapterClassName()
public java.lang.String GetSrcPropName()
public java.lang.String GetTargetPropName()
public java.lang.String GetTargetPropWriteMethodName()
public void SetPropertyClass(java.lang.Class classPropType)
classPropType
- The Class object representing the property's typepublic java.lang.Class GetPropertyClass()
public void ExtractPropertyClass(java.beans.BeanInfo beanInfo) throws java.lang.Exception
The
- bean info for the source bean
java.lang.Exception
public void readExternal(java.io.ObjectInput objInput) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
objInput
- The input stream that needs to be read
IOException,
- ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public void ReadVersion1_0(java.io.ObjectInput objInput) throws java.io.IOException, java.lang.ClassNotFoundException
objInput
- The input stream that needs to be read
IOException,
- ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput objOutput) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
objOutput
- The input stream that needs to be read
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |