Joltusereventbean, Jolt aware awt beans, Jolttextfield – HP NonStop G-Series User Manual

Page 189: Joltlabel, Joltlist

Advertising
background image

JoltUserEventBean

The JoltUserEventBean provides access to TUXEDO events. The TUXEDO event to subscribe to or unsubscribe from is defined by setting
the appropriate properties of this bean (event name and event filter). The actual event notification is delivered in the form of a
JoltOutputEvent from the JoltSessionBean.

Table 3-3

shows the JoltUserEventBean properties and descriptions.

Table 3-3. JoltUserEventBean Properties

Property

Description

EventName Set the name of the user event represented by the bean.

Filter

Set the event filter

Session

The JoltSessionBean associated with the bean that allows access to the
TUXEDO client session.

Jolt Aware AWT Beans

The Jolt aware AWT Beans are inherited from the JDK 1.1 Abstract Windowing Toolkit. They include:

JoltTextField

JoltLabel

JoltList

JoltCheckbox

JoltChoice

Refer to

Section 5, Jolt Aware AWT Beans Class Library Reference

for more information.

JoltTextField

A Jolt aware extension of java.awt.TextField that is linked to a specific field in the Jolt input or output buffer by its JoltFieldName property.
If the field occurs multiple times, the occurrence this textfield is linked to is specified by the occurrenceIndex property of this bean.

JoltTextField can be connected with JoltServiceBeans in two ways:

JoltTextField contains parts of the input for a service. A JoltServiceBean may listen to events raised by a JoltTextField. JoltTextField
sends JoltInputEvents to its listeners (typically JoltServiceBeans) when its contents changes.

JoltTextField displays output from a service. In this case, JoltTextField listens to JoltOutputEvents from JoltServiceBeans and
updates its contents according to the occurrence of the field to which it is linked.

JoltLabel

This is a Jolt aware extension of java.awt.Label that is linked to a specific field in the Jolt output buffer by its JoltFieldName property. If
the field occurs multiple times, the occurrence this textfield is linked to is specified by the occurrenceIndex property of this bean. JoltLabel
can be connected with JoltServiceBeans to display output from a service. A JoltLabel listens to JoltOutputEvents from JoltServiceBeans
and updates its contents according to the occurrence of the field to which it is linked.

JoltList

This is a Jolt aware extension of java.awt.List that is linked to a specific Jolt field in the Jolt input or output buffer by its JoltFieldName
property. If the field occurs multiple times in the Jolt input buffer, the occurrence this list is linked to is specified by the occurrenceIndex
property of this bean. JoltList can be connected with JoltServiceBeans in two ways:

JoltList contains parts of the input for a service. A JoltServiceBean listens to events raised by a JoltList. JoltList sends
JoltInputEvents to its listeners when the selection in the listbox changes. The JoltInputEvent, in this case, is populated with the single
value of the selected item.

JoltList displays output from a service. When used to display the output of a service, JoltList listens to JoltOutputEvents from
JoltServiceBeans and updates its contents accordingly with all occurrences of the field to which it is linked.

Advertising