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

Table of Contents

EOForm


Inherits from:
EOMatrix : EOView : javax.swing.JPanel : javax.swing.JComponent : java.awt.Container : java.awt.Component : Object
Implements:
java.awt.LayoutManager
NSDisposable (EOView)
Package:
com.apple.client.eointerface


Class Description


The EOForm class is a subclass of EOMatrix that manages a collection of titled text fields laid out on a grid. Each title/text field pair is an EOFormCell.


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




Interfaces Implemented


java.awt.LayoutManager
addLayoutComponent
layoutContainer
minimumLayoutSize
preferredLayoutSize
removeLayoutComponent


Method Types


Constructor
EOForm
Adding form cells
add


Constructors



EOForm

public EOForm( String debuggingHint, int rows, int cols, int rowSpacing, int colSpacing)

Returns a new EOForm object. The debuggingHint argument is a string you can use to uniquely identify the view. When the form is instantiated from a nib file, the debuggingHint is a string generated by Interface Builder.


Instance Methods



add

public java.awt.Component add(java.awt.Component formCell)

Adds formCell, an EOFormCell, to the receiver's collection of form cells.

addLayoutComponent

public void addLayoutComponent(String name, java.awt.Component component)

Simply returns.

layoutContainer

public void layoutContainer(java.awt.Container formCell)

Lays out the title and text field of formCell.

minimumLayoutSize

public java.awt.Dimension minimumLayoutSize(java.awt.Container aContainer)

Returns the value returned from aContainer 's getMinimumSize.

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container aContainer)

Returns the value returned from aContainer 's getPreferredSize.

removeLayoutComponent

public void removeLayoutComponent(java.awt.Component aComponent)

Simply returns.


Table of Contents