public class JoltTextField extends java.awt.TextField implements JoltOutputListener, java.awt.event.TextListener
| Constructor and Description |
|---|
JoltTextField()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addJoltInputListener(JoltInputListener l)
Registration method for JoltInput listeners.
|
java.lang.String |
getJoltFieldName()
Get the Jolt field name corresponding to this JoltTextField.
|
JoltInputEvent |
getJoltInputEvent()
Get the current JoltInputEvent object
that was sent for textValueChanged.
|
int |
getOccurrenceIndex()
Get the occurrence index of the field represented by this
JoltTextField.
|
void |
removeJoltInputListener(JoltInputListener l)
This method is used to unregister JoltInput listeners.
|
void |
serviceReturned(JoltOutputEvent evt)
Handler method for JoltOutputEvents.
|
void |
setJoltFieldName(java.lang.String name)
Set the Jolt field name corresponding to this JoltTextField.
|
void |
setOccurrenceIndex(int occurrence)
Set the occurrence index of the field represented by this
JoltTextField.
|
void |
textValueChanged(java.awt.event.TextEvent e)
Event handler for TextEvents.
|
addActionListener, addNotify, echoCharIsSet, getAccessibleContext, getActionListeners, getColumns, getEchoChar, getListeners, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, minimumSize, minimumSize, preferredSize, preferredSize, removeActionListener, setColumns, setEchoChar, setEchoCharacter, setTextaddTextListener, enableInputMethods, getBackground, getCaretPosition, getInputMethodRequests, getSelectedText, getSelectionEnd, getSelectionStart, getText, getTextListeners, isEditable, removeNotify, removeTextListener, select, selectAll, setBackground, setCaretPosition, setEditable, setSelectionEnd, setSelectionStartaction, 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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, 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, 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, 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 textValueChanged(java.awt.event.TextEvent e)
textValueChanged in interface java.awt.event.TextListenere - The event object.public void setOccurrenceIndex(int occurrence)
occurrence - The occurrence number.public int getOccurrenceIndex()
public void addJoltInputListener(JoltInputListener l)
l - The listener to be added.public void removeJoltInputListener(JoltInputListener l)
l - The listener to be removed.public void serviceReturned(JoltOutputEvent evt)
serviceReturned in interface JoltOutputListenerevt - The event object.public java.lang.String getJoltFieldName()
public void setJoltFieldName(java.lang.String name)
name - The Jolt field name.Copyright © 1996, 2024, Oracle and/or its affiliates.