beautypg.com

Joltlabel constructor, Joltlabel methods, Servicereturned – HP NonStop G-Series User Manual

Page 241: Setoccurrenceindex

background image

its JoltFieldName property. If the field occurs multiple times, the occurrence this label 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 occurrences of the field to which it is
linked.

JoltLabel Constructor

JoltLabel()

JoltLabel Methods

The following methods are used in conjunction with the JoltLabel class:

serviceReturned

setOccurrenceIndex

getOccurrenceIndex

getJoltFieldName

setJoltFieldName

serviceReturned

The serviceReturned() method is the event handler for JoltOutputEvents.

void serviceReturned(JoltOutputEvent evt)

evt

The event object.

Usage Event handler for JoltOutputEvents. This should not be called directly; it is always called
by the JoltServiceBean.

setOccurrenceIndex

The setOccurrenceIndex() method sets the occurrence index of the field represented by this
JoltLabel.

void setOccurrenceIndex(int occurrence)

occurrence