oracle.forms.fd
Class NewTextField

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by oracle.ewt.lwAWT.LWComponent
              extended by oracle.ewt.EwtComponent
                  extended by oracle.ewt.lwAWT.lwText.LWTextComponent
                      extended by oracle.ewt.lwAWT.lwText.LWCommonText
                          extended by oracle.ewt.lwAWT.lwText.LWTextField
                              extended by oracle.forms.ui.VTextField
                                  extended by oracle.forms.fd.NewTextField
All Implemented Interfaces:
java.awt.event.FocusListener, java.awt.event.KeyListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, oracle.ewt.dnd.Autoscroll, oracle.ewt.help.HelpCapable, oracle.ewt.lwAWT.DoubleBufferer, oracle.ewt.lwAWT.ImmediatePainter, oracle.ewt.lwAWT.KeyProcessor, oracle.ewt.lwAWT.VirtualComponent, oracle.ewt.scrolling.Scrollable, oracle.forms.ui.IView

public class NewTextField
extends oracle.forms.ui.VTextField
implements java.awt.event.FocusListener, java.awt.event.KeyListener

A class to handle dynamic created awt Forms TextFields

Version:
1.1
Author:
Francois Degrelle creation May 2010
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
private  DrawLAF dBean
           
private  java.util.List list_msg
           
private  java.lang.String sOldValue
           
 
Fields inherited from class oracle.ewt.lwAWT.lwText.LWTextField
ALIGNMENT_CENTER, ALIGNMENT_DEFAULT, ALIGNMENT_LEFT, ALIGNMENT_RIGHT
 
Fields inherited from class oracle.ewt.lwAWT.LWComponent
DEFAULT_BORDERPAINTER, DEFAULT_COLOR, DEFAULT_FONT, DEFAULT_PAINTER, MNEMONIC_CHAR_NONE, MNEMONIC_INDEX_NONE
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface oracle.forms.ui.IView
DEFAULT_COLOR
 
Fields inherited from interface oracle.ewt.scrolling.Scrollable
SCROLL_LINEDOWN, SCROLL_LINEUP, SCROLL_PAGEDOWN, SCROLL_PAGEUP, SCROLL_POSITION
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
NewTextField()
           
 
Method Summary
 void destroy()
           
 void focusGained(java.awt.event.FocusEvent e)
           
 void focusLost(java.awt.event.FocusEvent e)
           
 void init(oracle.forms.handler.IHandler handler)
           
 void keyPressed(java.awt.event.KeyEvent e)
           
 void keyReleased(java.awt.event.KeyEvent e)
           
 void keyTyped(java.awt.event.KeyEvent e)
           
(package private)  void sendMessage(java.lang.String s1, java.lang.String s2, java.lang.String s3, java.lang.String s4)
           
(package private)  void setLAFBean(DrawLAF DF)
           
protected  void setTooltipText(java.lang.String s)
           
 
Methods inherited from class oracle.forms.ui.VTextField
add, addListener, copy, cut, getDefaultName, getProperty, isTextSecure, paintCanvasInterior, remove, removeAll, removeListener, repaint, setProperty, setStyle, setTextSecure
 
Methods inherited from class oracle.ewt.lwAWT.lwText.LWTextField
addActionListener, createAccessibleContext, getDisplayStringFilter, getMinimumSize, getPreferredSize, getText, getUIClassID, isTextAlwaysLeftAligned, layoutCanvas, paramString, processActionEvent, processEventImpl, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, removeActionListener, removeNotify, setAlignment, setCanvasSize, setDisplayStringFilter, setText, setTextAlwaysLeftAligned, updateLocale, updateReadingDirection
 
Methods inherited from class oracle.ewt.lwAWT.lwText.LWCommonText
attachHAdjustable, detachAdjustable, getColumns, getHAdjustable, getInputMethodRequests, getMaximumChars, getRepaintFlags, getValueStringFilter, invalidateTextLayout, isHScrollable, isOKToPaste, isValidTextlayout, setColumns, setMaximumChars, setValueStringFilter, validateTextLayout
 
Methods inherited from class oracle.ewt.lwAWT.lwText.LWTextComponent
addNotify, addSelectionListener, addTextListener, append, clear, enableInputMethods, getBlinkRate, getBorderBackground, getBorderForeground, getCaretPosition, getDefaultBorder, getDefaultBorderPainter, getPaintData, getSelectedText, getSelectionEnd, getSelectionStart, getTextLength, insert, isEditable, isFocusable, isFocusTraversable, paste, processTextEvent, removeSelectionListener, removeTextListener, replaceRange, replaceRangeWithoutCommit, requestFocus, select, select, selectAll, setBlinkRate, setCaretPosition, setCaretPosition, setEditable, setEnabled, setFocusable, setFont, setSelectionEnd, setSelectionStart
 
