oracle.forms.fd
Class LAF_XP_TextField

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.LAF_XP_TextField
All Implemented Interfaces:
java.awt.event.FocusListener, java.awt.event.KeyListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.lang.Runnable, 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 LAF_XP_TextField
extends oracle.forms.ui.VTextField
implements java.awt.event.FocusListener, java.awt.event.KeyListener, java.lang.Runnable

A XP like single-line Text Item
uses the Dispatching Bean from Tom Cleymans to send back messages to Form (see DrawLAF.java and DispatchingPJC.java).

Version:
1.9 August 10 2007 : add the Boilerplate feature that allows to have a transparent single line with no border and no background June 2008 : add the focus painting background July 2008 : switch HyperLink LABEL to JLabel (to have transparent background)
Author:
Francois Degrelle creation june 2007
See Also:
Serialized Form

Nested Class Summary
(package private)  class LAF_XP_TextField.ButtonMouseAdapter
           
(package private)  class LAF_XP_TextField.HyperLink
           
static class LAF_XP_TextField.PulsatingBorder
           
 
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 static boolean bAllLinksUseColors
           
private  boolean bCanCopy
           
private  boolean bCanPaste
           
private  boolean bCrypted
           
private  boolean bExtended
           
private  boolean bFirst
           
private  boolean bFocus
           
private  boolean bFocusBG
           
private  java.awt.Color bgColor
           
private  boolean bHyperLink
           
private  boolean bIsRegex
           
private  boolean bLog
           
private  boolean bMouseClick
           
private  boolean bMouseEnter
           
private  boolean bMouseExit
           
private  boolean bRegexOk
           
private  boolean bRollover
           
private  boolean bSecret
           
private  boolean bSendEvents
           
private  boolean bSwitch
           
private  boolean bVisible
           
private  boolean bVisited
           
static java.awt.Color cAllHyperLink
           
static java.awt.Color cAllLinkVisited
           
private  java.awt.Color cBack
           
private  java.awt.Color cBak
           
private  java.awt.Color cBorder
           
private  char cChar
           
private  java.awt.Color cdefBG
           
private  java.awt.Color cdefFG
           
private  java.awt.Color cFocus
           
private  java.awt.Color cFore
           
private  java.awt.Color cHyperLink
           
private  java.awt.Color cLinkVisited
           
private  java.awt.Color cSelect
           
private  DrawLAF dBean
           
private  java.awt.Color fgColor
           
static oracle.forms.properties.ID getRegexGroup
           
static oracle.forms.properties.ID getRegexPos
           
static oracle.forms.properties.ID getRegexResult
           
static oracle.forms.properties.ID getRegexString
           
private  int iBorder
           
private  int iCaretPos
           
private  int iCode
           
private  int iCurrent
           
private  int iEnd
           
private  ImageKit ik
           
private  int iKey
           
private  int iModifier
           
private  int iSecretEnd
           
private  int iSecretStart
           
private  int iSelEnd
           
private  int iSelStart
           
private  int iStart
           
private  javax.swing.JTextField jt
           
private  LAF_XP_TextField.HyperLink Link
           
private  java.util.List list_msg
           
private  java.util.regex.Matcher matcher
           
private  java.lang.Process p
           
private  java.util.regex.Pattern pattern
           
static oracle.forms.properties.ID pCursorMsg
           
static oracle.forms.properties.ID pCursorPos
           
static oracle.forms.properties.ID pEventMouseEvent
           
static oracle.forms.properties.ID pEventMouseMsg
           
static oracle.forms.properties.ID pGetCurPos
           
static oracle.forms.properties.ID pGetSelIndex
           
static oracle.forms.properties.ID pGetSelValue
           
static oracle.forms.properties.ID pInsertText
           
static oracle.forms.properties.ID pInsertTextAtPos
           
static oracle.forms.properties.ID pItemName
           
static oracle.forms.properties.ID pKeyChanged
           
static oracle.forms.properties.ID pKeyChar
           
static oracle.forms.properties.ID pKeyCode
           
static oracle.forms.properties.ID pKeyModifier
           
static oracle.forms.properties.ID pKeyMsg
           
static oracle.forms.properties.ID pMessage
           
