Generating event handlers
The GUI Builder generates these event handlers:
Button Handlers
Specifies what action occurs when a button is clicked.
Activation Handlers
Specifies what action occurs to the panel before it displays.
Double-click Handlers
Specifies what action occurs when a user double-clicks an item, such
as a list item.
Slider Handlers
Specifies what action occurs when a user changes the position of a
slider control.
Menu Handlers
Specifies what action occurs on a context menu.
To generate event handlers, follow these steps:
-
From the Properties window for the PDML file that contains your
panels, select true in the Generate Event Handlers value
field.
-
From the Properties window of the component that receives the event
handler, ensure that you specify the class name or package and class name
that is called when the action occurs.
Click here for more things you can do with
the GUI Builder.