public class JoltList extends java.awt.List implements JoltOutputListener, java.awt.event.ItemListener
If JoltList is used to display the output of a service, JoltList listens to JoltOutputEvents from JoltServiceBeans and updates its contents accordingly with the occurrences of the Jolt field it is linked to.
| Constructor and Description |
|---|
JoltList()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addJoltInputListener(JoltInputListener l)
Registration method for JoltInput listeners.
|
java.lang.String[] |
getItems()
Get the selected items corresponding to this JoltList.
|
java.lang.String |
getJoltFieldName()
Get the Jolt field name corresponding to this JoltList.
|
JoltInputEvent |
getJoltInputEvent()
Get the current JoltInputEvent object
that was sent for serviceReturned.
|
int |
getOccurrenceIndex()
Get the occurrence index of the field represented by this
JoltList.
|
void |
itemStateChanged(java.awt.event.ItemEvent e)
The state of the JoltList changed; generate a JoltInputEvent
and notify event listeners.
|
void |
removeJoltInputListener(JoltInputListener l)
This method is used to unregister JoltInput listeners.
|
void |
serviceReturned(JoltOutputEvent evt)
Event handler for JoltOutputEvents.
|
void |
setItems(java.lang.String[] values)
Set the selected items corresponding to this JoltList.
|
void |
setJoltFieldName(java.lang.String name)
Set the Jolt field name corresponding to this JoltList.
|
void |
setOccurrenceIndex(int occurrence)
Set the occurrence index of the field represented by this
JoltList.
|
add, add, addActionListener, addItem, addItem, addItemListener, addNotify, allowsMultipleSelections, clear, countItems, delItem, delItems, deselect, getAccessibleContext, getActionListeners, getItem, getItemCount, getItemListeners, getListeners, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, getRows, getSelectedIndex, getSelectedIndexes, getSelectedItem, getSelectedItems, getSelectedObjects, getVisibleIndex, isIndexSelected, isMultipleMode, isSelected, makeVisible, minimumSize, minimumSize, preferredSize, preferredSize, remove, remove, removeActionListener, removeAll, removeItemListener, removeNotify, replaceItem, select, setMultipleMode, setMultipleSelectionsaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, postEvent, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validatepublic JoltInputEvent getJoltInputEvent()
public void serviceReturned(JoltOutputEvent evt)
serviceReturned in interface JoltOutputListenerevt - The event object.public void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged in interface java.awt.event.ItemListenere - The ItemEvent.public void addJoltInputListener(JoltInputListener l)
l - The listener to be added.public void removeJoltInputListener(JoltInputListener l)
l - The listener to be removed.public void setOccurrenceIndex(int occurrence)
occurrence - The occurrence number.public int getOccurrenceIndex()
public java.lang.String getJoltFieldName()
public void setJoltFieldName(java.lang.String name)
name - The Jolt field name.public java.lang.String[] getItems()
getItems in class java.awt.Listpublic void setItems(java.lang.String[] values)
name - The Jolt field name.Copyright © 1996, 2024, Oracle and/or its affiliates.