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.AccessibleAWTTextFieldNested classes/interfaces inherited from class java.awt.TextComponent
TextComponent.AccessibleAWTTextComponentNested 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
textListenerFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Default constructor.TLcdPropertyTextField(PropertyEditor aPropertyEditor) Deprecated.Constructor with aPropertyEditorto consider. -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent aActionEvent) Deprecated.voidDeprecated.voidDeprecated.Implements FocusListener.focusGained.voidDeprecated.Implements FocusListener.focusLost.Deprecated.Deprecated.booleanisCellEditable(EventObject aEvent) Deprecated.voidDeprecated.Implements KeyListener.keyPressed.voidDeprecated.Implements KeyListener.keyReleased.voidDeprecated.Implements KeyListener.keyTyped.voidsetEditor(PropertyEditor aPropertyEditor) Deprecated.Sets thePropertyEditorto consider.protected voidsetValue()Deprecated.Tries to set the value as a String.booleanshouldSelectCell(EventObject aEvent) Deprecated.booleanDeprecated.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, setTextMethods 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, setSelectionStartMethods 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 aPropertyEditorto consider.aPropertyEditormust support thegetAsText()andsetAsText()methods.
-
-
Method Details
-
setEditor
Deprecated.Sets thePropertyEditorto consider.aPropertyEditormust support thegetAsText()andsetAsText()methods. -
actionPerformed
Deprecated. -
setValue
protected void setValue()Deprecated.Tries to set the value as a String. If anExceptionoccurs, the foreground is set to red, to indicate that theStringvalue is not correct. -
focusGained
Deprecated.Implements FocusListener.focusGained. TheStringin theTextFieldis selected.- Specified by:
focusGainedin interfaceFocusListener
-
focusLost
Deprecated.Implements FocusListener.focusLost. TheStringin theTextFieldis unselected.- Specified by:
focusLostin interfaceFocusListener
-
keyReleased
Deprecated.Implements KeyListener.keyReleased. Callsthis.setValue()onKeyEvent.VK_ENTERorKeyEvent.VK_TAB;KeyEvent.VK_ESCAPEwill cancel the editing.- Specified by:
keyReleasedin interfaceKeyListener
-
keyPressed
Deprecated.Implements KeyListener.keyPressed. NoActionis performed here.- Specified by:
keyPressedin interfaceKeyListener
-
keyTyped
Deprecated.Implements KeyListener.keyTyped. NoActionis performed here.- Specified by:
keyTypedin interfaceKeyListener
-
getComponent
Deprecated. -
getCellEditorValue
Deprecated. -
isCellEditable
Deprecated. -
shouldSelectCell
Deprecated. -
stopCellEditing
public boolean stopCellEditing()Deprecated. -
cancelCellEditing
public void cancelCellEditing()Deprecated.
-