PATH Documentation > WebObjects

Table of Contents

EOFormCell


Inherits from:
javax.swing.JComponent : java.awt.Container : java.awt.Component : Object
Implements:
EOTextComponentAccess
NSDisposable
java.io.Serializable
Package:
com.webobjects.eointerface.swing


Class Description


EOFormCell objects implement entries in EOForms.An EOFormCell has a field component, an editable EOTextField into which users enter data; and a title component, an uneditable EOTextField that identifies the purpose of the form cell's field component.

For more information on forms and form cells, see the EOForm class specification.




Interfaces Implemented


EOTextAssociation.JTextComponentAccess
textComponent
NSDisposable
dispose


Method Types


All methods
EOFormCell
fieldComponent
setTitle
setTitleWidth
title
titleComponent
titleWidth


Constructors



EOFormCell

public EOFormCell()

Description forthcoming.


Instance Methods



dispose

public void dispose()

See the description in the documentation for NSDisposable.

fieldComponent

public EOTextField fieldComponent()

Returns the receiver's field component, the editable text field into which users enter data.

setTitle

public void setTitle(String title)

Sets the receiver's title to title. This is a convenience method for setting the text value of the receiver's titleComponent..

setTitleWidth

public void setTitleWidth(int width)

Sets the width of the receiver's titleComponent. Typically the width of the title component is handled automatically. You should never need to invoke this method.

textComponent

public javax.swing.text.JTextComponent textComponent()

Returns the receiver's field component, the editable text field into which users enter data.

title

public String title()

Returns the receiver's title. This is a convenience method for setting the text value of the receiver's titleComponent..

titleComponent

public EOTextField titleComponent()

Returns the receiver's title component, the uneditable text field that identifies the purpose of the fieldComponent..

titleWidth

public int titleWidth()

Returns the width of the receiver's titleComponent..

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


Table of Contents