PATH |
EOTextField
- Inherits from:
- javax.swing.JTextField : javax.swing.text.JTextComponent : javax.swing.JComponent : java.awt.Container : java.awt.Component : Object
- Implements:
- javax.swing.SwingConstants
- javax.swing.Scrollable
- javax.accessibility.Accessible
- java.io.Serializable
- java.awt.image.ImageObserver
- java.awt.MenuContainer
- Package:
- com.webobjects.eointerface.swing
Class Description
EOTextField is a subclass of javax.swing.JTextField that adds the notion of selectability.
When an EOTextField object is selectable, it behaves in every way as a JTextField. However, when an EOTextField is not selectable, its text can't be selected. An EOTextField is selectable by default. To set it so it's not selectable, invoke setSelectable with false
..
Interfaces Implemented
- javax.swing.SwingConstants
- javax.swing.Scrollable
- javax.accessibility.Accessible
- java.io.Serializable
- java.awt.image.ImageObserver
- java.awt.MenuContainer
Method Types
- All methods
- EOTextField
- isFocusTraversable
- isSelectable
- processMouseEvent
- processMouseMotionEvent
- setSelectable
Constructors
EOTextField
public EOTextField()
Instance Methods
isFocusTraversable
public boolean isFocusTraversable()
super
's implementation if the receiver is selectable, false
otherwise.
isSelectable
public boolean isSelectable()
processMouseEvent
protected void processMouseEvent(java.awt.event.MouseEvent aMouseEvent)
processMouseMotionEvent
protected void processMouseMotionEvent(java.awt.event.MouseEvent aMouseEvent)
setSelectable
public void setSelectable(boolean flag)
© 2001 Apple Computer, Inc. (Last Published April 21, 2001)