|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.toolkit.binding.HWMBindingPopupFactory
public class HWMBindingPopupFactory
Title: HWMBindingPopupFactory
Description: This class creates popupmenus for binding beans.
Company: Altair Engineering, Inc.
Constructor Summary | |
---|---|
HWMBindingPopupFactory()
|
Method Summary | |
---|---|
javax.swing.JPopupMenu |
CreateEventTargetPopup(java.beans.BeanInfo beanInfo,
java.lang.String strMethName,
java.beans.EventSetDescriptor eventTarget)
Creates a popup for an event target with 'no param' methods and matching event sets. |
javax.swing.JPopupMenu |
CreatePropertyTargetPopup(java.beans.BeanInfo beanInfo,
java.lang.Class classPropertyType)
Creates a popupmenu for a component. |
javax.swing.JPopupMenu |
CreateSourcePopup(java.beans.BeanInfo beanInfo)
Creates a popupmenu for a component. |
boolean |
IsTargetMethodValid(java.lang.reflect.Method methTarget,
java.lang.reflect.Method methListener)
Compares the method - with methListener. |
void |
setMenuItemListener(java.awt.event.ActionListener listenerMenuItem)
Set the listener for menu item events |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HWMBindingPopupFactory()
Method Detail |
---|
public javax.swing.JPopupMenu CreateSourcePopup(java.beans.BeanInfo beanInfo)
beanInfo
- The property, event, and method info
public boolean IsTargetMethodValid(java.lang.reflect.Method methTarget, java.lang.reflect.Method methListener)
methTarget
- The method to comparemethListener
- The lsietner method
public javax.swing.JPopupMenu CreateEventTargetPopup(java.beans.BeanInfo beanInfo, java.lang.String strMethName, java.beans.EventSetDescriptor eventTarget)
beanInfo
- The target bean's infostrMethodName
- The listener method which is calledeventTarget
- The source EventSetDescriptor
public javax.swing.JPopupMenu CreatePropertyTargetPopup(java.beans.BeanInfo beanInfo, java.lang.Class classPropertyType)
beanInfo
- The property, event, and method infoclassPropertyType
- If property binding, then the class of the
property, else just pass null and event binding is assumed
public void setMenuItemListener(java.awt.event.ActionListener listenerMenuItem)
ActionListener
- The listener for menu item events.
(See Java help for more info)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |