All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class bea.jolt.beans.swing11.JoltLabel

bea.jolt.beans.swing11.JoltLabel

public class JoltLabel
implements JoltOutputListener
This is a Jolt-aware extension of java.awt.Label, which is "linked" to a specific Jolt field by its JoltFieldName property. It can be wired up with JoltServiceBeans to display output from a service.

JoltLabel listens to JoltOutputEvents from JoltServiceBeans and updates its contents accordingly with the ocurrences of the Jolt field it is linked to.


Constructor Index

 o JoltLabel()
Constructor

Method Index

 o getJoltFieldName()
Get the Jolt field name corresponding to this JoltLabel.
 o getOccurrenceIndex()
Get the occurrence index of the field represented by this JoltLabel.
 o serviceReturned(JoltOutputEvent)
Event handler for JoltOutputEvents.
 o setJoltFieldName(String)
Set the Jolt field name corresponding to this JoltLabel.
 o setOccurrenceIndex(int)
Set the occurrence index of the field represented by this JoltLabel.

Constructors

 o JoltLabel
 public JoltLabel()
Constructor

Methods

 o serviceReturned
 public void serviceReturned(JoltOutputEvent evt)
Event handler for JoltOutputEvents. This method should not be called directly, it is always called by the JoltServiceBean.

Parameters:
evt - The event object.
 o setOccurrenceIndex
 public void setOccurrenceIndex(int occurrence)
Set the occurrence index of the field represented by this JoltLabel.

Parameters:
occurrence - The occurrence number.
 o getOccurrenceIndex
 public int getOccurrenceIndex()
Get the occurrence index of the field represented by this JoltLabel.

 o getJoltFieldName
 public String getJoltFieldName()
Get the Jolt field name corresponding to this JoltLabel.

Returns:
The Jolt field name.
 o setJoltFieldName
 public void setJoltFieldName(String name)
Set the Jolt field name corresponding to this JoltLabel.

Parameters:
name - The Jolt field name.

All Packages  Class Hierarchy  This Package  Previous  Next  Index