Package com.luciad.beans.awt
Class TLcdPropertyTextField
java.lang.Object
java.awt.Component
java.awt.TextComponent
java.awt.TextField
com.luciad.beans.awt.TLcdPropertyTextField
- All Implemented Interfaces:
FocusListener
,KeyListener
,ImageObserver
,MenuContainer
,Serializable
,EventListener
,Accessible
@Deprecated
public class TLcdPropertyTextField
extends TextField
implements KeyListener, FocusListener
Deprecated.
Use a UI builder (e.g. Swing) or binding framework instead.
This
TextField
can be used to edit a property whose PropertyEditor
supports
editing with a String, i.e. when the getAsText()
and setAsText()
methods of
the PropertyEditor
are supported.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.awt.TextField
TextField.AccessibleAWTTextField
Nested classes/interfaces inherited from class java.awt.TextComponent
TextComponent.AccessibleAWTTextComponent
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
Field Summary
Fields inherited from class java.awt.TextComponent
textListener
Fields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Constructor Summary
ConstructorDescriptionDeprecated.Default constructor.TLcdPropertyTextField
(PropertyEditor aPropertyEditor) Deprecated.Constructor with aPropertyEditor
to consider. -
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerformed
(ActionEvent aActionEvent) Deprecated.void
Deprecated.void
Deprecated.Implements FocusListener.focusGained.void
Deprecated.Implements FocusListener.focusLost.Deprecated.Deprecated.boolean
isCellEditable
(EventObject aEvent) Deprecated.void
Deprecated.Implements KeyListener.keyPressed.void
Deprecated.Implements KeyListener.keyReleased.void
Deprecated.Implements KeyListener.keyTyped.void
setEditor
(PropertyEditor aPropertyEditor) Deprecated.Sets thePropertyEditor
to consider.protected void
setValue()
Deprecated.Tries to set the value as a String.boolean
shouldSelectCell
(EventObject aEvent) Deprecated.boolean
Deprecated.Methods inherited from class java.awt.TextField
addActionListener, addNotify, echoCharIsSet, getAccessibleContext, getActionListeners, getColumns, getEchoChar, getListeners, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, minimumSize, minimumSize, paramString, preferredSize, preferredSize, processActionEvent, processEvent, removeActionListener, setColumns, setEchoChar, setEchoCharacter, setText
Methods inherited from class java.awt.TextComponent
addTextListener, enableInputMethods, getBackground, getCaretPosition, getInputMethodRequests, getSelectedText, getSelectionEnd, getSelectionStart, getText, getTextListeners, isEditable, processTextEvent, removeNotify, removeTextListener, select, selectAll, setBackground, setCaretPosition, setEditable, setSelectionEnd, setSelectionStart
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, firePropertyChange, firePropertyChange, firePropertyChange, 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, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setMixingCutoutShape, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate
-
Constructor Details
-
TLcdPropertyTextField
public TLcdPropertyTextField()Deprecated.Default constructor. -
TLcdPropertyTextField
Deprecated.Constructor with aPropertyEditor
to consider.aPropertyEditor
must support thegetAsText()
andsetAsText()
methods.
-
-
Method Details
-
setEditor
Deprecated.Sets thePropertyEditor
to consider.aPropertyEditor
must support thegetAsText()
andsetAsText()
methods. -
actionPerformed
Deprecated. -
setValue
protected void setValue()Deprecated.Tries to set the value as a String. If anException
occurs, the foreground is set to red, to indicate that theString
value is not correct. -
focusGained
Deprecated.Implements FocusListener.focusGained. TheString
in theTextField
is selected.- Specified by:
focusGained
in interfaceFocusListener
-
focusLost
Deprecated.Implements FocusListener.focusLost. TheString
in theTextField
is unselected.- Specified by:
focusLost
in interfaceFocusListener
-
keyReleased
Deprecated.Implements KeyListener.keyReleased. Callsthis.setValue()
onKeyEvent.VK_ENTER
orKeyEvent.VK_TAB
;KeyEvent.VK_ESCAPE
will cancel the editing.- Specified by:
keyReleased
in interfaceKeyListener
-
keyPressed
Deprecated.Implements KeyListener.keyPressed. NoAction
is performed here.- Specified by:
keyPressed
in interfaceKeyListener
-
keyTyped
Deprecated.Implements KeyListener.keyTyped. NoAction
is performed here.- Specified by:
keyTyped
in interfaceKeyListener
-
getComponent
Deprecated. -
getCellEditorValue
Deprecated. -
isCellEditable
Deprecated. -
shouldSelectCell
Deprecated. -
stopCellEditing
public boolean stopCellEditing()Deprecated. -
cancelCellEditing
public void cancelCellEditing()Deprecated.
-