static oracle.forms.properties.ID pRegexMsg
           
static oracle.forms.properties.ID pSendHyperlink
           
static oracle.forms.properties.ID pSendHyperText
           
static oracle.forms.properties.ID pSendMsg
           
static oracle.forms.properties.ID pSendMsgBlocking
           
static oracle.forms.properties.ID pSetBlinkBGColor
           
static oracle.forms.properties.ID pSetBlinkFGColor
           
static oracle.forms.properties.ID pSetBlinkRate
           
static oracle.forms.properties.ID pSetCurPos
           
static oracle.forms.properties.ID pSetEvent
           
static oracle.forms.properties.ID pSetHLColors
           
static oracle.forms.properties.ID pSetHyperLink
           
static oracle.forms.properties.ID pSetLog
           
static oracle.forms.properties.ID pSetMaxChar
           
static oracle.forms.properties.ID pSetMouseEvents
           
static oracle.forms.properties.ID pSetSelIndex
           
static oracle.forms.properties.ID pStartBlink
           
static oracle.forms.properties.ID pStopBlink
           
private  java.lang.Thread runner
           
private  java.lang.String sCrypted
           
private  int seconds
           
static oracle.forms.properties.ID setBoilerplate
           
static oracle.forms.properties.ID setBorder
           
static oracle.forms.properties.ID setCopyPaste
           
static oracle.forms.properties.ID setCurrent
           
static oracle.forms.properties.ID setFocusBG
           
static oracle.forms.properties.ID setGradient
           
static oracle.forms.properties.ID setGradientSelColors
           
static oracle.forms.properties.ID setProp
           
static oracle.forms.properties.ID setRegexKeep
           
static oracle.forms.properties.ID setRegexMessage
           
static oracle.forms.properties.ID setRegexModel
           
static oracle.forms.properties.ID setSecretRange
           
static oracle.forms.properties.ID setTransparent
           
private  java.lang.String sHyperLink
           
private  java.lang.String sItemName
           
private  java.lang.String sLink
           
private  java.lang.String sModifier
           
private  java.lang.String sOriginal
           
private  java.lang.String sRegexGroup
           
private  java.lang.String sRegexModel
           
private  java.lang.String sRegexMsg
           
private  java.lang.String sSecretChar
           
private  java.lang.String sSelValue
           
private  oracle.forms.ui.VTextField VTF
           
 
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
LAF_XP_TextField()
           
 
Method Summary
 boolean bRegexMatch(java.lang.String p_pattern, java.lang.String p_string)
           
private  void canCopyPaste(java.lang.String s)
           
 void copy()
           
 void cut()
           
 void destroy()
           
 void focusGained(java.awt.event.FocusEvent e)
           
 void focusLost(java.awt.event.FocusEvent e)
           
(package private)  java.lang.String getCrypted()
           
(package private)  DrawLAF getLAFBean()
           
 java.lang.Object getProperty(oracle.forms.properties.ID pId)
           
 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)
           
 void log(java.lang.String msg)
          Utility function to print out a debug message to the Java Console
 void paint(java.awt.Graphics g)
           
 void paste()
           
private  void repaintParent()
           
 void run()
           
static void setAllHLColors(java.awt.Color c1, java.awt.Color c2)
           
(package private)  void setLAFBean(DrawLAF DF)
           
 boolean setProperty(oracle.forms.properties.ID property, java.lang.Object value)
           
(package private)  void setTextContent(java.lang.String s)
           
private  void startTimer()
           
private  void stopTimer()
           
 
Methods inherited from class oracle.forms.ui.VTextField
add, addListener, getDefaultName, isTextSecure, paintCanvasInterior, remove, removeAll, removeListener, repaint, 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, 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, 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
 
Methods inherited from interface oracle.ewt.lwAWT.VirtualComponent
getBounds, getSize
 

Field Detail

setProp

public static final oracle.forms.properties.ID setProp

setRegexKeep

public static final oracle.forms.properties.ID setRegexKeep

setRegexModel

public static final oracle.forms.properties.ID setRegexModel

setRegexMessage

public static final oracle.forms.properties.ID setRegexMessage

getRegexString

public static final oracle.forms.properties.ID getRegexString

getRegexResult

