Documentation Archive Developer
Search
[an error occurred while processing this directive] PATH  Documentation > WebObjects 4.5 > EOInterface Reference

Table of Contents

EOTextField


Inherits from:
javax.swing.JTextField : javax.swing.JTextComponent : javax.swing.JComponent : java.awt.Container : java.awt.Component : Object
Package:
com.apple.client.eointerface


Class Description


EOTextField is a subclass of javax.swing.JTextField that adds the notion of selectability.


Note: This class doesn't exist in the com.apple.yellow.eointerface package.

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.




Instance Methods



isFocusTraversable

public boolean isFocusTraversable()

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

setSelectable

public void setSelectable(boolean flag)

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


Table of Contents