Joltcheckbox, Joltchoice – HP NonStop G-Series User Manual

Page 190

Advertising
background image

JoltCheckbox

The JoltCheckbox is a Jolt aware extension of java.awt.Checkbox, that is linked to a specific field in the Jolt input buffer by its
JoltFieldName property. If the field occurs multiple times, the occurrence this checkbox is linked to is specified by the occurrenceIndex
property of this bean.

It can be connected with JoltServiceBeans to contain parts of the input for a service. A JoltServiceBean may listen to events raised by a
JoltCheckbox. JoltCheckbox sends JoltInputEvents to its listeners (typically JoltServiceBeans) when the selection in the checkbox changes.
The JoltInputEvent in this case is populated with the TrueValue property of data type String (if the box is selected) or FalseValue (if the
box is unselected).

JoltChoice

The JoltChoice provides a Jolt aware extension of java.awt.Choice, that is linked to a specific field in the Jolt input buffer by its
JoltFieldName property. If the field occurs multiple times, the occurrence this choice is linked to is specified by the occurrenceIndex
property of this bean.

It can be connected with JoltServiceBeans to contain parts of the input for a service. A JoltServiceBean may listen to events raised by a
JoltChoice. JoltChoice sends JoltInputEvents to its listeners (typically JoltServiceBeans) when the selection in the choicebox changes. The
JoltInputEvent in this case is populated with the single value of the selected item.

Using the Property List and the Property Editor to Modify the
JoltBeans Properties

The values of most JoltBeans properties can be modified by simply editing the right column of the Property List shown in

Figure 3-1

.

For some properties of JoltBeans, Custom Property Editors are provided.

The Custom Property Editors, accessed from the Property List, include dialog boxes that are used to modify the property values. You can
invoke the Custom Property Editors from the Property List by selecting the button with the ellipsis "..." that is next to the value of the
corresponding property value. An example is shown in

Figure 3-1

.

Figure 3-1. Example of the Property List and Ellipsis Button

When the ellipsis button is selected, the Property Editor shown in

Figure 3-2

displays.

Figure 3-2. Property Editor Dialog Box

Advertising