public static final oracle.forms.properties.ID getRegexResult

getRegexGroup

public static final oracle.forms.properties.ID getRegexGroup

getRegexPos

public static final oracle.forms.properties.ID getRegexPos

pRegexMsg

public static final oracle.forms.properties.ID pRegexMsg

pSetEvent

public static final oracle.forms.properties.ID pSetEvent

pItemName

public static final oracle.forms.properties.ID pItemName

pSendMsg

public static final oracle.forms.properties.ID pSendMsg

pSendMsgBlocking

public static final oracle.forms.properties.ID pSendMsgBlocking

pMessage

public static final oracle.forms.properties.ID pMessage

pCursorMsg

public static final oracle.forms.properties.ID pCursorMsg

pCursorPos

public static final oracle.forms.properties.ID pCursorPos

pKeyMsg

public static final oracle.forms.properties.ID pKeyMsg

pKeyCode

public static final oracle.forms.properties.ID pKeyCode

pKeyChar

public static final oracle.forms.properties.ID pKeyChar

pKeyModifier

public static final oracle.forms.properties.ID pKeyModifier

pKeyChanged

public static final oracle.forms.properties.ID pKeyChanged

pSetMouseEvents

public static final oracle.forms.properties.ID pSetMouseEvents

pEventMouseEvent

public static final oracle.forms.properties.ID pEventMouseEvent

pEventMouseMsg

public static final oracle.forms.properties.ID pEventMouseMsg

pStartBlink

public static final oracle.forms.properties.ID pStartBlink

pStopBlink

public static final oracle.forms.properties.ID pStopBlink

pSetBlinkFGColor

public static final oracle.forms.properties.ID pSetBlinkFGColor

pSetBlinkBGColor

public static final oracle.forms.properties.ID pSetBlinkBGColor

pSetBlinkRate

public static final oracle.forms.properties.ID pSetBlinkRate

pSetMaxChar

public static final oracle.forms.properties.ID pSetMaxChar

pSetCurPos

public static final oracle.forms.properties.ID pSetCurPos

pGetCurPos

public static final oracle.forms.properties.ID pGetCurPos

pInsertText

public static final oracle.forms.properties.ID pInsertText

pInsertTextAtPos

public static final oracle.forms.properties.ID pInsertTextAtPos

pSetSelIndex

public static final oracle.forms.properties.ID pSetSelIndex

pGetSelIndex

public static final oracle.forms.properties.ID pGetSelIndex

pGetSelValue

public static final oracle.forms.properties.ID pGetSelValue

pSetHyperLink

public static final oracle.forms.properties.ID pSetHyperLink

pSetHLColors

public static final oracle.forms.properties.ID pSetHLColors

pSendHyperlink

public static final oracle.forms.properties.ID pSendHyperlink

pSendHyperText

public static final oracle.forms.properties.ID pSendHyperText

setBoilerplate

public static final oracle.forms.properties.ID setBoilerplate

setTransparent

public static final oracle.forms.properties.ID setTransparent

setCurrent

public static final oracle.forms.properties.ID setCurrent

setGradient

public static final oracle.forms.properties.ID setGradient

setGradientSelColors

public static final oracle.forms.properties.ID setGradientSelColors

setBorder

public static final oracle.forms.properties.ID setBorder

setFocusBG

public static final oracle.forms.properties.ID setFocusBG

pSetLog

public static final oracle.forms.properties.ID pSetLog

setCopyPaste

public static final oracle.forms.properties.ID setCopyPaste

setSecretRange

public static final oracle.forms.properties.ID setSecretRange

dBean

private DrawLAF dBean

VTF

private oracle.forms.ui.VTextField VTF

pattern

private java.util.regex.Pattern pattern

matcher

private java.util.regex.Matcher matcher

sRegexGroup

private java.lang.String sRegexGroup

sRegexModel

private java.lang.String sRegexModel

sRegexMsg

private java.lang.String sRegexMsg

bLog

private boolean bLog

bIsRegex

private boolean bIsRegex

bRegexOk

private boolean bRegexOk

bSendEvents

private boolean bSendEvents

bFocus

private boolean bFocus

bRollover

private boolean bRollover

bVisible

private boolean bVisible

bVisited

private boolean bVisited

