# NSForm

ovidiu@net-community.com

Form class, a matrix of text fields with labels

1996 Free Software Foundation, Inc.
Software documentation for the NSForm class
AppKit/NSForm.h
NSCoding
Description forthcoming.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
_setTitleWidthNeedsUpdate:
notification
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.
addEntry:
title

Adds a new entry with title as its title at the end of the NSForm and returns the NSFormCell.

See Also: -insertEntry:atIndex: -removeEntryAtIndex:

cellAtIndex:
index

Returns the NSFormCell at index index

See Also: [NSMatrix -cellAtRow:column:]

drawCellAtIndex:
index

Draws the NSFormCell at the specified index

See Also: -cellAtIndex: [NSCell -drawWithFrame:inView:] [NSMatrix -cellFrameAtRow:column:]

indexOfCellWithTag:
aTag

Returns the index of the entry specified by aTag or -1 if aTag is not found in entries.

See Also: [NSMatrix -cellAtRow:column:]

indexOfSelectedItem

Returns the index of the current selected entry.

[NSMatrix -selectedRow]

insertEntry:
title
atIndex:
index

Inserts a new entry with title as its title at the index index of the NSForm and returns the NSFormCell.

See Also: -addEntry: -removeEntryAtIndex:

removeEntryAtIndex:
index

Removes the entry at index index.

See Also: -insertEntry:atIndex: -addEntry:

selectTextAtIndex:
index

Selects the text in the entry specified by index.

[NSMatrix -selectTextAtRow:column:]

setBezeled:
flag

Sets whether then NSForm's entries have bezeled border.

See Also: [NSCell -setBezeled:]

setBordered:
flag

Sets whether then NSForm's entries have border

See Also: [NSCell -setBordered:]

setEntryWidth:
width

Sets the width of all entries to width

See Also: [NSMatrix -setCellSize:]

setInterlineSpacing:
spacing

Sets the spacing between all entries to spacing. By default the spacing is 4.

See Also: [NSMatrix -setIntercellSpacing:]

setTextAlignment:
aMode

Sets the text alignment to aMode for all entries. See NSTextAlignment for more informations. The default text alignment is NSRightTextAlignment

See Also: -setTitleAlignment: [NSCell -setAlignment:]

setTextFont:
fontObject

Sets the text font to fontObject for all entries

See Also: [NSCell -setFont:] -setTitleFont:

setTitleAlignment:
aMode

Sets the text alignment of the title to aMode for all entries. See NSTextAlignment for more informations. The default title alignment is NSLeftTextAlignment

See Also: [NSFormCell -setTitleAlignment:] -setTextAlignment:

setTitleFont:
fontObject

Sets the text font of the title to fontObject for all entries

See Also: [NSFormCell -setTitleFont:] -setTextFont: