Documentation Archive Developer
Search
PATH Documentation > WebObjects

Table of Contents

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

Description forthcoming.


Instance Methods



isFocusTraversable

public boolean isFocusTraversable()

Returns the result of the super's implementation if the receiver is selectable, false otherwise.

isSelectable

public boolean isSelectable()

Description forthcoming.

processMouseEvent

protected void processMouseEvent(java.awt.event.MouseEvent aMouseEvent)

Description forthcoming.

processMouseMotionEvent

protected void processMouseMotionEvent(java.awt.event.MouseEvent aMouseEvent)

Description forthcoming.

setSelectable

public void setSelectable(boolean flag)

Sets the receiver as selectable if flag is true, or as unselectable otherwise.

© 2001 Apple Computer, Inc. (Last Published April 21, 2001)


Table of Contents