bFocusBG

private boolean bFocusBG

bCanCopy

private boolean bCanCopy

bCanPaste

private boolean bCanPaste

bSecret

private boolean bSecret

bCrypted

private boolean bCrypted

bExtended

private boolean bExtended

iStart

private int iStart

iEnd

private int iEnd

iCaretPos

private int iCaretPos

iSelStart

private int iSelStart

iSelEnd

private int iSelEnd

sSelValue

private java.lang.String sSelValue

sItemName

private java.lang.String sItemName

iKey

private int iKey

iCode

private int iCode

iModifier

private int iModifier

iBorder

private int iBorder

iSecretStart

private int iSecretStart

iSecretEnd

private int iSecretEnd

iCurrent

private int iCurrent

sOriginal

private java.lang.String sOriginal

sCrypted

private java.lang.String sCrypted

sModifier

private java.lang.String sModifier

sSecretChar

private java.lang.String sSecretChar

cChar

private char cChar

cFocus

private java.awt.Color cFocus

cSelect

private java.awt.Color cSelect

cHyperLink

private java.awt.Color cHyperLink

cLinkVisited

private java.awt.Color cLinkVisited

cBorder

private java.awt.Color cBorder

cBak

private java.awt.Color cBak

bgColor

private java.awt.Color bgColor

fgColor

private java.awt.Color fgColor

bAllLinksUseColors

private static boolean bAllLinksUseColors

cAllHyperLink

public static java.awt.Color cAllHyperLink

cAllLinkVisited

public static java.awt.Color cAllLinkVisited

runner

private java.lang.Thread runner

seconds

private int seconds

cdefFG

private java.awt.Color cdefFG

cdefBG

private java.awt.Color cdefBG

cFore

private java.awt.Color cFore

cBack

private java.awt.Color cBack

bSwitch

private boolean bSwitch

bHyperLink

private boolean bHyperLink

sHyperLink

private java.lang.String sHyperLink

sLink

private java.lang.String sLink

Link

private LAF_XP_TextField.HyperLink Link

p

private java.lang.Process p

jt

private javax.swing.JTextField jt

list_msg

private java.util.List list_msg

bFirst

private boolean bFirst

ik

private ImageKit ik

bMouseEnter

private boolean bMouseEnter

bMouseClick

private boolean bMouseClick

bMouseExit

private boolean bMouseExit
Constructor Detail

LAF_XP_TextField

public LAF_XP_TextField()
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

cut

public void cut()
Overrides:
cut in class oracle.forms.ui.VTextField

copy

public void copy()
Overrides:
copy in class oracle.forms.ui.VTextField

paste

public void paste()
Overrides:
paste in class oracle.ewt.lwAWT.lwText.LWTextComponent

setLAFBean

void setLAFBean(DrawLAF DF)

getLAFBean

DrawLAF getLAFBean()

setTextContent

void setTextContent(java.lang.String s)

setAllHLColors

public static void setAllHLColors(java.awt.Color c1,
                                  java.awt.Color c2)

paint

public void paint(java.awt.Graphics g)
Specified by:
paint in interface oracle.forms.ui.IView
Overrides:
paint in class oracle.ewt.EwtComponent

setProperty

public boolean setProperty(oracle.forms.properties.ID property,
                           java.lang.Object value)
Specified by:
setProperty in interface oracle.forms.ui.IView
Overrides:
setProperty in class oracle.forms.ui.VTextField

getProperty

public java.lang.Object getProperty(oracle.forms.properties.ID pId)
Specified by:
getProperty in interface oracle.forms.ui.IView
Overrides:
getProperty in class oracle.forms.ui.VTextField

bRegexMatch

public boolean bRegexMatch(java.lang.String p_pattern,
                           java.lang.String p_string)

repaintParent

private void repaintParent()

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

log

public void log(java.lang.String msg)
Utility function to print out a debug message to the Java Console

Parameters:
msg - string to display, this will be prefixed with the classname of the PJC

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

run

public void run()
Specified by:
run in interface java.lang.Runnable

startTimer

private void startTimer()

stopTimer

private void stopTimer()

canCopyPaste

private void canCopyPaste(java.lang.String s)

getCrypted

java.lang.String getCrypted()