Methods inherited from class oracle.ewt.EwtComponent
attachVAdjustable, autoscroll, clipCanvasToParents, convertCanvasToOuter, convertOuterToCanvas, getAutoscrollInsets, getBorder, getBorderPainter, getCanvasBounds, getCanvasFill, getCanvasGraphics, getCanvasHeight, getCanvasOrigin, getCanvasOriginX, getCanvasOriginY, getCanvasSize, getCanvasWidth, getDocumentSize, getHMaximum, getHOffsetOfValue, getHValueOfOffset, getProxyConfigurer, getScrollInsets, getVAdjustable, getVMaximum, getVOffsetOfValue, getVValueOfOffset, handleHScroll, handleVScroll, invalidateCanvas, isInteriorTransparent, isVScrollable, layout, makeCanvasGraphics, paint, paintImmediateCanvas, paintImmediateCanvas, paintInterior, printPage, repaintCanvas, repaintCanvas, reshape, setBorder, setBorderPainter, setCanvasFill, setCanvasOrigin, setHScrollInsets, setVScrollInsets, storeCanvasOrigin, validate
 
Methods inherited from class oracle.ewt.lwAWT.LWComponent
accessAccessibleContext, addAnyEventListener, addImpl, addPostKeyListener, addPreKeyListener, clipToParents, contains, convertInnerToOuterSize, convertInteriorToOuter, convertOuterToInterior, disable, doLayout, enable, eventMatchesMnemonic, eventMatchesMnemonic, freezeRepaints, getAccessibleContext, getActualAlignment, getActualReadingDirection, getAlignment, getBackground, getBaseClassName, getBorderContext, getBorderInsets, getClientProperty, getColorScheme, getDefaultHelpProvider, getDoubleBuffer, getEWTDropTarget, getFill, getFocusedComponent, getFont, getForeground, getGraphics, getHelpBook, getHelpProvider, getHelpTopic, getInnerBounds, getInnerHeight, getInnerOrigin, getInnerSize, getInnerWidth, getInsets, getInteriorAlignmentX, getInteriorAlignmentY, getInvalidateFlags, getLookAndFeel, getMnemonicChar, getMnemonicIndex, getMnemonicString, getName, getPageBounds, getPaintContext, getPaintState, getPrintPaintContext, getReadingDirection, getToolTipValue, getUI, getUIDefaults, hasFocus, hasGlobalFocus, hasMnemonicModifier, hasWindowFocus, hide, imageUpdate, insets, interiorContains, invalidate, invalidateAndRepaintIfNecessary, isActive, isBorderTransparent, isChildClipped, isClippedBySibling, isDoubleBufferingEnabled, isLocaleDefaulted, isPaintPropagationRequired, isReadingDirectionDefaulted, isTransparent, paintAll, paintImmediate, paintImmediate, paintImmediateInterior, paintImmediateInterior, paintImmediateUnclipped, paintOverChildren, pointInInterior, pointIsInChild, postProcessKey, print, printAll, processEvent, putClientProperty, redispatchEvent, remove, removeAnyEventListener, removeClientProperty, removePostKeyListener, removePreKeyListener, repaint, repaintInterior, repaintInterior, setBackground, setColorScheme, setDefaultHelpProvider, setDoubleBufferingEnabled, setEWTDropTarget, setFill, setForeground, setHelpBook, setHelpProvider, setHelpTopic, setLocale, setLookAndFeel, setMnemonicChar, setMnemonicIndex, setReadingDirection, setToolTipValue, setToolTipValue, setUI, setVisible, shiftFrozenDamage, showHelp, unfreezeRepaints, update, updateAlignment, updateUI, updateUI, updateUI
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getListeners, getMaximumSize, getMousePosition, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, remove, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFontMetrics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusOwner, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, postEvent, prepareImage, prepareImage, processComponentEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.forms.ui.IView
contains, paint
 
Methods inherited from interface oracle.ewt.lwAWT.VirtualComponent
getBounds, getSize
 

Field Detail

dBean

private DrawLAF dBean

list_msg

private java.util.List list_msg

sOldValue

private java.lang.String sOldValue
Constructor Detail

NewTextField

public NewTextField()
Method Detail

init

public void init(oracle.forms.handler.IHandler handler)
Specified by:
init in interface oracle.forms.ui.IView
Overrides:
init in class oracle.forms.ui.VTextField

destroy

public void destroy()
Specified by:
destroy in interface oracle.forms.ui.IView
Overrides:
destroy in class oracle.forms.ui.VTextField

setLAFBean

void setLAFBean(DrawLAF DF)

setTooltipText

protected void setTooltipText(java.lang.String s)

focusGained

public void focusGained(java.awt.event.FocusEvent e)
Specified by:
focusGained in interface java.awt.event.FocusListener

focusLost

public void focusLost(java.awt.event.FocusEvent e)
Specified by:
focusLost in interface java.awt.event.FocusListener

sendMessage

void sendMessage(java.lang.String s1,
                 java.lang.String s2,
                 java.lang.String s3,
                 java.lang.String s4)

keyTyped

public void keyTyped(java.awt.event.KeyEvent e)
Specified by:
keyTyped in interface java.awt.event.KeyListener

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
Specified by:
keyPressed in interface java.awt.event.KeyListener

keyReleased

public void keyReleased(java.awt.event.KeyEvent e)
Specified by:
keyReleased in interface java.awt.event.KeyListener