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.
-
JoltLabel()
- Constructor
-
getJoltFieldName()
- Get the Jolt field name corresponding to this JoltLabel.
-
getOccurrenceIndex()
- Get the occurrence index of the field represented by this
JoltLabel.
-
serviceReturned(JoltOutputEvent)
- Event handler for JoltOutputEvents.
-
setJoltFieldName(String)
- Set the Jolt field name corresponding to this JoltLabel.
-
setOccurrenceIndex(int)
- Set the occurrence index of the field represented by this
JoltLabel.
JoltLabel
public JoltLabel()
- Constructor
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.
setOccurrenceIndex
public void setOccurrenceIndex(int occurrence)
- Set the occurrence index of the field represented by this
JoltLabel.
- Parameters:
- occurrence - The occurrence number.
getOccurrenceIndex
public int getOccurrenceIndex()
- Get the occurrence index of the field represented by this
JoltLabel.
getJoltFieldName
public String getJoltFieldName()
- Get the Jolt field name corresponding to this JoltLabel.
- Returns:
- The Jolt field name.
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