com.ibm.able.examples.ablebean |
SimpleAbleBean - How to create a custom AbleBean
This example shows the easiest method for creating a custom AbleBean,
by extending the AbleObject
base class.
There are three java parts that must be created for any
AbleBean:
The bean class file (SimpleAbleBean.java)
The bean info file (SimpleAbleBeanInfo.java)
The bean customizer file (SimpleAbleBeanCustomizer.java)
To see how the SimpleAbleBean works, go to the Samples
panel on the icon palette. Move the mouse slowly over
each icon and a tooltip text window will display the name of the
bean. Click on the icon for the "SimpleBean".
This will create an instance and place it on the canvas. |