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

Table of Contents

EOFormCell


Inherits from:
javax.swing.JComponent : java.awt.Container : java.awt.Component : Object
Implements:
EOTextAssociation.JTextComponentAccess
NSDisposable
Package:
com.apple.client.eointerface


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.


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

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




Interfaces Implemented


EOTextAssociation.JTextComponentAccess
jTextComponent
NSDisposable
dispose


Method Types


Accessing the field component
fieldComponent
jTextComponent
Accessing the title and title component
titleComponent
title
setTitle
setTitleWidth
titleWidth


Instance Methods



fieldComponent

public EOTextField fieldComponent()

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

jTextComponent

public javax.swing.text.JTextComponent jTextComponent()

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

setTitle

public void setTitle(String aString)

Sets the receiver's title to aString. 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.

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.


Table of Contents