From bfb1fa6c62edc377c1b4526c91c55d888bf445ed Mon Sep 17 00:00:00 2001 From: Fabien_ Date: Tue, 22 Nov 2005 12:34:10 +0000 Subject: [PATCH] Improved documentation git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22074 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 1 + Source/NSFormCell.m | 23 ++++++++++++++--------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index d9ee86c6a..4839e949f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ * Source/NSCustomImageRep.m : Improved documentation * Source/NSFontPanel.m : Improved documentation * Source/NSForm.m : Improved documentation + * Source/NSFormCell.m : Improved documentation 2005-11-21 fabien diff --git a/Source/NSFormCell.m b/Source/NSFormCell.m index 69b036e79..0df67ccad 100644 --- a/Source/NSFormCell.m +++ b/Source/NSFormCell.m @@ -72,7 +72,9 @@ static NSColor *shadowCol; return [self initTextCell: @"Field:"]; } -/**

Initializes and returns new NSFormCell with aString as its title

+/**

Initializes and returns new NSFormCell with aString as its title and + the text cell with an empty NSString.

+

See Also: [NSCell-initTextCell:]

*/ - (id) initTextCell: (NSString *)aString { @@ -96,8 +98,9 @@ static NSColor *shadowCol; [super dealloc]; } -/**

Returns whether the NSFormCell is Opaque. Returns YES if +/**

Returns whether the NSFormCell is Opaque. Returns YES if the textCell and the title cell are both Opaque, NO otherwise

+

See Also: [NSCell-isOpaque]

*/ - (BOOL)isOpaque { @@ -119,7 +122,7 @@ static NSColor *shadowCol; } /**

Sets the NSFormCell title to aString. - TODO => _formcell_auto_title_width / Update the control(s)

+ TODO => _formcell_auto_title_width / Update the control(s)

*/ - (void)setTitle: (NSString*)aString { @@ -151,16 +154,17 @@ static NSColor *shadowCol; } /**

Sets the text alignment of the NSFormCell's title to mode. - NSRightTextAlignment by default. See NSTextAlignment for more information -

See Also: -titleAlignment

+ NSRightTextAlignment by default. See NSTextAlignment for more informations. +

See Also: -titleAlignment [NSCell-setAlignment:]

*/ - (void)setTitleAlignment:(NSTextAlignment)mode { [_titleCell setAlignment: mode]; } -/**

Set text font of the NSFormCell's title to fontObject.

-

See Also: -titleFont

+/**

Set the text font of the NSFormCell's title to fontObject.

+

See Also: -titleFont [NSCell-setFont:]

*/ - (void)setTitleFont: (NSFont*)fontObject { @@ -204,7 +208,8 @@ static NSColor *shadowCol; return [_titleCell attributedStringValue]; } -/**

Returns the NSFormCell's title

See Also: -setTitle:

+/**

Returns the NSFormCell's title.

+

See Also: -setTitle: [NSCell-stringValue]

*/ - (NSString*)title { @@ -221,7 +226,7 @@ static NSColor *shadowCol; } /**

Returns the text font of the NSFormCell's title

-

See Also: -setTitleFont:

+

See Also: -setTitleFont: [NSCell-font]

*/ - (NSFont*)titleFont {