From c51f4265da2f0fc08e9d8961e79dff0e6972d71a Mon Sep 17 00:00:00 2001 From: fedor Date: Mon, 17 Dec 2001 16:51:51 +0000 Subject: [PATCH] Markup for autogsdoc git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 15 + Documentation/gsdoc/GNUmakefile | 193 +- Documentation/gsdoc/NSActionCell.gsdoc | 144 +- Documentation/gsdoc/NSActionCell.html | 179 +- Documentation/gsdoc/NSAffineTransform.gsdoc | 189 +- Documentation/gsdoc/NSAffineTransform.html | 370 ++- Documentation/gsdoc/NSApplication.gsdoc | 285 +- Documentation/gsdoc/NSApplication.html | 1232 +++++---- Documentation/gsdoc/NSBezierPath.gsdoc | 308 ++- Documentation/gsdoc/NSBezierPath.html | 702 ++--- Documentation/gsdoc/NSBitmapImageRep.gsdoc | 152 +- Documentation/gsdoc/NSBitmapImageRep.html | 346 +-- Documentation/gsdoc/NSBox.gsdoc | 34 +- Documentation/gsdoc/NSBox.html | 248 +- Documentation/gsdoc/NSBrowser.gsdoc | 118 +- Documentation/gsdoc/NSBrowser.html | 1168 ++++---- Documentation/gsdoc/NSBrowserCell.gsdoc | 50 +- Documentation/gsdoc/NSBrowserCell.html | 184 +- Documentation/gsdoc/NSButton.gsdoc | 41 +- Documentation/gsdoc/NSButton.html | 455 ++- Documentation/gsdoc/NSButtonCell.gsdoc | 68 +- Documentation/gsdoc/NSButtonCell.html | 540 ++-- Documentation/gsdoc/NSCachedImageRep.gsdoc | 36 +- Documentation/gsdoc/NSCachedImageRep.html | 99 +- Documentation/gsdoc/NSCell.gsdoc | 139 +- Documentation/gsdoc/NSCell.html | 1465 +++++----- Documentation/gsdoc/NSClipView.gsdoc | 75 +- Documentation/gsdoc/NSClipView.html | 357 +-- Documentation/gsdoc/NSColor.gsdoc | 102 +- Documentation/gsdoc/NSColor.html | 1087 ++++---- Documentation/gsdoc/NSColorList.gsdoc | 48 +- Documentation/gsdoc/NSColorList.html | 208 +- Documentation/gsdoc/NSColorPanel.gsdoc | 44 +- Documentation/gsdoc/NSColorPanel.html | 266 +- Documentation/gsdoc/NSColorPicker.gsdoc | 42 +- Documentation/gsdoc/NSColorPicker.html | 153 +- Documentation/gsdoc/NSColorWell.gsdoc | 44 +- Documentation/gsdoc/NSColorWell.html | 169 +- Documentation/gsdoc/NSComboBox.gsdoc | 133 +- Documentation/gsdoc/NSComboBox.html | 463 ++-- Documentation/gsdoc/NSComboBoxCell.gsdoc | 97 +- Documentation/gsdoc/NSComboBoxCell.html | 439 +-- Documentation/gsdoc/NSControl.gsdoc | 88 +- Documentation/gsdoc/NSControl.html | 863 +++--- Documentation/gsdoc/NSCursor.gsdoc | 64 +- Documentation/gsdoc/NSCursor.html | 296 +- Documentation/gsdoc/NSCustomImageRep.gsdoc | 28 +- Documentation/gsdoc/NSCustomImageRep.html | 89 +- Documentation/gsdoc/NSDocument.gsdoc | 199 +- Documentation/gsdoc/NSDocument.html | 644 +++-- .../gsdoc/NSDocumentController.gsdoc | 135 +- Documentation/gsdoc/NSDocumentController.html | 383 +-- Documentation/gsdoc/NSEPSImageRep.gsdoc | 26 +- Documentation/gsdoc/NSEPSImageRep.html | 110 +- Documentation/gsdoc/NSEvent.gsdoc | 100 +- Documentation/gsdoc/NSEvent.html | 342 +-- Documentation/gsdoc/NSFileWrapper.gsdoc | 57 +- Documentation/gsdoc/NSFileWrapper.html | 356 +-- Documentation/gsdoc/NSFont.gsdoc | 111 +- Documentation/gsdoc/NSFont.html | 633 +++-- Documentation/gsdoc/NSFontManager.gsdoc | 104 +- Documentation/gsdoc/NSFontManager.html | 454 ++- Documentation/gsdoc/NSFontPanel.gsdoc | 41 +- Documentation/gsdoc/NSFontPanel.html | 164 +- Documentation/gsdoc/NSForm.gsdoc | 49 +- Documentation/gsdoc/NSForm.html | 228 +- Documentation/gsdoc/NSFormCell.gsdoc | 49 +- Documentation/gsdoc/NSFormCell.html | 197 +- Documentation/gsdoc/NSGraphicsContext.gsdoc | 2154 ++++++++++++++- Documentation/gsdoc/NSGraphicsContext.html | 1823 +++++++++++- Documentation/gsdoc/NSHelpManager.gsdoc | 73 +- Documentation/gsdoc/NSHelpManager.html | 171 +- Documentation/gsdoc/NSImage.gsdoc | 156 +- Documentation/gsdoc/NSImage.html | 666 ++--- Documentation/gsdoc/NSImageCell.gsdoc | 30 +- Documentation/gsdoc/NSImageCell.html | 119 +- Documentation/gsdoc/NSImageRep.gsdoc | 44 +- Documentation/gsdoc/NSImageRep.html | 406 +-- Documentation/gsdoc/NSImageView.gsdoc | 34 +- Documentation/gsdoc/NSImageView.html | 162 +- Documentation/gsdoc/NSInputManager.gsdoc | 157 +- Documentation/gsdoc/NSInputManager.html | 247 +- Documentation/gsdoc/NSInputServer.gsdoc | 190 +- Documentation/gsdoc/NSInputServer.html | 243 +- Documentation/gsdoc/NSLayoutManager.gsdoc | 385 +-- Documentation/gsdoc/NSLayoutManager.html | 1076 ++++---- Documentation/gsdoc/NSMatrix.gsdoc | 120 +- Documentation/gsdoc/NSMatrix.html | 1262 ++++----- Documentation/gsdoc/NSMenu.gsdoc | 182 +- Documentation/gsdoc/NSMenu.html | 625 +++-- Documentation/gsdoc/NSMenuItem.gsdoc | 259 +- Documentation/gsdoc/NSMenuItem.html | 281 +- Documentation/gsdoc/NSMenuItemCell.gsdoc | 48 +- Documentation/gsdoc/NSMenuItemCell.html | 301 +- Documentation/gsdoc/NSMenuView.gsdoc | 53 +- Documentation/gsdoc/NSMenuView.html | 485 ++-- Documentation/gsdoc/NSOpenPanel.gsdoc | 90 +- Documentation/gsdoc/NSOpenPanel.html | 202 +- Documentation/gsdoc/NSPageLayout.gsdoc | 12 +- Documentation/gsdoc/NSPageLayout.html | 246 +- Documentation/gsdoc/NSPanel.gsdoc | 38 +- Documentation/gsdoc/NSPanel.html | 131 +- Documentation/gsdoc/NSParagraphStyle.gsdoc | 147 +- Documentation/gsdoc/NSParagraphStyle.html | 291 +- Documentation/gsdoc/NSPasteboard.gsdoc | 126 +- Documentation/gsdoc/NSPasteboard.html | 388 +-- Documentation/gsdoc/NSPopUpButton.gsdoc | 66 +- Documentation/gsdoc/NSPopUpButton.html | 412 ++- Documentation/gsdoc/NSPopUpButtonCell.gsdoc | 49 +- Documentation/gsdoc/NSPopUpButtonCell.html | 503 ++-- Documentation/gsdoc/NSPrintInfo.gsdoc | 16 +- Documentation/gsdoc/NSPrintInfo.html | 413 +-- Documentation/gsdoc/NSPrintOperation.gsdoc | 21 +- Documentation/gsdoc/NSPrintOperation.html | 404 +-- Documentation/gsdoc/NSPrintPanel.gsdoc | 12 +- Documentation/gsdoc/NSPrintPanel.html | 159 +- Documentation/gsdoc/NSPrinter.gsdoc | 49 +- Documentation/gsdoc/NSPrinter.html | 332 ++- Documentation/gsdoc/NSProgressIndicator.gsdoc | 87 +- Documentation/gsdoc/NSProgressIndicator.html | 284 +- Documentation/gsdoc/NSResponder.gsdoc | 78 +- Documentation/gsdoc/NSResponder.html | 1187 ++++---- Documentation/gsdoc/NSRulerMarker.gsdoc | 30 +- Documentation/gsdoc/NSRulerMarker.html | 251 +- Documentation/gsdoc/NSRulerView.gsdoc | 44 +- Documentation/gsdoc/NSRulerView.html | 490 ++-- Documentation/gsdoc/NSSavePanel.gsdoc | 160 +- Documentation/gsdoc/NSSavePanel.html | 334 ++- Documentation/gsdoc/NSScreen.gsdoc | 37 +- Documentation/gsdoc/NSScreen.html | 149 +- Documentation/gsdoc/NSScrollView.gsdoc | 59 +- Documentation/gsdoc/NSScrollView.html | 588 ++-- Documentation/gsdoc/NSScroller.gsdoc | 83 +- Documentation/gsdoc/NSScroller.html | 269 +- Documentation/gsdoc/NSSecureTextField.gsdoc | 46 +- Documentation/gsdoc/NSSecureTextField.html | 81 +- Documentation/gsdoc/NSSlider.gsdoc | 183 +- Documentation/gsdoc/NSSlider.html | 635 ++--- Documentation/gsdoc/NSSliderCell.gsdoc | 210 +- Documentation/gsdoc/NSSliderCell.html | 670 ++--- Documentation/gsdoc/NSSpellChecker.gsdoc | 48 +- Documentation/gsdoc/NSSpellChecker.html | 244 +- Documentation/gsdoc/NSSpellServer.gsdoc | 54 +- Documentation/gsdoc/NSSpellServer.html | 167 +- Documentation/gsdoc/NSSplitView.gsdoc | 201 +- Documentation/gsdoc/NSSplitView.html | 281 +- Documentation/gsdoc/NSTabView.gsdoc | 100 +- Documentation/gsdoc/NSTabView.html | 406 +-- Documentation/gsdoc/NSTabViewItem.gsdoc | 67 +- Documentation/gsdoc/NSTabViewItem.html | 241 +- Documentation/gsdoc/NSTableHeaderCell.gsdoc | 31 +- Documentation/gsdoc/NSTableHeaderCell.html | 63 +- Documentation/gsdoc/NSTableHeaderView.gsdoc | 30 +- Documentation/gsdoc/NSTableHeaderView.html | 132 +- Documentation/gsdoc/NSTableView.gsdoc | 280 +- Documentation/gsdoc/NSTableView.html | 1341 +++++---- Documentation/gsdoc/NSText.gsdoc | 244 +- Documentation/gsdoc/NSText.html | 1055 +++---- Documentation/gsdoc/NSTextContainer.gsdoc | 33 +- Documentation/gsdoc/NSTextContainer.html | 227 +- Documentation/gsdoc/NSTextField.gsdoc | 46 +- Documentation/gsdoc/NSTextField.html | 407 +-- Documentation/gsdoc/NSTextFieldCell.gsdoc | 48 +- Documentation/gsdoc/NSTextFieldCell.html | 149 +- Documentation/gsdoc/NSTextStorage.gsdoc | 95 +- Documentation/gsdoc/NSTextStorage.html | 221 +- Documentation/gsdoc/NSTextView.gsdoc | 881 +++--- Documentation/gsdoc/NSTextView.html | 1592 ++++++----- Documentation/gsdoc/NSView.gsdoc | 531 ++-- Documentation/gsdoc/NSView.html | 2107 +++++++------- Documentation/gsdoc/NSWindow.gsdoc | 637 ++++- Documentation/gsdoc/NSWindow.html | 2438 +++++++++-------- Documentation/gsdoc/NSWindowController.gsdoc | 59 +- Documentation/gsdoc/NSWindowController.html | 297 +- Documentation/gsdoc/NSWorkspace.gsdoc | 140 +- Documentation/gsdoc/NSWorkspace.html | 430 +-- Documentation/gsdoc/README | 4 + Headers/gnustep/gui/NSColorList.h | 4 +- Headers/gnustep/gui/NSGraphicsContext.h | 4 +- Headers/gnustep/gui/NSPageLayout.h | 4 +- Headers/gnustep/gui/NSPrintInfo.h | 6 +- Headers/gnustep/gui/NSPrintOperation.h | 6 +- Headers/gnustep/gui/NSPrinter.h | 4 +- Headers/gnustep/gui/NSView.h | 2 - Source/GSHbox.m | 5 +- Source/GSHelpManagerPanel.m | 5 +- Source/GSInfoPanel.m | 5 +- Source/GSTable.m | 7 +- Source/GSVbox.m | 5 +- Source/NSActionCell.m | 5 +- Source/NSAffineTransform.m | 5 +- Source/NSApplication.m | 9 +- Source/NSAttributedString.m | 5 +- Source/NSBezierPath.m | 5 +- Source/NSBitmapImageRep.m | 9 +- Source/NSBox.m | 5 +- Source/NSBrowser.m | 5 +- Source/NSBrowserCell.m | 6 +- Source/NSBundleAdditions.m | 5 +- Source/NSButton.m | 5 +- Source/NSButtonCell.m | 7 +- Source/NSCachedImageRep.m | 7 +- Source/NSCell.m | 5 +- Source/NSClipView.m | 3 +- Source/NSColor.m | 15 +- Source/NSColorList.m | 5 +- Source/NSColorPanel.m | 7 +- Source/NSColorPicker.m | 9 +- Source/NSColorWell.m | 9 +- Source/NSComboBox.m | 5 +- Source/NSComboBoxCell.m | 3 +- Source/NSControl.m | 9 +- Source/NSCursor.m | 15 +- Source/NSCustomImageRep.m | 5 +- Source/NSDataLink.m | 7 +- Source/NSDataLinkManager.m | 7 +- Source/NSDataLinkPanel.m | 7 +- Source/NSDocument.m | 5 +- Source/NSDocumentController.m | 9 +- Source/NSDrawer.m | 7 +- Source/NSEPSImageRep.m | 5 +- Source/NSEvent.m | 13 +- Source/NSFileWrapper.m | 13 +- Source/NSFont.m | 5 +- Source/NSFontManager.m | 11 +- Source/NSFontPanel.m | 14 +- Source/NSForm.m | 5 +- Source/NSFormCell.m | 5 +- Source/NSGraphicsContext.m | 98 +- Source/NSHelpManager.m | 7 +- Source/NSHelpPanel.m | 7 +- Source/NSImage.m | 24 +- Source/NSImageCell.m | 7 +- Source/NSImageRep.m | 7 +- Source/NSImageView.m | 3 +- Source/NSInputManager.m | 7 +- Source/NSInputServer.m | 5 +- Source/NSInterfaceStyle.m | 5 +- Source/NSLayoutManager.m | 7 +- Source/NSMatrix.m | 11 +- Source/NSMenu.m | 7 +- Source/NSMenuItem.m | 10 +- Source/NSMenuItemCell.m | 5 +- Source/NSMenuView.m | 7 +- Source/NSOpenPanel.m | 11 +- Source/NSOutlineView.m | 5 +- Source/NSPageLayout.m | 4 +- Source/NSPanel.m | 12 +- Source/NSParagraphStyle.m | 13 +- Source/NSPasteboard.m | 9 +- Source/NSPopUpButton.m | 7 +- Source/NSPopUpButtonCell.m | 3 +- Source/NSPrintPanel.m | 4 +- Source/NSPrinter.m | 9 +- Source/NSProgressIndicator.m | 3 +- Source/NSResponder.m | 7 +- Source/NSRulerMarker.m | 5 +- Source/NSRulerView.m | 7 +- Source/NSSavePanel.m | 9 +- Source/NSScreen.m | 8 +- Source/NSScrollView.m | 7 +- Source/NSScroller.m | 7 +- Source/NSSecureTextField.m | 10 +- Source/NSSelection.m | 11 +- Source/NSSlider.m | 92 +- Source/NSSliderCell.m | 114 +- Source/NSSpellChecker.m | 13 +- Source/NSSpellServer.m | 10 +- Source/NSSplitView.m | 5 +- Source/NSStepper.m | 5 +- Source/NSStepperCell.m | 3 +- Source/NSStringDrawing.m | 9 +- Source/NSTabView.m | 7 +- Source/NSTabViewItem.m | 5 +- Source/NSTableColumn.m | 136 +- Source/NSTableHeaderCell.m | 5 +- Source/NSTableHeaderView.m | 7 +- Source/NSTableView.m | 5 +- Source/NSText.m | 11 +- Source/NSTextAttachment.m | 7 +- Source/NSTextContainer.m | 7 +- Source/NSTextField.m | 5 +- Source/NSTextFieldCell.m | 7 +- Source/NSTextStorage.m | 5 +- Source/NSTextView.m | 5 +- Source/NSView.m | 140 +- Source/NSWindow.m | 116 +- Source/NSWindowController.m | 5 +- Source/NSWorkspace.m | 9 +- 289 files changed, 33853 insertions(+), 23024 deletions(-) diff --git a/ChangeLog b/ChangeLog index 09f68f52c..5bd0dd783 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2001-12-17 Adam Fedor + + * Source/*m: Add basic markup for autogsdoc generation. + (various locations): Remove semi-colon at end of method names. + NSSliderCell.m, NSSlider.m, NSTableColumn.m, NSView.m, NSWindow.m: + Add documentation formerly in gsdoc files to comments. + + * Headers/gnustep/gui/NSColorList.h, NSPageLayout.h, + NSPrintInfo.h, NSPrintOperation.h, NSPrinter.h, NSView.h: Correct + method types, remove unused markup. + + * Documentation/gsdoc/GNUmakefile: Add variables for autmatic + document generatation via autgsdoc. + * Documentation/gsdoc/*gsdoc, *html: Update. + Sat Dec 15 09:12:44 2001 Nicola Pero Patches from Ludovic Marcotte modified by myself. diff --git a/Documentation/gsdoc/GNUmakefile b/Documentation/gsdoc/GNUmakefile index 476ad7a15..e0decf3a9 100644 --- a/Documentation/gsdoc/GNUmakefile +++ b/Documentation/gsdoc/GNUmakefile @@ -32,116 +32,113 @@ include $(GNUSTEP_MAKEFILES)/common.make DOCUMENT_NAME = Gui Gui_GSDOC_FILES = Gui.gsdoc \ + $(Gui_AUTOGSDOC_FILES) \ Introduction.gsdoc \ - NSActionCell.gsdoc \ - NSAffineTransform.gsdoc \ - NSApplication.gsdoc \ - NSAttributedStrngAdds.gsdoc \ - NSBezierPath.gsdoc \ - NSBitmapImageRep.gsdoc \ - NSBox.gsdoc \ - NSBrowser.gsdoc \ - NSBrowserCell.gsdoc \ NSBundleAdditions.gsdoc \ - NSButton.gsdoc \ - NSButtonCell.gsdoc \ - NSCachedImageRep.gsdoc \ - NSCell.gsdoc \ - NSClipView.gsdoc \ NSCoderAdditions.gsdoc \ - NSColor.gsdoc \ - NSColorList.gsdoc \ - NSColorPanel.gsdoc \ - NSColorPicker.gsdoc \ - NSColorWell.gsdoc \ - NSComboBox.gsdoc \ - NSComboBoxCell.gsdoc \ - NSControl.gsdoc \ - NSCursor.gsdoc \ - NSCustomImageRep.gsdoc \ - NSDPSContext.gsdoc \ - NSDocument.gsdoc \ - NSDocumentController.gsdoc \ - NSEPSImageRep.gsdoc \ - NSEvent.gsdoc \ - NSFileWrapper.gsdoc \ - NSFont.gsdoc \ - NSFontManager.gsdoc \ - NSFontPanel.gsdoc \ - NSForm.gsdoc \ - NSFormCell.gsdoc \ - NSGraphicsContext.gsdoc \ - NSHelpManager.gsdoc \ - NSImage.gsdoc \ - NSImageCell.gsdoc \ - NSImageRep.gsdoc \ - NSImageView.gsdoc \ - NSInputManager.gsdoc \ - NSInputServer.gsdoc \ - NSLayoutManager.gsdoc \ - NSMatrix.gsdoc \ - NSMenu.gsdoc \ NSMenuItem.gsdoc \ - NSMenuItemCell.gsdoc \ - NSMenuView.gsdoc \ NSMutableAttributedStringAdditions.gsdoc \ NSMutableParagraphStyle.gsdoc \ - NSOpenPanel.gsdoc \ NSPICTImageRep.gsdoc \ - NSPageLayout.gsdoc \ - NSPanel.gsdoc \ - NSParagraphStyle.gsdoc \ - NSPasteboard.gsdoc \ - NSPopUpButton.gsdoc \ - NSPopUpButtonCell.gsdoc \ - NSPrintInfo.gsdoc \ - NSPrintOperation.gsdoc \ - NSPrintPanel.gsdoc \ - NSPrinter.gsdoc \ - NSProgressIndicator.gsdoc \ - NSResponder.gsdoc \ - NSRulerMarker.gsdoc \ - NSRulerView.gsdoc \ - NSSavePanel.gsdoc \ - NSScreen.gsdoc \ - NSScrollView.gsdoc \ - NSScroller.gsdoc \ - NSSecureTextField.gsdoc \ NSSecureTextFieldCell.gsdoc \ - NSSlider.gsdoc \ - NSSliderCell.gsdoc \ - NSSpellChecker.gsdoc \ - NSSpellServer.gsdoc \ - NSSplitView.gsdoc \ NSStringAdditions.gsdoc \ - NSTabView.gsdoc \ - NSTabViewItem.gsdoc \ NSTableColumn.gsdoc \ - NSTableHeaderCell.gsdoc \ - NSTableHeaderView.gsdoc \ - NSTableView.gsdoc \ - NSText.gsdoc \ NSTextAttachment.gsdoc \ NSTextAttachmentCell.gsdoc \ - NSTextContainer.gsdoc \ - NSTextField.gsdoc \ - NSTextFieldCell.gsdoc \ - NSTextStorage.gsdoc \ - NSTextTab.gsdoc \ - NSTextView.gsdoc \ - NSView.gsdoc \ - NSWindow.gsdoc \ - NSWindowController.gsdoc \ - NSWorkspace.gsdoc + NSTextTab.gsdoc # These gsdoc files are automatically generated from class source/headers -Gui_AUTOGSDOC_FILES = \ -NSPageLayout.gsdoc \ -NSPrintInfo.gsdoc \ -NSPrintOperation.gsdoc \ -NSPrintPanel.gsdoc +Gui_AGSDOC_FILES = \ + NSActionCell.h \ + NSAffineTransform.h \ + NSApplication.h \ + NSAttributedString.h \ + NSBezierPath.h \ + NSBitmapImageRep.h \ + NSBox.h \ + NSBrowser.h \ + NSBrowserCell.h \ + NSButton.h \ + NSButtonCell.h \ + NSCachedImageRep.h \ + NSCell.h \ + NSClipView.h \ + NSColor.h \ + NSColorList.h \ + NSColorPanel.h \ + NSColorPicker.h \ + NSColorWell.h \ + NSComboBox.h \ + NSComboBoxCell.h \ + NSControl.h \ + NSCursor.h \ + NSCustomImageRep.h \ + NSDocument.h \ + NSDocumentController.h \ + NSEPSImageRep.h \ + NSEvent.h \ + NSFileWrapper.h \ + NSFont.h \ + NSFontManager.h \ + NSFontPanel.h \ + NSForm.h \ + NSFormCell.h \ + NSGraphicsContext.h \ + NSHelpManager.h \ + NSImage.h \ + NSImageCell.h \ + NSImageRep.h \ + NSImageView.h \ + NSInputManager.h \ + NSInputServer.h \ + NSLayoutManager.h \ + NSMatrix.h \ + NSMenu.h \ + NSMenuItemCell.h \ + NSMenuView.h \ + NSOpenPanel.h \ + NSPageLayout.h \ + NSPanel.h \ + NSParagraphStyle.h \ + NSPasteboard.h \ + NSPopUpButton.h \ + NSPopUpButtonCell.h \ + NSPrintInfo.h \ + NSPrintOperation.h \ + NSPrintPanel.h \ + NSPrinter.h \ + NSProgressIndicator.h \ + NSResponder.h \ + NSRulerMarker.h \ + NSRulerView.h \ + NSSavePanel.h \ + NSScreen.h \ + NSScrollView.h \ + NSScroller.h \ + NSSecureTextField.h \ + NSSlider.h \ + NSSliderCell.h \ + NSSpellChecker.h \ + NSSpellServer.h \ + NSSplitView.h \ + NSTabView.h \ + NSTabViewItem.h \ + NSTableHeaderCell.h \ + NSTableHeaderView.h \ + NSTableView.h \ + NSText.h \ + NSTextContainer.h \ + NSTextField.h \ + NSTextFieldCell.h \ + NSTextStorage.h \ + NSTextView.h \ + NSView.h \ + NSWindow.h \ + NSWindowController.h \ + NSWorkspace.h -Gui_AUTOGSDOC_HEADERS = $(addprefix ../../Headers/gnustep/gui/, $(addsuffix .h, $(basename $(Gui_AUTOGSDOC_FILES)))) +Gui_AGSDOC_FLAGS = -HeaderDirectory ../../Headers/AppKit -Declared AppKit \ + -SourceDirectory ../../Source Gui_DOC_INSTALL_DIR = Developer/Gui/Reference @@ -152,9 +149,3 @@ Gui_DOC_INSTALL_DIR = Developer/Gui/Reference include $(GNUSTEP_MAKEFILES)/documentation.make -include GNUmakefile.postamble - -autogen : $(Gui_AUTOGSDOC_FILES) - -$(Gui_AUTOGSDOC_FILES) : $(Gui_AUTOGSDOC_HEADERS) - autogsdoc -DocumentationDirectory . \ - -SourceDirectory ../../Source $^ diff --git a/Documentation/gsdoc/NSActionCell.gsdoc b/Documentation/gsdoc/NSActionCell.gsdoc index bc74f9b4a..c78bd1de3 100644 --- a/Documentation/gsdoc/NSActionCell.gsdoc +++ b/Documentation/gsdoc/NSActionCell.gsdoc @@ -1,139 +1,27 @@ - - + + NSActionCell - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + Abstract cell for target/action paradigm + + 1996-1999 Free Software Foundation, Inc. - NSActionCell + + Software documentation for the NSActionCell class + - Gui/NSActionCell.h - NSCoding - - - - action - - - - - controlView - - - - - doubleValue - - - - - drawWithFrame: - cellFrame - - - - - floatValue - - - - - intValue - - - - - setAction: - aSelector - - - - - setAlignment: - mode - - - - - setBezeled: - flag - - - - - setBordered: - flag - - - - - setEnabled: - flag - - - - - setFloatingPointFormat: - autoRange - left: - leftDigits - right: - rightDigits - - - - - setFont: - fontObj - - - - - setImage: - image - - - - - setObjectValue: - object - - - - - setTag: - anInt - - - - - setTarget: - anObject - - - - - stringValue - - - - - tag - - - - - target - - - + AppKit/NSActionCell.h + + diff --git a/Documentation/gsdoc/NSActionCell.html b/Documentation/gsdoc/NSActionCell.html index 01dfec63a..de42c4054 100644 --- a/Documentation/gsdoc/NSActionCell.html +++ b/Documentation/gsdoc/NSActionCell.html @@ -1,154 +1,29 @@ - - NSActionCell - - -[Previous] -[Up] -[Next] -

NSActionCell

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSActionCell

-

NSActionCell

-

Declared in: Gui/NSActionCell.h

-

Inherits from: NSCell

-

Conforms to: NSCoding -

-
+ + + NSActionCell + + +

NSActionCell

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

action

-- (SEL) action;
+ Abstract cell for target/action paradigm +
+

Copyright: (C) 1996-1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSActionCell class +

+

NSActionCell : NSCell

+ Declared: AppKit/NSActionCell.h
+

- -


-

controlView

-- (NSView*) controlView;
- - -
-

doubleValue

-- (double) doubleValue;
- - -
-

drawWithFrame:

-- (void) drawWithFrame: (NSRect)cellFrame;
- - -
-

floatValue

-- (float) floatValue;
- - -
-

intValue

-- (int) intValue;
- - -
-

setAction:

-- (void) setAction: (SEL)aSelector;
- - -
-

setAlignment:

-- (void) setAlignment: (NSTextAlignment)mode;
- - -
-

setBezeled:

-- (void) setBezeled: (BOOL)flag;
- - -
-

setBordered:

-- (void) setBordered: (BOOL)flag;
- - -
-

setEnabled:

-- (void) setEnabled: (BOOL)flag;
- - -
-

setFloatingPointFormat:left:right:

-- (void) setFloatingPointFormat: (BOOL)autoRange left: (unsigned int)leftDigits right: (unsigned int)rightDigits;
- - -
-

setFont:

-- (void) setFont: (NSFont*)fontObj;
- - -
-

setImage:

-- (void) setImage: (NSImage*)image;
- - -
-

setObjectValue:

-- (void) setObjectValue: (id)object;
- - -
-

setTag:

-- (void) setTag: (int)anInt;
- - -
-

setTarget:

-- (void) setTarget: (id)anObject;
- - -
-

stringValue

-- (NSString*) stringValue;
- - -
-

tag

-- (int) tag;
- - -
-

target

-- (id) target;
- - -
- - - +

+ + diff --git a/Documentation/gsdoc/NSAffineTransform.gsdoc b/Documentation/gsdoc/NSAffineTransform.gsdoc index 7fabe7723..8e9641eef 100644 --- a/Documentation/gsdoc/NSAffineTransform.gsdoc +++ b/Documentation/gsdoc/NSAffineTransform.gsdoc @@ -1,23 +1,31 @@ - - + + - NSAffineTransform - - - + NSAffineTransform.m + + + ovidiu@net-community.com + - $Revision$ - $Date$ + + + richard@brainstorm.co.uk + + + 1996,1999 Free Software Foundation, Inc. - NSAffineTransform + + Software documentation for the NSAffineTransform class + - Gui/NSAffineTransform.h + AppKit/NSAffineTransform.h + NSCopying NSCoding - - + + transform @@ -25,7 +33,7 @@ appendTransform: - aTransform + other @@ -47,7 +55,7 @@ prependTransform: - aTransform + other @@ -59,7 +67,7 @@ rotateByRadians: - angle + angleRad @@ -72,6 +80,8 @@ scaleXBy: scaleX + yBy: + scaleY @@ -82,7 +92,7 @@ setTransformStruct: - aTransformStruct + val @@ -94,13 +104,13 @@ transformPoint: - aPoint + point transformSize: - aSize + size @@ -111,11 +121,152 @@ translateXBy: - deltaX + tranX + yBy: + tranY + + + Software documentation for the + NSAffineTransform(GNUstep) category + + + AppKit/NSAffineTransform.h + + + + matrixFrom: + _matrix + + + + + boundingRectFor: + rect + result: + new + + + + + concatenateWith: + other + + + + + concatenateWithMatrix: + concat + + + + + deltaPointInMatrixSpace: + point + + + + + getMatrix: + replace + + + + + inverse + + + + + isRotated + + + + + makeIdentityMatrix + + + + + pointInMatrixSpace: + point + + + + + rectInMatrixSpace: + rect + + + + + rotateByAngle: + angle + + + + + rotationAngle + + + + + scaleBy: + sx + : + sy + + + + + scaleTo: + sx + : + sy + + + + + setFrameOrigin: + point + + + + + setFrameRotation: + angle + + + + + setMatrix: + replace + + + + + sizeInMatrixSpace: + size + + + + + takeMatrixFromTransform: + other + + + + + translateToPoint: + point + + + + + diff --git a/Documentation/gsdoc/NSAffineTransform.html b/Documentation/gsdoc/NSAffineTransform.html index 4761e6238..e244e3d5c 100644 --- a/Documentation/gsdoc/NSAffineTransform.html +++ b/Documentation/gsdoc/NSAffineTransform.html @@ -1,137 +1,269 @@ - - NSAffineTransform - - -[Previous] -[Up] -[Next] -

NSAffineTransform

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSAffineTransform

-

NSAffineTransform

-

Declared in: Gui/NSAffineTransform.h

-

Inherits from: NSObject

-

Conforms to: NSCoding -

-
+ + + NSAffineTransform.m + + +

NSAffineTransform.m

+

Authors

+
+
Ovidiu Predescu( + ovidiu@net-community.com + )
+
+
+
Richard Frith-Macdonald( + richard@brainstorm.co.uk + )
+
+
+
+

Copyright: (C) 1996,1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSAffineTransform class +

+

NSAffineTransform : NSObject

+ Declared: AppKit/NSAffineTransform.h
+ Conform: NSCopying
+ Conform: NSCoding
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

transform

-+ (NSAffineTransform*) transform;
+

+

transform

+ + (NSAffineTransform*) transform;
+

- -


-

Instances Methods

-

appendTransform:

-- (void) appendTransform: (NSAffineTransform*)aTransform;
+

+
+

appendTransform:

+ - (void) appendTransform: (NSAffineTransform*)other;
+

- -


-

concat

-- (void) concat;
+

+
+

concat

+ - (void) concat;
+

- -


-

initWithTransform:

-- (id) initWithTransform: (NSAffineTransform*)aTransform;
+

+
+

initWithTransform:

+ - (id) initWithTransform: (NSAffineTransform*)aTransform;
+

- -


-

invert

-- (void) invert;
+

+
+

invert

+ - (void) invert;
+

- -


-

prependTransform:

-- (void) prependTransform: (NSAffineTransform*)aTransform;
+

+
+

prependTransform:

+ - (void) prependTransform: (NSAffineTransform*)other;
+

- -


-

rotateByDegrees:

-- (void) rotateByDegrees: (float)angle;
+

+
+

rotateByDegrees:

+ - (void) rotateByDegrees: (float)angle;
+

- -


-

rotateByRadians:

-- (void) rotateByRadians: (float)angle;
+

+
+

rotateByRadians:

+ - (void) rotateByRadians: (float)angleRad;
+

- -


-

scaleBy:

-- (void) scaleBy: (float)scale;
+

+
+

scaleBy:

+ - (void) scaleBy: (float)scale;
+

- -


-

scaleXBy:

-- (void) scaleXBy: (float)scaleX;
+

+
+

scaleXBy:yBy:

+ - (void) scaleXBy: (float)scaleX yBy: (float)scaleY;
+

- -


-

set

-- (void) set;
+

+
+

set

+ - (void) set;
+

- -


-

setTransformStruct:

-- (void) setTransformStruct: (NSAffineTransformStruct)aTransformStruct;
+

+
+

setTransformStruct:

+ - (void) setTransformStruct: (NSAffineTransformStruct)val;
+

- -


-

transformBezierPath:

-- (NSBezierPath*) transformBezierPath: (NSBezierPath*)aPath;
+

+
+

transformBezierPath:

+ - (NSBezierPath*) transformBezierPath: (NSBezierPath*)aPath;
+

- -


-

transformPoint:

-- (NSPoint) transformPoint: (NSPoint)aPoint;
+

+
+

transformPoint:

+ - (NSPoint) transformPoint: (NSPoint)point;
+

- -


-

transformSize:

-- (NSSize) transformSize: (NSSize)aSize;
+

+
+

transformSize:

+ - (NSSize) transformSize: (NSSize)size;
+

- -


-

transformStruct

-- (NSAffineTransformStruct) transformStruct;
+

+
+

transformStruct

+ - (NSAffineTransformStruct) transformStruct;
+

- -


-

translateXBy:

-- (void) translateXBy: (float)deltaX;
+

+
+

translateXBy:yBy:

+ - (void) translateXBy: (float)tranX yBy: (float)tranY;
+

- -


- - - +

+
+

+ Software documentation for the + NSAffineTransform(GNUstep) category +

+

NSAffineTransform(GNUstep)

+ Declared: AppKit/NSAffineTransform.h
+

+ +

+

matrixFrom:

+ + (NSAffineTransform*) matrixFrom: (const float[6])_matrix;
+

+ +

+
+

boundingRectFor:result:

+ - (void) boundingRectFor: (NSRect)rect result: (NSRect*)new;
+

+ +

+
+

concatenateWith:

+ - (void) concatenateWith: (NSAffineTransform*)other;
+

+ +

+
+

concatenateWithMatrix:

+ - (void) concatenateWithMatrix: (const float[6])concat;
+

+ +

+
+

deltaPointInMatrixSpace:

+ - (NSPoint) deltaPointInMatrixSpace: (NSPoint)point;
+

+ +

+
+

getMatrix:

+ - (void) getMatrix: (float[6])replace;
+

+ +

+
+

inverse

+ - (void) inverse;
+

+ +

+
+

isRotated

+ - (BOOL) isRotated;
+

+ +

+
+

makeIdentityMatrix

+ - (void) makeIdentityMatrix;
+

+ +

+
+

pointInMatrixSpace:

+ - (NSPoint) pointInMatrixSpace: (NSPoint)point;
+

+ +

+
+

rectInMatrixSpace:

+ - (NSRect) rectInMatrixSpace: (NSRect)rect;
+

+ +

+
+

rotateByAngle:

+ - (void) rotateByAngle: (float)angle;
+

+ +

+
+

rotationAngle

+ - (float) rotationAngle;
+

+ +

+
+

scaleBy::

+ - (void) scaleBy: (float)sx : (float)sy;
+

+ +

+
+

scaleTo::

+ - (void) scaleTo: (float)sx : (float)sy;
+

+ +

+
+

setFrameOrigin:

+ - (void) setFrameOrigin: (NSPoint)point;
+

+ +

+
+

setFrameRotation:

+ - (void) setFrameRotation: (float)angle;
+

+ +

+
+

setMatrix:

+ - (void) setMatrix: (const float[6])replace;
+

+ +

+
+

sizeInMatrixSpace:

+ - (NSSize) sizeInMatrixSpace: (NSSize)size;
+

+ +

+
+

takeMatrixFromTransform:

+ - (void) takeMatrixFromTransform: (NSAffineTransform*)other;
+

+ +

+
+

translateToPoint:

+ - (void) translateToPoint: (NSPoint)point;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSApplication.gsdoc b/Documentation/gsdoc/NSApplication.gsdoc index b51aed281..bf44d2f65 100644 --- a/Documentation/gsdoc/NSApplication.gsdoc +++ b/Documentation/gsdoc/NSApplication.gsdoc @@ -1,37 +1,48 @@ - - + + NSApplication - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + far@ix.netcom.com + + + + + richard@brainstorm.co.uk + + + The one and only application class + 1996,1999 Free Software Foundation, Inc. - NSApplication + + Software documentation for the NSApplication class + - Gui/NSApplication.h + AppKit/NSApplication.h NSCoding - - + + - setApplicationHandle: - hInstance - previousHandle: - prevInstance - commandLine: - cmdLine - show: - cmdShow + detachDrawingThread: + selector + toTarget: + target + withObject: + argument - - useRunningCopyOfApplication + + sharedApplication @@ -40,12 +51,6 @@ - - activateContextHelpMode: - sender - - - activateIgnoringOtherApps: flag @@ -56,17 +61,12 @@ addWindowsItem: aWindow title: - title + aString filename: isFilename - - applicationHandle - - - applicationIconImage @@ -80,7 +80,21 @@ beginModalSessionForWindow: - aWindow + theWindow + + + + + beginSheet: + sheet + modalForWindow: + docWindow + modalDelegate: + modalDelegate + didEndSelector: + didEndSelector + contextInfo: + contextInfo @@ -94,7 +108,7 @@ - + context @@ -109,6 +123,11 @@ + + delegate + + + discardEventsMatchingMask: mask @@ -117,9 +136,29 @@ + + encodeWithCoder: + aCoder + + + endModalSession: - session + theSession + + + + + endSheet: + sheet + + + + + endSheet: + sheet + returnCode: + returnCode @@ -134,6 +173,18 @@ + + hideOtherApplications: + sender + + + + + initWithCoder: + aDecoder + + + isActive @@ -167,6 +218,8 @@ makeWindowsPerform: aSelector + inOrder: + flag @@ -199,21 +252,47 @@ + + orderFrontDataLinkPanel: + sender + + + + + orderFrontHelpPanel: + sender + + + orderFrontStandardAboutPanel: - sender; + sender orderFrontStandardAboutPanelWithOptions: - optionsDictionary; + options + + + + + orderFrontStandardInfoPanel: + sender + + + + + orderFrontStandardInfoPanelWithOptions: + options postEvent: - anEvent + event + atStart: + flag @@ -249,13 +328,21 @@ runModalForWindow: - aWindow + theWindow + + + + + runModalForWindow: + theWindow + relativeToWindow: + docWindow runModalSession: - session + theSession @@ -267,7 +354,7 @@ sendAction: - anAction + aSelector to: aTarget from: @@ -277,7 +364,7 @@ sendEvent: - anEvent + theEvent @@ -291,6 +378,12 @@ + + setAppleMenu: + aMenu + + + setApplicationIconImage: anImage @@ -317,7 +410,7 @@ setServicesProvider: - aProvider + anObject @@ -333,12 +426,6 @@ - - showHelp: - sender - - - stop: sender @@ -362,6 +449,16 @@ + + targetForAction: + theAction + to: + theTarget + from: + sender + + + terminate: sender @@ -371,6 +468,8 @@ tryToPerform: aSelector + with: + anObject @@ -380,6 +479,12 @@ + + unhideAllApplications: + sender + + + unhideWithoutActivation @@ -404,6 +509,12 @@ + + windowWithWindowNumber: + windowNum + + + windows @@ -414,27 +525,59 @@ + + + + + Software documentation for the + NSObject(NSServicesRequests) + category + + + AppKit/NSApplication.h + + - windowWithWindowHandle: - hWnd + iconWindow - - windowWithWindowNumber: - windowNum + + readSelectionFromPasteboard: + pboard + + + + + writeSelectionToPasteboard: + pboard + types: + types + + + + + + + + Software documentation for the GSAppDelegateProtocol + protocol + + + AppKit/NSApplication.h + + + + application: + app + openFile: + filename application: - theApplication - - - - - application: - sender + app openFileWithoutUI: filename @@ -442,13 +585,17 @@ application: - theApplication + app + openTempFile: + filename application: theApplication + printFile: + filename @@ -490,7 +637,7 @@ applicationOpenUntitledFile: - theApplication + app @@ -502,13 +649,13 @@ applicationShouldTerminate: - sender + sender applicationShouldTerminateAfterLastWindowClosed: - theApplication + sender @@ -531,13 +678,13 @@ - applicationWillTerminate: + applicationWillResignActive: aNotification - applicationWillResignActive: + applicationWillTerminate: aNotification @@ -554,7 +701,7 @@ - + diff --git a/Documentation/gsdoc/NSApplication.html b/Documentation/gsdoc/NSApplication.html index 5fd3b1eef..30316c943 100644 --- a/Documentation/gsdoc/NSApplication.html +++ b/Documentation/gsdoc/NSApplication.html @@ -1,563 +1,669 @@ - - NSApplication - - -[Previous] -[Up] -[Next] -

NSApplication

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSApplication

-

NSApplication

-

Declared in: Gui/NSApplication.h

-

Inherits from: NSResponder

-

Conforms to: NSCoding -

-
- - -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

setApplicationHandle:previousHandle:commandLine:show:

-+ (void) setApplicationHandle: (void*)hInstance previousHandle: (void*)prevInstance commandLine: (NSString*)cmdLine show: (int)cmdShow;
- - -
-

useRunningCopyOfApplication

-+ (void) useRunningCopyOfApplication;
- - -
-

Instances Methods

-

abortModal

-- (void) abortModal;
- - -
-

activateContextHelpMode:

-- (void) activateContextHelpMode: (id)sender;
- - -
-

activateIgnoringOtherApps:

-- (void) activateIgnoringOtherApps: (BOOL)flag;
- - -
-

addWindowsItem:title:filename:

-- (void) addWindowsItem: (NSWindow*)aWindow title: (NSString*)title filename: (BOOL)isFilename;
- - -
-

applicationHandle

-- (void*) applicationHandle;
- - -
-

applicationIconImage

-- (NSImage*) applicationIconImage;
- - -
-

arrangeInFront:

-- (void) arrangeInFront: (id)sender;
- - -
-

beginModalSessionForWindow:

-- (NSModalSession) beginModalSessionForWindow: (NSWindow*)aWindow;
- - -
-

changeWindowsItem:title:filename:

-- (void) changeWindowsItem: (NSWindow*)aWindow title: (NSString*)aString filename: (BOOL)isFilename;
- - -
-

context

-- (NSDPSContext*) context;
- - -
-

currentEvent

-- (NSEvent*) currentEvent;
- - -
-

deactivate

-- (void) deactivate;
- - -
-

discardEventsMatchingMask:beforeEvent:

-- (void) discardEventsMatchingMask: (unsigned int)mask beforeEvent: (NSEvent*)lastEvent;
- - -
-

endModalSession:

-- (void) endModalSession: (NSModalSession)session;
- - -
-

finishLaunching

-- (void) finishLaunching;
- - -
-

hide:

-- (void) hide: (id)sender;
- - -
-

isActive

-- (BOOL) isActive;
- - -
-

isHidden

-- (BOOL) isHidden;
- - -
-

isRunning

-- (BOOL) isRunning;
- - -
-

keyWindow

-- (NSWindow*) keyWindow;
- - -
-

mainMenu

-- (NSMenu*) mainMenu;
- - -
-

mainWindow

-- (NSWindow*) mainWindow;
- - -
-

makeWindowsPerform:

-- (NSWindow*) makeWindowsPerform: (SEL)aSelector;
- - -
-

miniaturizeAll:

-- (void) miniaturizeAll: (id)sender;
- - -
-

modalWindow

-- (NSWindow*) modalWindow;
- - -
-

nextEventMatchingMask:untilDate:inMode:dequeue:

-- (NSEvent*) nextEventMatchingMask: (unsigned int)mask untilDate: (NSDate*)expiration inMode: (NSString*)mode dequeue: (BOOL)flag;
- - -
-

orderFrontColorPanel:

-- (void) orderFrontColorPanel: (id)sender;
- - -
-

orderFrontStandardAboutPanel:

-- (void) orderFrontStandardAboutPanel: (id)sender;;
- - -
-

orderFrontStandardAboutPanelWithOptions:

-- (void) orderFrontStandardAboutPanelWithOptions: (NSDictionary*)optionsDictionary;;
- - -
-

postEvent:

-- (void) postEvent: (NSEvent*)anEvent;
- - -
-

preventWindowOrdering

-- (void) preventWindowOrdering;
- - -
-

registerServicesMenuSendTypes:returnTypes:

-- (void) registerServicesMenuSendTypes: (NSArray*)sendTypes returnTypes: (NSArray*)returnTypes;
- - -
-

removeWindowsItem:

-- (void) removeWindowsItem: (NSWindow*)aWindow;
- - -
-

reportException:

-- (void) reportException: (NSException*)anException;
- - -
-

run

-- (void) run;
- - -
-

runModalForWindow:

-- (int) runModalForWindow: (NSWindow*)aWindow;
- - -
-

runModalSession:

-- (int) runModalSession: (NSModalSession)session;
- - -
-

runPageLayout:

-- (void) runPageLayout: (id)sender;
- - -
-

sendAction:to:from:

-- (BOOL) sendAction: (SEL)anAction to: (id)aTarget from: (id)sender;
- - -
-

sendEvent:

-- (void) sendEvent: (NSEvent*)anEvent;
- - -
-

servicesMenu

-- (NSMenu*) servicesMenu;
- - -
-

servicesProvider

-- (id) servicesProvider;
- - -
-

setApplicationIconImage:

-- (void) setApplicationIconImage: (NSImage*)anImage;
- - -
-

setDelegate:

-- (void) setDelegate: (id)anObject;
- - -
-

setMainMenu:

-- (void) setMainMenu: (NSMenu*)aMenu;
- - -
-

setServicesMenu:

-- (void) setServicesMenu: (NSMenu*)aMenu;
- - -
-

setServicesProvider:

-- (void) setServicesProvider: (id)aProvider;
- - -
-

setWindowsMenu:

-- (void) setWindowsMenu: (NSMenu*)aMenu;
- - -
-

setWindowsNeedUpdate:

-- (void) setWindowsNeedUpdate: (BOOL)flag;
- - -
-

showHelp:

-- (void) showHelp: (id)sender;
- - -
-

stop:

-- (void) stop: (id)sender;
- - -
-

stopModal

-- (void) stopModal;
- - -
-

stopModalWithCode:

-- (void) stopModalWithCode: (int)returnCode;
- - -
-

targetForAction:

-- (id) targetForAction: (SEL)aSelector;
- - -
-

terminate:

-- (void) terminate: (id)sender;
- - -
-

tryToPerform:

-- (BOOL) tryToPerform: (SEL)aSelector;
- - -
-

unhide:

-- (void) unhide: (id)sender;
- - -
-

unhideWithoutActivation

-- (void) unhideWithoutActivation;
- - -
-

updateWindows

-- (void) updateWindows;
- - -
-

updateWindowsItem:

-- (void) updateWindowsItem: (NSWindow*)aWindow;
- - -
-

validRequestorForSendType:returnType:

-- (id) validRequestorForSendType: (NSString*)sendType returnType: (NSString*)returnType;
- - -
-

windows

-- (NSArray*) windows;
- - -
-

windowsMenu

-- (NSMenu*) windowsMenu;
- - -
-

windowWithWindowHandle:

-- (NSWindow*) windowWithWindowHandle: (void*)hWnd;
- - -
-

windowWithWindowNumber:

-- (NSWindow*) windowWithWindowNumber: (int)windowNum;
- - -
-

application:

-- (BOOL) application: (NSApplication*)theApplication;
- - -
-

application:openFileWithoutUI:

-- (BOOL) application: (NSApplication*)sender openFileWithoutUI: (NSString*)filename;
- - -
-

application:

-- (BOOL) application: (NSApplication*)theApplication;
- - -
-

application:

-- (BOOL) application: (NSApplication*)theApplication;
- - -
-

applicationDidBecomeActive:

-- (void) applicationDidBecomeActive: (NSNotification*)aNotification;
- - -
-

applicationDidFinishLaunching:

-- (void) applicationDidFinishLaunching: (NSNotification*)aNotification;
- - -
-

applicationDidHide:

-- (void) applicationDidHide: (NSNotification*)aNotification;
- - -
-

applicationDidResignActive:

-- (void) applicationDidResignActive: (NSNotification*)aNotification;
- - -
-

applicationDidUnhide:

-- (void) applicationDidUnhide: (NSNotification*)aNotification;
- - -
-

applicationDidUpdate:

-- (void) applicationDidUpdate: (NSNotification*)aNotification;
- - -
-

applicationOpenUntitledFile:

-- (BOOL) applicationOpenUntitledFile: (NSApplication*)theApplication;
- - -
-

applicationShouldOpenUntitledFile:

-- (BOOL) applicationShouldOpenUntitledFile: (NSApplication*)sender;
- - -
-

applicationShouldTerminate:

-- (BOOL) applicationShouldTerminate: (NSApplication*)sender;
- - -
-

applicationShouldTerminateAfterLastWindowClosed:

-- (BOOL) applicationShouldTerminateAfterLastWindowClosed: (NSApplication*)theApplication;
- - -
-

applicationWillBecomeActive:

-- (void) applicationWillBecomeActive: (NSNotification*)aNotification;
- - -
-

applicationWillFinishLaunching:

-- (void) applicationWillFinishLaunching: (NSNotification*)aNotification;
- - -
-

applicationWillHide:

-- (void) applicationWillHide: (NSNotification*)aNotification;
- - -
-

applicationWillTerminate:

-- (void) applicationWillTerminate: (NSNotification*)aNotification;
- - -
-

applicationWillResignActive:

-- (void) applicationWillResignActive: (NSNotification*)aNotification;
- - -
-

applicationWillUnhide:

-- (void) applicationWillUnhide: (NSNotification*)aNotification;
- - -
-

applicationWillUpdate:

-- (void) applicationWillUpdate: (NSNotification*)aNotification;
- - -
- - - + + + NSApplication + + +

NSApplication

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
Richard Frith-Macdonald( + richard@brainstorm.co.uk + )
+
+
+
+
+The one and only application class
+

Copyright: (C) 1996,1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSApplication class +

+

NSApplication : NSResponder

+ Declared: AppKit/NSApplication.h
+ Conform: NSCoding
+

+ +

+

detachDrawingThread:toTarget:withObject:

+ + (void) detachDrawingThread: (SEL)selector toTarget: (id)target withObject: (id)argument;
+

+ +

+
+

sharedApplication

+ + (NSApplication*) sharedApplication;
+

+ +

+
+

abortModal

+ - (void) abortModal;
+

+ +

+
+

activateIgnoringOtherApps:

+ - (void) activateIgnoringOtherApps: (BOOL)flag;
+

+ +

+
+

addWindowsItem:title:filename:

+ - (void) addWindowsItem: (NSWindow*)aWindow title: (NSString*)aString filename: (BOOL)isFilename;
+

+ +

+
+

applicationIconImage

+ - (NSImage*) applicationIconImage;
+

+ +

+
+

arrangeInFront:

+ - (void) arrangeInFront: (id)sender;
+

+ +

+
+

beginModalSessionForWindow:

+ - (NSModalSession) beginModalSessionForWindow: (NSWindow*)theWindow;
+

+ +

+
+

beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:

+ - (void) beginSheet: (NSWindow*)sheet modalForWindow: (NSWindow*)docWindow modalDelegate: (id)modalDelegate didEndSelector: (SEL)didEndSelector contextInfo: (void*)contextInfo;
+

+ +

+
+

changeWindowsItem:title:filename:

+ - (void) changeWindowsItem: (NSWindow*)aWindow title: (NSString*)aString filename: (BOOL)isFilename;
+

+ +

+
+

context

+ - (NSGraphicsContext*) context;
+

+ +

+
+

currentEvent

+ - (NSEvent*) currentEvent;
+

+ +

+
+

deactivate

+ - (void) deactivate;
+

+ +

+
+

delegate

+ - (id) delegate;
+

+ +

+
+

discardEventsMatchingMask:beforeEvent:

+ - (void) discardEventsMatchingMask: (unsigned int)mask beforeEvent: (NSEvent*)lastEvent;
+

+ +

+
+

encodeWithCoder:

+ - (void) encodeWithCoder: (NSCoder*)aCoder;
+

+ +

+
+

endModalSession:

+ - (void) endModalSession: (NSModalSession)theSession;
+

+ +

+
+

endSheet:

+ - (void) endSheet: (NSWindow*)sheet;
+

+ +

+
+

endSheet:returnCode:

+ - (void) endSheet: (NSWindow*)sheet returnCode: (int)returnCode;
+

+ +

+
+

finishLaunching

+ - (void) finishLaunching;
+

+ +

+
+

hide:

+ - (void) hide: (id)sender;
+

+ +

+
+

hideOtherApplications:

+ - (void) hideOtherApplications: (id)sender;
+

+ +

+
+

initWithCoder:

+ - (id) initWithCoder: (NSCoder*)aDecoder;
+

+ +

+
+

isActive

+ - (BOOL) isActive;
+

+ +

+
+

isHidden

+ - (BOOL) isHidden;
+

+ +

+
+

isRunning

+ - (BOOL) isRunning;
+

+ +

+
+

keyWindow

+ - (NSWindow*) keyWindow;
+

+ +

+
+

mainMenu

+ - (NSMenu*) mainMenu;
+

+ +

+
+

mainWindow

+ - (NSWindow*) mainWindow;
+

+ +

+
+

makeWindowsPerform:inOrder:

+ - (NSWindow*) makeWindowsPerform: (SEL)aSelector inOrder: (BOOL)flag;
+

+ +

+
+

miniaturizeAll:

+ - (void) miniaturizeAll: (id)sender;
+

+ +

+
+

modalWindow

+ - (NSWindow*) modalWindow;
+

+ +

+
+

nextEventMatchingMask:untilDate:inMode:dequeue:

+ - (NSEvent*) nextEventMatchingMask: (unsigned int)mask untilDate: (NSDate*)expiration inMode: (NSString*)mode dequeue: (BOOL)flag;
+

+ +

+
+

orderFrontColorPanel:

+ - (void) orderFrontColorPanel: (id)sender;
+

+ +

+
+

orderFrontDataLinkPanel:

+ - (void) orderFrontDataLinkPanel: (id)sender;
+

+ +

+
+

orderFrontHelpPanel:

+ - (void) orderFrontHelpPanel: (id)sender;
+

+ +

+
+

orderFrontStandardAboutPanel:

+ - (void) orderFrontStandardAboutPanel: (id)sender;
+

+ +

+
+

orderFrontStandardAboutPanelWithOptions:

+ - (void) orderFrontStandardAboutPanelWithOptions: (NSDictionary*)options;
+

+ +

+
+

orderFrontStandardInfoPanel:

+ - (void) orderFrontStandardInfoPanel: (id)sender;
+

+ +

+
+

orderFrontStandardInfoPanelWithOptions:

+ - (void) orderFrontStandardInfoPanelWithOptions: (NSDictionary*)options;
+

+ +

+
+

postEvent:atStart:

+ - (void) postEvent: (NSEvent*)event atStart: (BOOL)flag;
+

+ +

+
+

preventWindowOrdering

+ - (void) preventWindowOrdering;
+

+ +

+
+

registerServicesMenuSendTypes:returnTypes:

+ - (void) registerServicesMenuSendTypes: (NSArray*)sendTypes returnTypes: (NSArray*)returnTypes;
+

+ +

+
+

removeWindowsItem:

+ - (void) removeWindowsItem: (NSWindow*)aWindow;
+

+ +

+
+

reportException:

+ - (void) reportException: (NSException*)anException;
+

+ +

+
+

run

+ - (void) run;
+

+ +

+
+

runModalForWindow:

+ - (int) runModalForWindow: (NSWindow*)theWindow;
+

+ +

+
+

runModalForWindow:relativeToWindow:

+ - (int) runModalForWindow: (NSWindow*)theWindow relativeToWindow: (NSWindow*)docWindow;
+

+ +

+
+

runModalSession:

+ - (int) runModalSession: (NSModalSession)theSession;
+

+ +

+
+

runPageLayout:

+ - (void) runPageLayout: (id)sender;
+

+ +

+
+

sendAction:to:from:

+ - (BOOL) sendAction: (SEL)aSelector to: (id)aTarget from: (id)sender;
+

+ +

+
+

sendEvent:

+ - (void) sendEvent: (NSEvent*)theEvent;
+

+ +

+
+

servicesMenu

+ - (NSMenu*) servicesMenu;
+

+ +

+
+

servicesProvider

+ - (id) servicesProvider;
+

+ +

+
+

setAppleMenu:

+ - (void) setAppleMenu: (NSMenu*)aMenu;
+

+ +

+
+

setApplicationIconImage:

+ - (void) setApplicationIconImage: (NSImage*)anImage;
+

+ +

+
+

setDelegate:

+ - (void) setDelegate: (id)anObject;
+

+ +

+
+

setMainMenu:

+ - (void) setMainMenu: (NSMenu*)aMenu;
+

+ +

+
+

setServicesMenu:

+ - (void) setServicesMenu: (NSMenu*)aMenu;
+

+ +

+
+

setServicesProvider:

+ - (void) setServicesProvider: (id)anObject;
+

+ +

+
+

setWindowsMenu:

+ - (void) setWindowsMenu: (NSMenu*)aMenu;
+

+ +

+
+

setWindowsNeedUpdate:

+ - (void) setWindowsNeedUpdate: (BOOL)flag;
+

+ +

+
+

stop:

+ - (void) stop: (id)sender;
+

+ +

+
+

stopModal

+ - (void) stopModal;
+

+ +

+
+

stopModalWithCode:

+ - (void) stopModalWithCode: (int)returnCode;
+

+ +

+
+

targetForAction:

+ - (id) targetForAction: (SEL)aSelector;
+

+ +

+
+

targetForAction:to:from:

+ - (id) targetForAction: (SEL)theAction to: (id)theTarget from: (id)sender;
+

+ +

+
+

terminate:

+ - (void) terminate: (id)sender;
+

+ +

+
+

tryToPerform:with:

+ - (BOOL) tryToPerform: (SEL)aSelector with: (id)anObject;
+

+ +

+
+

unhide:

+ - (void) unhide: (id)sender;
+

+ +

+
+

unhideAllApplications:

+ - (void) unhideAllApplications: (id)sender;
+

+ +

+
+

unhideWithoutActivation

+ - (void) unhideWithoutActivation;
+

+ +

+
+

updateWindows

+ - (void) updateWindows;
+

+ +

+
+

updateWindowsItem:

+ - (void) updateWindowsItem: (NSWindow*)aWindow;
+

+ +

+
+

validRequestorForSendType:returnType:

+ - (id) validRequestorForSendType: (NSString*)sendType returnType: (NSString*)returnType;
+

+ +

+
+

windowWithWindowNumber:

+ - (NSWindow*) windowWithWindowNumber: (int)windowNum;
+

+ +

+
+

windows

+ - (NSArray*) windows;
+

+ +

+
+

windowsMenu

+ - (NSMenu*) windowsMenu;
+

+ +

+
+

+ Software documentation for the + NSObject(NSServicesRequests) + category +

+

NSObject(NSServicesRequests)

+ Declared: AppKit/NSApplication.h
+

+ +

+

iconWindow

+ - (NSWindow*) iconWindow;
+

+ +

+
+

readSelectionFromPasteboard:

+ - (BOOL) readSelectionFromPasteboard: (NSPasteboard*)pboard;
+

+ +

+
+

writeSelectionToPasteboard:types:

+ - (BOOL) writeSelectionToPasteboard: (NSPasteboard*)pboard types: (NSArray*)types;
+

+ +

+
+

+ Software documentation for the GSAppDelegateProtocol + protocol +

+

GSAppDelegateProtocol

+ Declared: AppKit/NSApplication.h
+

+ +

+

application:openFile:

+ - (BOOL) application: (NSApplication*)app openFile: (NSString*)filename;
+

+ +

+
+

application:openFileWithoutUI:

+ - (BOOL) application: (NSApplication*)app openFileWithoutUI: (NSString*)filename;
+

+ +

+
+

application:openTempFile:

+ - (BOOL) application: (NSApplication*)app openTempFile: (NSString*)filename;
+

+ +

+
+

application:printFile:

+ - (BOOL) application: (NSApplication*)theApplication printFile: (NSString*)filename;
+

+ +

+
+

applicationDidBecomeActive:

+ - (void) applicationDidBecomeActive: (NSNotification*)aNotification;
+

+ +

+
+

applicationDidFinishLaunching:

+ - (void) applicationDidFinishLaunching: (NSNotification*)aNotification;
+

+ +

+
+

applicationDidHide:

+ - (void) applicationDidHide: (NSNotification*)aNotification;
+

+ +

+
+

applicationDidResignActive:

+ - (void) applicationDidResignActive: (NSNotification*)aNotification;
+

+ +

+
+

applicationDidUnhide:

+ - (void) applicationDidUnhide: (NSNotification*)aNotification;
+

+ +

+
+

applicationDidUpdate:

+ - (void) applicationDidUpdate: (NSNotification*)aNotification;
+

+ +

+
+

applicationOpenUntitledFile:

+ - (BOOL) applicationOpenUntitledFile: (NSApplication*)app;
+

+ +

+
+

applicationShouldOpenUntitledFile:

+ - (BOOL) applicationShouldOpenUntitledFile: (NSApplication*)sender;
+

+ +

+
+

applicationShouldTerminate:

+ - (BOOL) applicationShouldTerminate: (id)sender;
+

+ +

+
+

applicationShouldTerminateAfterLastWindowClosed:

+ - (BOOL) applicationShouldTerminateAfterLastWindowClosed: (id)sender;
+

+ +

+
+

applicationWillBecomeActive:

+ - (void) applicationWillBecomeActive: (NSNotification*)aNotification;
+

+ +

+
+

applicationWillFinishLaunching:

+ - (void) applicationWillFinishLaunching: (NSNotification*)aNotification;
+

+ +

+
+

applicationWillHide:

+ - (void) applicationWillHide: (NSNotification*)aNotification;
+

+ +

+
+

applicationWillResignActive:

+ - (void) applicationWillResignActive: (NSNotification*)aNotification;
+

+ +

+
+

applicationWillTerminate:

+ - (void) applicationWillTerminate: (NSNotification*)aNotification;
+

+ +

+
+

applicationWillUnhide:

+ - (void) applicationWillUnhide: (NSNotification*)aNotification;
+

+ +

+
+

applicationWillUpdate:

+ - (void) applicationWillUpdate: (NSNotification*)aNotification;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSBezierPath.gsdoc b/Documentation/gsdoc/NSBezierPath.gsdoc index 81595dd52..95e7f3c4d 100644 --- a/Documentation/gsdoc/NSBezierPath.gsdoc +++ b/Documentation/gsdoc/NSBezierPath.gsdoc @@ -1,28 +1,38 @@ - - + + - NSBezierPath - - - + NSBezierPath.m + + + enrico@imago.ro + - $Revision$ - $Date$ + The NSBezierPath class + 1999 Free Software Foundation, Inc. - NSBezierPath + + Software documentation for the NSBezierPath class + - Gui/NSBezierPath.h + AppKit/NSBezierPath.h + NSCopying NSCoding - - + + bezierPath + + bezierPathWithOvalInRect: + rect + + + bezierPathWithRect: aRect @@ -35,9 +45,41 @@ + + defaultFlatness + + + + + defaultLineCapStyle + + + + + defaultLineJoinStyle + + + + + defaultLineWidth + + + + + defaultMiterLimit + + + + + defaultWindingRule + + + drawPackedGlyphs: - packedGlyphs + packedGlyphs + atPoint: + aPoint @@ -48,41 +90,41 @@ - setFlatness: + setDefaultFlatness: flatness - setHalftonePhase: - aPoint + setDefaultLineCapStyle: + lineCapStyle - setLineCapStyle: - lineCap - - - - - setLineJoinStyle: + setDefaultLineJoinStyle: lineJoinStyle - setLineWidth: - width + setDefaultLineWidth: + lineWidth - setMiterLimit: + setDefaultMiterLimit: limit + + setDefaultWindingRule: + windingRule + + + strokeLineFromPoint: point1 @@ -108,6 +150,16 @@ + + appendBezierPathWithArcFromPoint: + point1 + toPoint: + point2 + radius: + radius + + + appendBezierPathWithArcWithCenter: center @@ -115,12 +167,30 @@ radius startAngle: startAngle + endAngle: + endAngle + + + + + appendBezierPathWithArcWithCenter: + center + radius: + radius + startAngle: + startAngle + endAngle: + endAngle + clockwise: + clockwise appendBezierPathWithGlyph: - aGlyph + glyph + inFont: + font @@ -130,7 +200,7 @@ count: count inFont: - fontObj + font @@ -142,19 +212,31 @@ appendBezierPathWithPackedGlyphs: - packedGlyphs + packedGlyphs appendBezierPathWithPoints: points + count: + count appendBezierPathWithRect: - aRect + rect + + + + + bezierPathByFlatteningPath + + + + + bezierPathByReversingPath @@ -173,6 +255,12 @@ + + containsPoint: + point + + + controlPointBounds @@ -188,6 +276,22 @@ aPoint controlPoint1: controlPoint1 + controlPoint2: + controlPoint2 + + + + + elementAtIndex: + index + + + + + elementAtIndex: + index + associatedPoints: + points @@ -196,58 +300,38 @@ - - elementTypeAtIndex: - index - - - - - elementTypeAtIndex: - index - associatedPoints: - points - - - fill - - isHitByPath: - aBezierPath + + flatness + + + + + getLineDash: + pattern + count: + count + phase: + phase - isHitByPoint: - aPoint + isEmpty - - isHitByRect: - aRect + + lineCapStyle - - isStrokeHitByPath: - aBezierPath - - - - - isStrokeHitByPoint: - aPoint - - - - - isStrokeHitByRect: - aRect + + lineJoinStyle @@ -257,40 +341,29 @@ + + lineWidth + + + + + miterLimit + + + moveToPoint: aPoint - - pathElementIndexForPointIndex: - index - - - - - pointAtIndex: - index - - - - - pointCount - - - - - pointIndexForPathElementIndex: - index - - - relativeCurveToPoint: aPoint controlPoint1: controlPoint1 + controlPoint2: + controlPoint2 @@ -307,12 +380,15 @@ - removeLastElement + removeAllPoints - reset + setAssociatedPoints: + points + atIndex: + index @@ -328,16 +404,48 @@ - setPointAtIndex: - index - toPoint: - aPoint + setFlatness: + flatness + + + + + setLineCapStyle: + lineCapStyle + + + + + setLineDash: + pattern + count: + count + phase: + phase + + + + + setLineJoinStyle: + lineJoinStyle + + + + + setLineWidth: + lineWidth + + + + + setMiterLimit: + limit setWindingRule: - aWindingRule + windingRule @@ -346,6 +454,12 @@ + + transformUsingAffineTransform: + transform + + + windingRule diff --git a/Documentation/gsdoc/NSBezierPath.html b/Documentation/gsdoc/NSBezierPath.html index b945a1ceb..e2100db56 100644 --- a/Documentation/gsdoc/NSBezierPath.html +++ b/Documentation/gsdoc/NSBezierPath.html @@ -1,365 +1,449 @@ - - NSBezierPath - - -[Previous] -[Up] -[Next] -

NSBezierPath

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSBezierPath

-

NSBezierPath

-

Declared in: Gui/NSBezierPath.h

-

Inherits from: NSObject

-

Conforms to: NSCoding -

-
+ + + NSBezierPath.m + + +

NSBezierPath.m

+

Authors

+
+
Enrico Sersale( + enrico@imago.ro + )
+
+
+
+
+The NSBezierPath class
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSBezierPath class +

+

NSBezierPath : NSObject

+ Declared: AppKit/NSBezierPath.h
+ Conform: NSCopying
+ Conform: NSCoding
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

bezierPath

-+ (NSBezierPath*) bezierPath;
+

+

bezierPath

+ + (NSBezierPath*) bezierPath;
+

- -


-

bezierPathWithRect:

-+ (NSBezierPath*) bezierPathWithRect: (NSRect)aRect;
+

+
+

bezierPathWithOvalInRect:

+ + (NSBezierPath*) bezierPathWithOvalInRect: (NSRect)rect;
+

- -


-

clipRect:

-+ (void) clipRect: (NSRect)aRect;
+

+
+

bezierPathWithRect:

+ + (NSBezierPath*) bezierPathWithRect: (NSRect)aRect;
+

- -


-

drawPackedGlyphs:

-+ (void) drawPackedGlyphs: (constchar*)packedGlyphs;
+

+
+

clipRect:

+ + (void) clipRect: (NSRect)aRect;
+

- -


-

fillRect:

-+ (void) fillRect: (NSRect)aRect;
+

+
+

defaultFlatness

+ + (float) defaultFlatness;
+

- -


-

setFlatness:

-+ (void) setFlatness: (float)flatness;
+

+
+

defaultLineCapStyle

+ + (NSLineCapStyle) defaultLineCapStyle;
+

- -


-

setHalftonePhase:

-+ (void) setHalftonePhase: (NSPoint)aPoint;
+

+
+

defaultLineJoinStyle

+ + (NSLineJoinStyle) defaultLineJoinStyle;
+

- -


-

setLineCapStyle:

-+ (void) setLineCapStyle: (NSLineCapStyle)lineCap;
+

+
+

defaultLineWidth

+ + (float) defaultLineWidth;
+

- -


-

setLineJoinStyle:

-+ (void) setLineJoinStyle: (NSLineJoinStyle)lineJoinStyle;
+

+
+

defaultMiterLimit

+ + (float) defaultMiterLimit;
+

- -


-

setLineWidth:

-+ (void) setLineWidth: (float)width;
+

+
+

defaultWindingRule

+ + (NSWindingRule) defaultWindingRule;
+

- -


-

setMiterLimit:

-+ (void) setMiterLimit: (float)limit;
+

+
+

drawPackedGlyphs:atPoint:

+ + (void) drawPackedGlyphs: (const char*)packedGlyphs atPoint: (NSPoint)aPoint;
+

- -


-

strokeLineFromPoint:toPoint:

-+ (void) strokeLineFromPoint: (NSPoint)point1 toPoint: (NSPoint)point2;
+

+
+

fillRect:

+ + (void) fillRect: (NSRect)aRect;
+

- -


-

strokeRect:

-+ (void) strokeRect: (NSRect)aRect;
+

+
+

setDefaultFlatness:

+ + (void) setDefaultFlatness: (float)flatness;
+

- -


-

Instances Methods

-

addClip

-- (void) addClip;
+

+
+

setDefaultLineCapStyle:

+ + (void) setDefaultLineCapStyle: (NSLineCapStyle)lineCapStyle;
+

- -


-

appendBezierPath:

-- (void) appendBezierPath: (NSBezierPath*)aPath;
+

+
+

setDefaultLineJoinStyle:

+ + (void) setDefaultLineJoinStyle: (NSLineJoinStyle)lineJoinStyle;
+

- -


-

appendBezierPathWithArcWithCenter:radius:startAngle:

-- (void) appendBezierPathWithArcWithCenter: (NSPoint)center radius: (float)radius startAngle: (float)startAngle;
+

+
+

setDefaultLineWidth:

+ + (void) setDefaultLineWidth: (float)lineWidth;
+

- -


-

appendBezierPathWithGlyph:

-- (void) appendBezierPathWithGlyph: (NSGlyph)aGlyph;
+

+
+

setDefaultMiterLimit:

+ + (void) setDefaultMiterLimit: (float)limit;
+

- -


-

appendBezierPathWithGlyphs:count:inFont:

-- (void) appendBezierPathWithGlyphs: (NSGlyph*)glyphs count: (int)count inFont: (NSFont*)fontObj;
+

+
+

setDefaultWindingRule:

+ + (void) setDefaultWindingRule: (NSWindingRule)windingRule;
+

- -


-

appendBezierPathWithOvalInRect:

-- (void) appendBezierPathWithOvalInRect: (NSRect)aRect;
+

+
+

strokeLineFromPoint:toPoint:

+ + (void) strokeLineFromPoint: (NSPoint)point1 toPoint: (NSPoint)point2;
+

- -


-

appendBezierPathWithPackedGlyphs:

-- (void) appendBezierPathWithPackedGlyphs: (constchar*)packedGlyphs;
+

+
+

strokeRect:

+ + (void) strokeRect: (NSRect)aRect;
+

- -


-

appendBezierPathWithPoints:

-- (void) appendBezierPathWithPoints: (NSPoint*)points;
+

+
+

addClip

+ - (void) addClip;
+

- -


-

appendBezierPathWithRect:

-- (void) appendBezierPathWithRect: (NSRect)aRect;
+

+
+

appendBezierPath:

+ - (void) appendBezierPath: (NSBezierPath*)aPath;
+

- -


-

bounds

-- (NSRect) bounds;
+

+
+

appendBezierPathWithArcFromPoint:toPoint:radius:

+ - (void) appendBezierPathWithArcFromPoint: (NSPoint)point1 toPoint: (NSPoint)point2 radius: (float)radius;
+

- -


-

cachesBezierPath

-- (BOOL) cachesBezierPath;
+

+
+

appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:

+ - (void) appendBezierPathWithArcWithCenter: (NSPoint)center radius: (float)radius startAngle: (float)startAngle endAngle: (float)endAngle;
+

- -


-

closePath

-- (void) closePath;
+

+
+

appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:clockwise:

+ - (void) appendBezierPathWithArcWithCenter: (NSPoint)center radius: (float)radius startAngle: (float)startAngle endAngle: (float)endAngle clockwise: (BOOL)clockwise;
+

- -


-

controlPointBounds

-- (NSRect) controlPointBounds;
+

+
+

appendBezierPathWithGlyph:inFont:

+ - (void) appendBezierPathWithGlyph: (NSGlyph)glyph inFont: (NSFont*)font;
+

- -


-

currentPoint

-- (NSPoint) currentPoint;
+

+
+

appendBezierPathWithGlyphs:count:inFont:

+ - (void) appendBezierPathWithGlyphs: (NSGlyph*)glyphs count: (int)count inFont: (NSFont*)font;
+

- -


-

curveToPoint:controlPoint1:

-- (void) curveToPoint: (NSPoint)aPoint controlPoint1: (NSPoint)controlPoint1;
+

+
+

appendBezierPathWithOvalInRect:

+ - (void) appendBezierPathWithOvalInRect: (NSRect)aRect;
+

- -


-

elementCount

-- (int) elementCount;
+

+
+

appendBezierPathWithPackedGlyphs:

+ - (void) appendBezierPathWithPackedGlyphs: (const char*)packedGlyphs;
+

- -


-

elementTypeAtIndex:

-- (NSBezierPathElementType) elementTypeAtIndex: (int)index;
+

+
+

appendBezierPathWithPoints:count:

+ - (void) appendBezierPathWithPoints: (NSPoint*)points count: (int)count;
+

- -


-

elementTypeAtIndex:associatedPoints:

-- (NSBezierPathElementType) elementTypeAtIndex: (int)index associatedPoints: (NSPoint*)points;
+

+
+

appendBezierPathWithRect:

+ - (void) appendBezierPathWithRect: (NSRect)rect;
+

- -


-

fill

-- (void) fill;
+

+
+

bezierPathByFlatteningPath

+ - (NSBezierPath*) bezierPathByFlatteningPath;
+

- -


-

isHitByPath:

-- (BOOL) isHitByPath: (NSBezierPath*)aBezierPath;
+

+
+

bezierPathByReversingPath

+ - (NSBezierPath*) bezierPathByReversingPath;
+

- -


-

isHitByPoint:

-- (BOOL) isHitByPoint: (NSPoint)aPoint;
+

+
+

bounds

+ - (NSRect) bounds;
+

- -


-

isHitByRect:

-- (BOOL) isHitByRect: (NSRect)aRect;
+

+
+

cachesBezierPath

+ - (BOOL) cachesBezierPath;
+

- -


-

isStrokeHitByPath:

-- (BOOL) isStrokeHitByPath: (NSBezierpath*)aBezierPath;
+

+
+

closePath

+ - (void) closePath;
+

- -


-

isStrokeHitByPoint:

-- (BOOL) isStrokeHitByPoint: (NSPoint)aPoint;
+

+
+

containsPoint:

+ - (BOOL) containsPoint: (NSPoint)point;
+

- -


-

isStrokeHitByRect:

-- (BOOL) isStrokeHitByRect: (NSRect)aRect;
+

+
+

controlPointBounds

+ - (NSRect) controlPointBounds;
+

- -


-

lineToPoint:

-- (void) lineToPoint: (NSPoint)aPoint;
+

+
+

currentPoint

+ - (NSPoint) currentPoint;
+

- -


-

moveToPoint:

-- (void) moveToPoint: (NSPoint)aPoint;
+

+
+

curveToPoint:controlPoint1:controlPoint2:

+ - (void) curveToPoint: (NSPoint)aPoint controlPoint1: (NSPoint)controlPoint1 controlPoint2: (NSPoint)controlPoint2;
+

- -


-

pathElementIndexForPointIndex:

-- (int) pathElementIndexForPointIndex: (int)index;
+

+
+

elementAtIndex:

+ - (NSBezierPathElement) elementAtIndex: (int)index;
+

- -


-

pointAtIndex:

-- (NSPoint) pointAtIndex: (int)index;
+

+
+

elementAtIndex:associatedPoints:

+ - (NSBezierPathElement) elementAtIndex: (int)index associatedPoints: (NSPoint*)points;
+

- -


-

pointCount

-- (int) pointCount;
+

+
+

elementCount

+ - (int) elementCount;
+

- -


-

pointIndexForPathElementIndex:

-- (int) pointIndexForPathElementIndex: (int)index;
+

+
+

fill

+ - (void) fill;
+

- -


-

relativeCurveToPoint:controlPoint1:

-- (void) relativeCurveToPoint: (NSPoint)aPoint controlPoint1: (NSPoint)controlPoint1;
+

+
+

flatness

+ - (float) flatness;
+

- -


-

relativeLineToPoint:

-- (void) relativeLineToPoint: (NSPoint)aPoint;
+

+
+

getLineDash:count:phase:

+ - (void) getLineDash: (float*)pattern count: (int*)count phase: (float*)phase;
+

- -


-

relativeMoveToPoint:

-- (void) relativeMoveToPoint: (NSPoint)aPoint;
+

+
+

isEmpty

+ - (BOOL) isEmpty;
+

- -


-

removeLastElement

-- (void) removeLastElement;
+

+
+

lineCapStyle

+ - (NSLineCapStyle) lineCapStyle;
+

- -


-

reset

-- (void) reset;
+

+
+

lineJoinStyle

+ - (NSLineJoinStyle) lineJoinStyle;
+

- -


-

setCachesBezierPath:

-- (void) setCachesBezierPath: (BOOL)flag;
+

+
+

lineToPoint:

+ - (void) lineToPoint: (NSPoint)aPoint;
+

- -


-

setClip

-- (void) setClip;
+

+
+

lineWidth

+ - (float) lineWidth;
+

- -


-

setPointAtIndex:toPoint:

-- (void) setPointAtIndex: (int)index toPoint: (NSPoint)aPoint;
+

+
+

miterLimit

+ - (float) miterLimit;
+

- -


-

setWindingRule:

-- (void) setWindingRule: (NSWindingRule)aWindingRule;
+

+
+

moveToPoint:

+ - (void) moveToPoint: (NSPoint)aPoint;
+

- -


-

stroke

-- (void) stroke;
+

+
+

relativeCurveToPoint:controlPoint1:controlPoint2:

+ - (void) relativeCurveToPoint: (NSPoint)aPoint controlPoint1: (NSPoint)controlPoint1 controlPoint2: (NSPoint)controlPoint2;
+

- -


-

windingRule

-- (NSWindingRule) windingRule;
+

+
+

relativeLineToPoint:

+ - (void) relativeLineToPoint: (NSPoint)aPoint;
+

- -


- - - +

+
+

relativeMoveToPoint:

+ - (void) relativeMoveToPoint: (NSPoint)aPoint;
+

+ +

+
+

removeAllPoints

+ - (void) removeAllPoints;
+

+ +

+
+

setAssociatedPoints:atIndex:

+ - (void) setAssociatedPoints: (NSPoint*)points atIndex: (int)index;
+

+ +

+
+

setCachesBezierPath:

+ - (void) setCachesBezierPath: (BOOL)flag;
+

+ +

+
+

setClip

+ - (void) setClip;
+

+ +

+
+

setFlatness:

+ - (void) setFlatness: (float)flatness;
+

+ +

+
+

setLineCapStyle:

+ - (void) setLineCapStyle: (NSLineCapStyle)lineCapStyle;
+

+ +

+
+

setLineDash:count:phase:

+ - (void) setLineDash: (const float*)pattern count: (int)count phase: (float)phase;
+

+ +

+
+

setLineJoinStyle:

+ - (void) setLineJoinStyle: (NSLineJoinStyle)lineJoinStyle;
+

+ +

+
+

setLineWidth:

+ - (void) setLineWidth: (float)lineWidth;
+

+ +

+
+

setMiterLimit:

+ - (void) setMiterLimit: (float)limit;
+

+ +

+
+

setWindingRule:

+ - (void) setWindingRule: (NSWindingRule)windingRule;
+

+ +

+
+

stroke

+ - (void) stroke;
+

+ +

+
+

transformUsingAffineTransform:

+ - (void) transformUsingAffineTransform: (NSAffineTransform*)transform;
+

+ +

+
+

windingRule

+ - (NSWindingRule) windingRule;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSBitmapImageRep.gsdoc b/Documentation/gsdoc/NSBitmapImageRep.gsdoc index e9980998f..8ee4c24c0 100644 --- a/Documentation/gsdoc/NSBitmapImageRep.gsdoc +++ b/Documentation/gsdoc/NSBitmapImageRep.gsdoc @@ -1,60 +1,87 @@ - - + + - NSBitmapImageRep - - - + NSBitmapImageRep.m + + + fedor@gnu.org + - $Revision$ - $Date$ + Bitmap image representation. + 1996 Free Software Foundation, Inc. - NSBitmapImageRep + + Software documentation for the NSBitmapImageRep class + - Gui/NSImage.h - NSCoding + AppKit/NSBitmapImageRep.h + + + + TIFFRepresentationOfImageRepsInArray: + anArray + + + TIFFRepresentationOfImageRepsInArray: + anArray + usingCompression: + type + factor: + factor + + + getTIFFCompressionTypes: - list + list count: numTypes - - imageRepsWithData: - bitmapData + + imageRepWithData: + tiffData - - imageRepWithData: - bitmapData + + imageRepsWithData: + tiffData localizedNameForTIFFCompressionType: - compression + type - TIFFRepresentationOfImageRepsInArray: - array + representationOfImageRepsInArray: + imageReps + usingType: + storageType + properties: + properties - - TIFFRepresentationOfImageRepsInArray: - array - usingCompression: - compression + + TIFFRepresentation + + + + + TIFFRepresentationUsingCompression: + type + factor: + factor @@ -80,7 +107,19 @@ canBeCompressedUsing: - compression + type + + + + + colorizeByMappingGray: + midPoint + toColor: + midPointColor + blackMapping: + shadowColor + whiteMapping: + lightColor @@ -92,7 +131,9 @@ getCompression: - compression + type + factor: + factor @@ -128,7 +169,7 @@ initWithData: - bitmapData + tiffData @@ -154,6 +195,14 @@
+ + representationUsingType: + storageType + properties: + properties + + + samplesPerPixel @@ -161,24 +210,45 @@ setCompression: - compression - - - - - TIFFRepresentation - - - - - TIFFRepresentationUsingCompression: - comp + type factor: factor + + setProperty: + property + withValue: + value + + + + + valueForProperty: + property + + +
+ + + Software documentation for the + NSBitmapImageRep(GNUstepExtension) + category + + + AppKit/NSBitmapImageRep.h + + + + imageRepsWithFile: + filename + + + + +
diff --git a/Documentation/gsdoc/NSBitmapImageRep.html b/Documentation/gsdoc/NSBitmapImageRep.html index 34f0021ea..ba62f6b19 100644 --- a/Documentation/gsdoc/NSBitmapImageRep.html +++ b/Documentation/gsdoc/NSBitmapImageRep.html @@ -1,179 +1,217 @@ - - NSBitmapImageRep - - -[Previous] -[Up] -[Next] -

NSBitmapImageRep

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSBitmapImageRep

-

NSBitmapImageRep

-

Declared in: Gui/NSImage.h

-

Inherits from: NSImageRep

-

Conforms to: NSCoding -

-
+ + + NSBitmapImageRep.m + + +

NSBitmapImageRep.m

+

Authors

+
+
Adam Fedor( + fedor@gnu.org + )
+
+
+
+
+Bitmap image representation.
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSBitmapImageRep class +

+

NSBitmapImageRep : NSImageRep

+ Declared: AppKit/NSBitmapImageRep.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

getTIFFCompressionTypes:count:

-+ (void) getTIFFCompressionTypes: (constNSTIFFCompression**)list count: (int*)numTypes;
+

+

TIFFRepresentationOfImageRepsInArray:

+ + (NSData*) TIFFRepresentationOfImageRepsInArray: (NSArray*)anArray;
+

- -


-

imageRepsWithData:

-+ (NSArray*) imageRepsWithData: (NSData*)bitmapData;
+

+
+

TIFFRepresentationOfImageRepsInArray:usingCompression:factor:

+ + (NSData*) TIFFRepresentationOfImageRepsInArray: (NSArray*)anArray usingCompression: (NSTIFFCompression)type factor: (float)factor;
+

- -


-

imageRepWithData:

-+ (id) imageRepWithData: (NSData*)bitmapData;
+

+
+

getTIFFCompressionTypes:count:

+ + (void) getTIFFCompressionTypes: (const NSTIFFCompression**)list count: (int*)numTypes;
+

- -


-

localizedNameForTIFFCompressionType:

-+ (NSString*) localizedNameForTIFFCompressionType: (NSTIFFCompression)compression;
+

+
+

imageRepWithData:

+ + (id) imageRepWithData: (NSData*)tiffData;
+

- -


-

TIFFRepresentationOfImageRepsInArray:

-+ (NSData*) TIFFRepresentationOfImageRepsInArray: (NSArray*)array;
+

+
+

imageRepsWithData:

+ + (NSArray*) imageRepsWithData: (NSData*)tiffData;
+

- -


-

TIFFRepresentationOfImageRepsInArray:usingCompression:

-+ (NSData*) TIFFRepresentationOfImageRepsInArray: (NSArray*)array usingCompression: (NSTIFFCompression)compression;
+

+
+

localizedNameForTIFFCompressionType:

+ + (NSString*) localizedNameForTIFFCompressionType: (NSTIFFCompression)type;
+

- -


-

Instances Methods

-

bitmapData

-- (unsigned char*) bitmapData;
+

+
+

representationOfImageRepsInArray:usingType:properties:

+ + (NSData*) representationOfImageRepsInArray: (NSArray*)imageReps usingType: (NSBitmapImageFileType)storageType properties: (NSDictionary*)properties;
+

- -


-

bitsPerPixel

-- (int) bitsPerPixel;
+

+
+

TIFFRepresentation

+ - (NSData*) TIFFRepresentation;
+

- -


-

bytesPerPlane

-- (int) bytesPerPlane;
+

+
+

TIFFRepresentationUsingCompression:factor:

+ - (NSData*) TIFFRepresentationUsingCompression: (NSTIFFCompression)type factor: (float)factor;
+

- -


-

bytesPerRow

-- (int) bytesPerRow;
+

+
+

bitmapData

+ - (unsigned char*) bitmapData;
+

- -


-

canBeCompressedUsing:

-- (BOOL) canBeCompressedUsing: (NSTIFFCompression)compression;
+

+
+

bitsPerPixel

+ - (int) bitsPerPixel;
+

- -


-

getBitmapDataPlanes:

-- (void) getBitmapDataPlanes: (unsigned char**)data;
+

+
+

bytesPerPlane

+ - (int) bytesPerPlane;
+

- -


-

getCompression:

-- (void) getCompression: (NSTIFFCompression*)compression;
+

+
+

bytesPerRow

+ - (int) bytesPerRow;
+

- -


-

initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bytesPerRow:bitsPerPixel:

-- (id) initWithBitmapDataPlanes: (unsigned char**)planes pixelsWide: (int)width pixelsHigh: (int)height bitsPerSample: (int)bps samplesPerPixel: (int)spp hasAlpha: (BOOL)alpha isPlanar: (BOOL)isPlanar colorSpaceName: (NSString*)colorSpaceName bytesPerRow: (int)rowBytes bitsPerPixel: (int)pixelBits;
+

+
+

canBeCompressedUsing:

+ - (BOOL) canBeCompressedUsing: (NSTIFFCompression)type;
+

- -


-

initWithBitmapHandle:

-- (id) initWithBitmapHandle: (void*)bitmap;
+

+
+

colorizeByMappingGray:toColor:blackMapping:whiteMapping:

+ - (void) colorizeByMappingGray: (float)midPoint toColor: (NSColor*)midPointColor blackMapping: (NSColor*)shadowColor whiteMapping: (NSColor*)lightColor;
+

- -


-

initWithData:

-- (id) initWithData: (NSData*)bitmapData;
+

+
+

getBitmapDataPlanes:

+ - (void) getBitmapDataPlanes: (unsigned char**)data;
+

- -


-

initWithFocusedViewRect:

-- (id) initWithFocusedViewRect: (NSRect)rect;
+

+
+

getCompression:factor:

+ - (void) getCompression: (NSTIFFCompression*)type factor: (float*)factor;
+

- -


-

initWithIconHandle:

-- (id) initWithIconHandle: (void*)icon;
+

+
+

initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bytesPerRow:bitsPerPixel:

+ - (id) initWithBitmapDataPlanes: (unsigned char**)planes pixelsWide: (int)width pixelsHigh: (int)height bitsPerSample: (int)bps samplesPerPixel: (int)spp hasAlpha: (BOOL)alpha isPlanar: (BOOL)isPlanar colorSpaceName: (NSString*)colorSpaceName bytesPerRow: (int)rowBytes bitsPerPixel: (int)pixelBits;
+

- -


-

isPlanar

-- (BOOL) isPlanar;
+

+
+

initWithBitmapHandle:

+ - (id) initWithBitmapHandle: (void*)bitmap;
+

- -


-

numberOfPlanes

-- (int) numberOfPlanes;
+

+
+

initWithData:

+ - (id) initWithData: (NSData*)tiffData;
+

- -


-

samplesPerPixel

-- (int) samplesPerPixel;
+

+
+

initWithFocusedViewRect:

+ - (id) initWithFocusedViewRect: (NSRect)rect;
+

- -


-

setCompression:

-- (void) setCompression: (NSTIFFCompression)compression;
+

+
+

initWithIconHandle:

+ - (id) initWithIconHandle: (void*)icon;
+

- -


-

TIFFRepresentation

-- (NSData*) TIFFRepresentation;
+

+
+

isPlanar

+ - (BOOL) isPlanar;
+

- -


-

TIFFRepresentationUsingCompression:factor:

-- (NSData*) TIFFRepresentationUsingCompression: (NSTIFFCompression)comp factor: (float)factor;
+

+
+

numberOfPlanes

+ - (int) numberOfPlanes;
+

- -


- - - +

+
+

representationUsingType:properties:

+ - (NSData*) representationUsingType: (NSBitmapImageFileType)storageType properties: (NSDictionary*)properties;
+

+ +

+
+

samplesPerPixel

+ - (int) samplesPerPixel;
+

+ +

+
+

setCompression:factor:

+ - (void) setCompression: (NSTIFFCompression)type factor: (float)factor;
+

+ +

+
+

setProperty:withValue:

+ - (void) setProperty: (NSString*)property withValue: (id)value;
+

+ +

+
+

valueForProperty:

+ - (id) valueForProperty: (NSString*)property;
+

+ +

+
+

+ Software documentation for the + NSBitmapImageRep(GNUstepExtension) + category +

+

NSBitmapImageRep(GNUstepExtension)

+ Declared: AppKit/NSBitmapImageRep.h
+

+ +

+

imageRepsWithFile:

+ + (NSArray*) imageRepsWithFile: (NSString*)filename;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSBox.gsdoc b/Documentation/gsdoc/NSBox.gsdoc index 61d5c71ec..a676814a2 100644 --- a/Documentation/gsdoc/NSBox.gsdoc +++ b/Documentation/gsdoc/NSBox.gsdoc @@ -1,23 +1,28 @@ - - + + NSBox - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + Simple box view that can display a border and title + + 1996 Free Software Foundation, Inc. - NSBox + + Software documentation for the NSBox class + - Gui/NSBox.h + AppKit/NSBox.h NSCoding - - + + borderRect @@ -38,6 +43,11 @@ + + minimumSize + + + setBorderType: aType @@ -70,7 +80,7 @@ setTitleFont: - aFont + fontObj diff --git a/Documentation/gsdoc/NSBox.html b/Documentation/gsdoc/NSBox.html index ca2c764ee..feeb11f80 100644 --- a/Documentation/gsdoc/NSBox.html +++ b/Documentation/gsdoc/NSBox.html @@ -1,142 +1,144 @@ - - NSBox - - -[Previous] -[Up] -[Next] -

NSBox

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSBox

-

NSBox

-

Declared in: Gui/NSBox.h

-

Inherits from: NSView

-

Conforms to: NSCoding -

-
+ + + NSBox + + +

NSBox

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

borderRect

-- (NSRect) borderRect;
+ Simple box view that can display a border and title +
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSBox class +

+

NSBox : NSView

+ Declared: AppKit/NSBox.h
+ Conform: NSCoding
+

- -


-

borderType

-- (NSBorderType) borderType;
+

+

borderRect

+ - (NSRect) borderRect;
+

- -


-

contentView

-- (id) contentView;
+

+
+

borderType

+ - (NSBorderType) borderType;
+

- -


-

contentViewMargins

-- (NSSize) contentViewMargins;
+

+
+

contentView

+ - (id) contentView;
+

- -


-

setBorderType:

-- (void) setBorderType: (NSBorderType)aType;
+

+
+

contentViewMargins

+ - (NSSize) contentViewMargins;
+

- -


-

setContentView:

-- (void) setContentView: (NSView*)aView;
+

+
+

minimumSize

+ - (NSSize) minimumSize;
+

- -


-

setContentViewMargins:

-- (void) setContentViewMargins: (NSSize)offsetSize;
+

+
+

setBorderType:

+ - (void) setBorderType: (NSBorderType)aType;
+

- -


-

setFrameFromContentFrame:

-- (void) setFrameFromContentFrame: (NSRect)contentFrame;
+

+
+

setContentView:

+ - (void) setContentView: (NSView*)aView;
+

- -


-

setTitle:

-- (void) setTitle: (NSString*)aString;
+

+
+

setContentViewMargins:

+ - (void) setContentViewMargins: (NSSize)offsetSize;
+

- -


-

setTitleFont:

-- (void) setTitleFont: (NSFont*)aFont;
+

+
+

setFrameFromContentFrame:

+ - (void) setFrameFromContentFrame: (NSRect)contentFrame;
+

- -


-

setTitlePosition:

-- (void) setTitlePosition: (NSTitlePosition)aPosition;
+

+
+

setTitle:

+ - (void) setTitle: (NSString*)aString;
+

- -


-

setTitleWithMnemonic:

-- (void) setTitleWithMnemonic: (NSString*)aString;
+

+
+

setTitleFont:

+ - (void) setTitleFont: (NSFont*)fontObj;
+

- -


-

sizeToFit

-- (void) sizeToFit;
+

+
+

setTitlePosition:

+ - (void) setTitlePosition: (NSTitlePosition)aPosition;
+

- -


-

title

-- (NSString*) title;
+

+
+

setTitleWithMnemonic:

+ - (void) setTitleWithMnemonic: (NSString*)aString;
+

- -


-

titleCell

-- (id) titleCell;
+

+
+

sizeToFit

+ - (void) sizeToFit;
+

- -


-

titleFont

-- (NSFont*) titleFont;
+

+
+

title

+ - (NSString*) title;
+

- -


-

titlePosition

-- (NSTitlePosition) titlePosition;
+

+
+

titleCell

+ - (id) titleCell;
+

- -


-

titleRect

-- (NSRect) titleRect;
+

+
+

titleFont

+ - (NSFont*) titleFont;
+

- -


- - - +

+
+

titlePosition

+ - (NSTitlePosition) titlePosition;
+

+ +

+
+

titleRect

+ - (NSRect) titleRect;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSBrowser.gsdoc b/Documentation/gsdoc/NSBrowser.gsdoc index d3d2e83bd..376e37276 100644 --- a/Documentation/gsdoc/NSBrowser.gsdoc +++ b/Documentation/gsdoc/NSBrowser.gsdoc @@ -1,23 +1,43 @@ - - + + NSBrowser - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + far@ix.netcom.com + + + + + wolff@cybercable.fr + + + + + mirko.viviani@rccr.cremona.it + + + + Control to display and select from hierarchal lists + + 1996, 1997 Free Software Foundation, Inc. - NSBrowser + + Software documentation for the NSBrowser class + - Gui/NSBrowser.h + AppKit/NSBrowser.h NSCoding - - + + cellClass @@ -93,11 +113,21 @@ - drawTitleOfColumn: + drawTitle: + title + inRect: + aRect + ofColumn: column + + encodeWithCoder: + aCoder + + + firstVisibleColumn @@ -120,6 +150,12 @@ + + initWithCoder: + aDecoder + + + isLoaded @@ -169,7 +205,7 @@ - + minColumnWidth @@ -312,7 +348,7 @@ setCellClass: - factoryId + classId @@ -348,7 +384,7 @@ setMatrixClass: - factoryId + classId @@ -360,7 +396,7 @@ setMinColumnWidth: - columnWidth + columnWidth @@ -372,7 +408,7 @@ setPathSeparator: - newString + aString @@ -451,6 +487,52 @@ + + + + + Software documentation for the + NSBrowser(GNUstepExtensions) + category + + + AppKit/NSBrowser.h + + + + acceptsAlphaNumericalKeys + + + + + sendsActionOnAlphaNumericalKeys + + + + + setAcceptsAlphaNumericalKeys: + flag + + + + + setSendsActionOnAlphaNumericalKeys: + flag + + + + + + + + Software documentation for the + NSObject(NSBrowserDelegate) + category + + + AppKit/NSBrowser.h + + browser: sender @@ -529,7 +611,7 @@ -
+
diff --git a/Documentation/gsdoc/NSBrowser.html b/Documentation/gsdoc/NSBrowser.html index b11d84d22..3ebf0be04 100644 --- a/Documentation/gsdoc/NSBrowser.html +++ b/Documentation/gsdoc/NSBrowser.html @@ -1,551 +1,617 @@ - - NSBrowser - - -[Previous] -[Up] -[Next] -

NSBrowser

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSBrowser

-

NSBrowser

-

Declared in: Gui/NSBrowser.h

-

Inherits from: NSControl

-

Conforms to: NSCoding -

-
- - -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

cellClass

-+ (Class) cellClass;
- - -
-

Instances Methods

-

acceptsArrowKeys

-- (BOOL) acceptsArrowKeys;
- - -
-

addColumn

-- (void) addColumn;
- - -
-

allowsBranchSelection

-- (BOOL) allowsBranchSelection;
- - -
-

allowsEmptySelection

-- (BOOL) allowsEmptySelection;
- - -
-

allowsMultipleSelection

-- (BOOL) allowsMultipleSelection;
- - -
-

cellPrototype

-- (id) cellPrototype;
- - -
-

columnOfMatrix:

-- (int) columnOfMatrix: (NSMatrix*)matrix;
- - -
-

delegate

-- (id) delegate;
- - -
-

displayAllColumns

-- (void) displayAllColumns;
- - -
-

displayColumn:

-- (void) displayColumn: (int)column;
- - -
-

doClick:

-- (void) doClick: (id)sender;
- - -
-

doDoubleClick:

-- (void) doDoubleClick: (id)sender;
- - -
-

doubleAction

-- (SEL) doubleAction;
- - -
-

drawTitleOfColumn:

-- (void) drawTitleOfColumn: (int)column;
- - -
-

firstVisibleColumn

-- (int) firstVisibleColumn;
- - -
-

frameOfColumn:

-- (NSRect) frameOfColumn: (int)column;
- - -
-

frameOfInsideOfColumn:

-- (NSRect) frameOfInsideOfColumn: (int)column;
- - -
-

hasHorizontalScroller

-- (BOOL) hasHorizontalScroller;
- - -
-

isLoaded

-- (BOOL) isLoaded;
- - -
-

isTitled

-- (BOOL) isTitled;
- - -
-

lastColumn

-- (int) lastColumn;
- - -
-

lastVisibleColumn

-- (int) lastVisibleColumn;
- - -
-

loadColumnZero

-- (void) loadColumnZero;
- - -
-

loadedCellAtRow:column:

-- (id) loadedCellAtRow: (int)row column: (int)column;
- - -
-

matrixClass

-- (Class) matrixClass;
- - -
-

matrixInColumn:

-- (NSMatrix*) matrixInColumn: (int)column;
- - -
-

maxVisibleColumns

-- (int) maxVisibleColumns;
- - -
-

minColumnWidth

-- (float) minColumnWidth;
- - -
-

numberOfVisibleColumns

-- (int) numberOfVisibleColumns;
- - -
-

path

-- (NSString*) path;
- - -
-

pathSeparator

-- (NSString*) pathSeparator;
- - -
-

pathToColumn:

-- (NSString*) pathToColumn: (int)column;
- - -
-

reloadColumn:

-- (void) reloadColumn: (int)column;
- - -
-

reusesColumns

-- (BOOL) reusesColumns;
- - -
-

scrollColumnToVisible:

-- (void) scrollColumnToVisible: (int)column;
- - -
-

scrollColumnsLeftBy:

-- (void) scrollColumnsLeftBy: (int)shiftAmount;
- - -
-

scrollColumnsRightBy:

-- (void) scrollColumnsRightBy: (int)shiftAmount;
- - -
-

scrollViaScroller:

-- (void) scrollViaScroller: (NSScroller*)sender;
- - -
-

selectAll:

-- (void) selectAll: (id)sender;
- - -
-

selectRow:inColumn:

-- (void) selectRow: (int)row inColumn: (int)column;
- - -
-

selectedCell

-- (id) selectedCell;
- - -
-

selectedCellInColumn:

-- (id) selectedCellInColumn: (int)column;
- - -
-

selectedCells

-- (NSArray*) selectedCells;
- - -
-

selectedColumn

-- (int) selectedColumn;
- - -
-

selectedRowInColumn:

-- (int) selectedRowInColumn: (int)column;
- - -
-

sendAction

-- (BOOL) sendAction;
- - -
-

sendsActionOnArrowKeys

-- (BOOL) sendsActionOnArrowKeys;
- - -
-

separatesColumns

-- (BOOL) separatesColumns;
- - -
-

setAcceptsArrowKeys:

-- (void) setAcceptsArrowKeys: (BOOL)flag;
- - -
-

setAllowsBranchSelection:

-- (void) setAllowsBranchSelection: (BOOL)flag;
- - -
-

setAllowsEmptySelection:

-- (void) setAllowsEmptySelection: (BOOL)flag;
- - -
-

setAllowsMultipleSelection:

-- (void) setAllowsMultipleSelection: (BOOL)flag;
- - -
-

setCellClass:

-- (void) setCellClass: (Class)factoryId;
- - -
-

setCellPrototype:

-- (void) setCellPrototype: (NSCell*)aCell;
- - -
-

setDelegate:

-- (void) setDelegate: (id)anObject;
- - -
-

setDoubleAction:

-- (void) setDoubleAction: (SEL)aSelector;
- - -
-

setHasHorizontalScroller:

-- (void) setHasHorizontalScroller: (BOOL)flag;
- - -
-

setLastColumn:

-- (void) setLastColumn: (int)column;
- - -
-

setMatrixClass:

-- (void) setMatrixClass: (Class)factoryId;
- - -
-

setMaxVisibleColumns:

-- (void) setMaxVisibleColumns: (int)columnCount;
- - -
-

setMinColumnWidth:

-- (void) setMinColumnWidth: (float)columnWidth;
- - -
-

setPath:

-- (BOOL) setPath: (NSString*)path;
- - -
-

setPathSeparator:

-- (void) setPathSeparator: (NSString*)newString;
- - -
-

setReusesColumns:

-- (void) setReusesColumns: (BOOL)flag;
- - -
-

setSendsActionOnArrowKeys:

-- (void) setSendsActionOnArrowKeys: (BOOL)flag;
- - -
-

setSeparatesColumns:

-- (void) setSeparatesColumns: (BOOL)flag;
- - -
-

setTakesTitleFromPreviousColumn:

-- (void) setTakesTitleFromPreviousColumn: (BOOL)flag;
- - -
-

setTitle:ofColumn:

-- (void) setTitle: (NSString*)aString ofColumn: (int)column;
- - -
-

setTitled:

-- (void) setTitled: (BOOL)flag;
- - -
-

takesTitleFromPreviousColumn

-- (BOOL) takesTitleFromPreviousColumn;
- - -
-

tile

-- (void) tile;
- - -
-

titleFrameOfColumn:

-- (NSRect) titleFrameOfColumn: (int)column;
- - -
-

titleHeight

-- (float) titleHeight;
- - -
-

titleOfColumn:

-- (NSString*) titleOfColumn: (int)column;
- - -
-

updateScroller

-- (void) updateScroller;
- - -
-

validateVisibleColumns

-- (void) validateVisibleColumns;
- - -
-

browser:createRowsForColumn:inMatrix:

-- (void) browser: (NSBrowser*)sender createRowsForColumn: (int)column inMatrix: (NSMatrix*)matrix;
- - -
-

browser:isColumnValid:

-- (BOOL) browser: (NSBrowser*)sender isColumnValid: (int)column;
- - -
-

browser:numberOfRowsInColumn:

-- (int) browser: (NSBrowser*)sender numberOfRowsInColumn: (int)column;
- - -
-

browser:selectCellWithString:inColumn:

-- (BOOL) browser: (NSBrowser*)sender selectCellWithString: (NSString*)title inColumn: (int)column;
- - -
-

browser:selectRow:inColumn:

-- (BOOL) browser: (NSBrowser*)sender selectRow: (int)row inColumn: (int)column;
- - -
-

browser:titleOfColumn:

-- (NSString*) browser: (NSBrowser*)sender titleOfColumn: (int)column;
- - -
-

browser:willDisplayCell:atRow:column:

-- (void) browser: (NSBrowser*)sender willDisplayCell: (id)cell atRow: (int)row column: (int)column;
- - -
-

browserDidScroll:

-- (void) browserDidScroll: (NSBrowser*)sender;
- - -
-

browserWillScroll:

-- (void) browserWillScroll: (NSBrowser*)sender;
- - -
- - - + + + NSBrowser + + +

NSBrowser

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
Franck Wolff( + wolff@cybercable.fr + )
+
+
+
Mirko Viviani( + mirko.viviani@rccr.cremona.it + )
+
+
+
+
+ + Control to display and select from hierarchal lists +
+

Copyright: (C) 1996, 1997 Free Software Foundation, Inc.

+

+ Software documentation for the NSBrowser class +

+

NSBrowser : NSControl

+ Declared: AppKit/NSBrowser.h
+ Conform: NSCoding
+

+ +

+

cellClass

+ + (Class) cellClass;
+

+ +

+
+

acceptsArrowKeys

+ - (BOOL) acceptsArrowKeys;
+

+ +

+
+

addColumn

+ - (void) addColumn;
+

+ +

+
+

allowsBranchSelection

+ - (BOOL) allowsBranchSelection;
+

+ +

+
+

allowsEmptySelection

+ - (BOOL) allowsEmptySelection;
+

+ +

+
+

allowsMultipleSelection

+ - (BOOL) allowsMultipleSelection;
+

+ +

+
+

cellPrototype

+ - (id) cellPrototype;
+

+ +

+
+

columnOfMatrix:

+ - (int) columnOfMatrix: (NSMatrix*)matrix;
+

+ +

+
+

delegate

+ - (id) delegate;
+

+ +

+
+

displayAllColumns

+ - (void) displayAllColumns;
+

+ +

+
+

displayColumn:

+ - (void) displayColumn: (int)column;
+

+ +

+
+

doClick:

+ - (void) doClick: (id)sender;
+

+ +

+
+

doDoubleClick:

+ - (void) doDoubleClick: (id)sender;
+

+ +

+
+

doubleAction

+ - (SEL) doubleAction;
+

+ +

+
+

drawTitle:inRect:ofColumn:

+ - (void) drawTitle: (NSString*)title inRect: (NSRect)aRect ofColumn: (int)column;
+

+ +

+
+

encodeWithCoder:

+ - (void) encodeWithCoder: (NSCoder*)aCoder;
+

+ +

+
+

firstVisibleColumn

+ - (int) firstVisibleColumn;
+

+ +

+
+

frameOfColumn:

+ - (NSRect) frameOfColumn: (int)column;
+

+ +

+
+

frameOfInsideOfColumn:

+ - (NSRect) frameOfInsideOfColumn: (int)column;
+

+ +

+
+

hasHorizontalScroller

+ - (BOOL) hasHorizontalScroller;
+

+ +

+
+

initWithCoder:

+ - (id) initWithCoder: (NSCoder*)aDecoder;
+

+ +

+
+

isLoaded

+ - (BOOL) isLoaded;
+

+ +

+
+

isTitled

+ - (BOOL) isTitled;
+

+ +

+
+

lastColumn

+ - (int) lastColumn;
+

+ +

+
+

lastVisibleColumn

+ - (int) lastVisibleColumn;
+

+ +

+
+

loadColumnZero

+ - (void) loadColumnZero;
+

+ +

+
+

loadedCellAtRow:column:

+ - (id) loadedCellAtRow: (int)row column: (int)column;
+

+ +

+
+

matrixClass

+ - (Class) matrixClass;
+

+ +

+
+

matrixInColumn:

+ - (NSMatrix*) matrixInColumn: (int)column;
+

+ +

+
+

maxVisibleColumns

+ - (int) maxVisibleColumns;
+

+ +

+
+

minColumnWidth

+ - (int) minColumnWidth;
+

+ +

+
+

numberOfVisibleColumns

+ - (int) numberOfVisibleColumns;
+

+ +

+
+

path

+ - (NSString*) path;
+

+ +

+
+

pathSeparator

+ - (NSString*) pathSeparator;
+

+ +

+
+

pathToColumn:

+ - (NSString*) pathToColumn: (int)column;
+

+ +

+
+

reloadColumn:

+ - (void) reloadColumn: (int)column;
+

+ +

+
+

reusesColumns

+ - (BOOL) reusesColumns;
+

+ +

+
+

scrollColumnToVisible:

+ - (void) scrollColumnToVisible: (int)column;
+

+ +

+
+

scrollColumnsLeftBy:

+ - (void) scrollColumnsLeftBy: (int)shiftAmount;
+

+ +

+
+

scrollColumnsRightBy:

+ - (void) scrollColumnsRightBy: (int)shiftAmount;
+

+ +

+
+

scrollViaScroller:

+ - (void) scrollViaScroller: (NSScroller*)sender;
+

+ +

+
+

selectAll:

+ - (void) selectAll: (id)sender;
+

+ +

+
+

selectRow:inColumn:

+ - (void) selectRow: (int)row inColumn: (int)column;
+

+ +

+
+

selectedCell

+ - (id) selectedCell;
+

+ +

+
+

selectedCellInColumn:

+ - (id) selectedCellInColumn: (int)column;
+

+ +

+
+

selectedCells

+ - (NSArray*) selectedCells;
+

+ +

+
+

selectedColumn

+ - (int) selectedColumn;
+

+ +

+
+

selectedRowInColumn:

+ - (int) selectedRowInColumn: (int)column;
+

+ +

+
+

sendAction

+ - (BOOL) sendAction;
+

+ +

+
+

sendsActionOnArrowKeys

+ - (BOOL) sendsActionOnArrowKeys;
+

+ +

+
+

separatesColumns

+ - (BOOL) separatesColumns;
+

+ +

+
+

setAcceptsArrowKeys:

+ - (void) setAcceptsArrowKeys: (BOOL)flag;
+

+ +

+
+

setAllowsBranchSelection:

+ - (void) setAllowsBranchSelection: (BOOL)flag;
+

+ +

+
+

setAllowsEmptySelection:

+ - (void) setAllowsEmptySelection: (BOOL)flag;
+

+ +

+
+

setAllowsMultipleSelection:

+ - (void) setAllowsMultipleSelection: (BOOL)flag;
+

+ +

+
+

setCellClass:

+ - (void) setCellClass: (Class)classId;
+

+ +

+
+

setCellPrototype:

+ - (void) setCellPrototype: (NSCell*)aCell;
+

+ +

+
+

setDelegate:

+ - (void) setDelegate: (id)anObject;
+

+ +

+
+

setDoubleAction:

+ - (void) setDoubleAction: (SEL)aSelector;
+

+ +

+
+

setHasHorizontalScroller:

+ - (void) setHasHorizontalScroller: (BOOL)flag;
+

+ +

+
+

setLastColumn:

+ - (void) setLastColumn: (int)column;
+

+ +

+
+

setMatrixClass:

+ - (void) setMatrixClass: (Class)classId;
+

+ +

+
+

setMaxVisibleColumns:

+ - (void) setMaxVisibleColumns: (int)columnCount;
+

+ +

+
+

setMinColumnWidth:

+ - (void) setMinColumnWidth: (int)columnWidth;
+

+ +

+
+

setPath:

+ - (BOOL) setPath: (NSString*)path;
+

+ +

+
+

setPathSeparator:

+ - (void) setPathSeparator: (NSString*)aString;
+

+ +

+
+

setReusesColumns:

+ - (void) setReusesColumns: (BOOL)flag;
+

+ +

+
+

setSendsActionOnArrowKeys:

+ - (void) setSendsActionOnArrowKeys: (BOOL)flag;
+

+ +

+
+

setSeparatesColumns:

+ - (void) setSeparatesColumns: (BOOL)flag;
+

+ +

+
+

setTakesTitleFromPreviousColumn:

+ - (void) setTakesTitleFromPreviousColumn: (BOOL)flag;
+

+ +

+
+

setTitle:ofColumn:

+ - (void) setTitle: (NSString*)aString ofColumn: (int)column;
+

+ +

+
+

setTitled:

+ - (void) setTitled: (BOOL)flag;
+

+ +

+
+

takesTitleFromPreviousColumn

+ - (BOOL) takesTitleFromPreviousColumn;
+

+ +

+
+

tile

+ - (void) tile;
+

+ +

+
+

titleFrameOfColumn:

+ - (NSRect) titleFrameOfColumn: (int)column;
+

+ +

+
+

titleHeight

+ - (float) titleHeight;
+

+ +

+
+

titleOfColumn:

+ - (NSString*) titleOfColumn: (int)column;
+

+ +

+
+

updateScroller

+ - (void) updateScroller;
+

+ +

+
+

validateVisibleColumns

+ - (void) validateVisibleColumns;
+

+ +

+
+

+ Software documentation for the + NSBrowser(GNUstepExtensions) + category +

+

NSBrowser(GNUstepExtensions)

+ Declared: AppKit/NSBrowser.h
+

+ +

+

acceptsAlphaNumericalKeys

+ - (BOOL) acceptsAlphaNumericalKeys;
+

+ +

+
+

sendsActionOnAlphaNumericalKeys

+ - (BOOL) sendsActionOnAlphaNumericalKeys;
+

+ +

+
+

setAcceptsAlphaNumericalKeys:

+ - (void) setAcceptsAlphaNumericalKeys: (BOOL)flag;
+

+ +

+
+

setSendsActionOnAlphaNumericalKeys:

+ - (void) setSendsActionOnAlphaNumericalKeys: (BOOL)flag;
+

+ +

+
+

+ Software documentation for the + NSObject(NSBrowserDelegate) + category +

+

NSObject(NSBrowserDelegate)

+ Declared: AppKit/NSBrowser.h
+

+ +

+

browser:createRowsForColumn:inMatrix:

+ - (void) browser: (NSBrowser*)sender createRowsForColumn: (int)column inMatrix: (NSMatrix*)matrix;
+

+ +

+
+

browser:isColumnValid:

+ - (BOOL) browser: (NSBrowser*)sender isColumnValid: (int)column;
+

+ +

+
+

browser:numberOfRowsInColumn:

+ - (int) browser: (NSBrowser*)sender numberOfRowsInColumn: (int)column;
+

+ +

+
+

browser:selectCellWithString:inColumn:

+ - (BOOL) browser: (NSBrowser*)sender selectCellWithString: (NSString*)title inColumn: (int)column;
+

+ +

+
+

browser:selectRow:inColumn:

+ - (BOOL) browser: (NSBrowser*)sender selectRow: (int)row inColumn: (int)column;
+

+ +

+
+

browser:titleOfColumn:

+ - (NSString*) browser: (NSBrowser*)sender titleOfColumn: (int)column;
+

+ +

+
+

browser:willDisplayCell:atRow:column:

+ - (void) browser: (NSBrowser*)sender willDisplayCell: (id)cell atRow: (int)row column: (int)column;
+

+ +

+
+

browserDidScroll:

+ - (void) browserDidScroll: (NSBrowser*)sender;
+

+ +

+
+

browserWillScroll:

+ - (void) browserWillScroll: (NSBrowser*)sender;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSBrowserCell.gsdoc b/Documentation/gsdoc/NSBrowserCell.gsdoc index ba73ed214..3637d188d 100644 --- a/Documentation/gsdoc/NSBrowserCell.gsdoc +++ b/Documentation/gsdoc/NSBrowserCell.gsdoc @@ -1,23 +1,31 @@ - - + + NSBrowserCell - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + n.pero@mi.flashnet.it + + + Cell class for the NSBrowser + 1996, 1997, 1999 Free Software Foundation, Inc. - NSBrowserCell + + Software documentation for the NSBrowserCell class + - Gui/NSBrowserCell.h + AppKit/NSBrowserCell.h NSCoding - - + + branchImage @@ -33,6 +41,24 @@ + + encodeWithCoder: + aCoder + + + + + highlightColorInView: + controlView + + + + + initWithCoder: + aDecoder + + + isLeaf @@ -55,7 +81,7 @@ setAlternateImage: - newAltImage + anImage diff --git a/Documentation/gsdoc/NSBrowserCell.html b/Documentation/gsdoc/NSBrowserCell.html index d7fba4be6..b960acba2 100644 --- a/Documentation/gsdoc/NSBrowserCell.html +++ b/Documentation/gsdoc/NSBrowserCell.html @@ -1,95 +1,111 @@ - - NSBrowserCell - - -[Previous] -[Up] -[Next] -

NSBrowserCell

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSBrowserCell

-

NSBrowserCell

-

Declared in: Gui/NSBrowserCell.h

-

Inherits from: NSCell

-

Conforms to: NSCoding -

-
+ + + NSBrowserCell + + +

NSBrowserCell

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Nicola Pero( + n.pero@mi.flashnet.it + )
+
+
+
+
+Cell class for the NSBrowser
+

Copyright: (C) 1996, 1997, 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSBrowserCell class +

+

NSBrowserCell : NSCell

+ Declared: AppKit/NSBrowserCell.h
+ Conform: NSCoding
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

branchImage

-+ (NSImage*) branchImage;
+

+

branchImage

+ + (NSImage*) branchImage;
+

- -


-

highlightedBranchImage

-+ (NSImage*) highlightedBranchImage;
+

+
+

highlightedBranchImage

+ + (NSImage*) highlightedBranchImage;
+

- -


-

Instances Methods

-

alternateImage

-- (NSImage*) alternateImage;
+

+
+

alternateImage

+ - (NSImage*) alternateImage;
+

- -


-

isLeaf

-- (BOOL) isLeaf;
+

+
+

encodeWithCoder:

+ - (void) encodeWithCoder: (NSCoder*)aCoder;
+

- -


-

isLoaded

-- (BOOL) isLoaded;
+

+
+

highlightColorInView:

+ - (NSColor*) highlightColorInView: (NSView*)controlView;
+

- -


-

reset

-- (void) reset;
+

+
+

initWithCoder:

+ - (id) initWithCoder: (NSCoder*)aDecoder;
+

- -


-

set

-- (void) set;
+

+
+

isLeaf

+ - (BOOL) isLeaf;
+

- -


-

setAlternateImage:

-- (void) setAlternateImage: (NSImage*)newAltImage;
+

+
+

isLoaded

+ - (BOOL) isLoaded;
+

- -


-

setLeaf:

-- (void) setLeaf: (BOOL)flag;
+

+
+

reset

+ - (void) reset;
+

- -


-

setLoaded:

-- (void) setLoaded: (BOOL)flag;
+

+
+

set

+ - (void) set;
+

- -


- - - +

+
+

setAlternateImage:

+ - (void) setAlternateImage: (NSImage*)anImage;
+

+ +

+
+

setLeaf:

+ - (void) setLeaf: (BOOL)flag;
+

+ +

+
+

setLoaded:

+ - (void) setLoaded: (BOOL)flag;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSButton.gsdoc b/Documentation/gsdoc/NSButton.gsdoc index 3d2f4324b..ba6a908ed 100644 --- a/Documentation/gsdoc/NSButton.gsdoc +++ b/Documentation/gsdoc/NSButton.gsdoc @@ -1,23 +1,25 @@ - - + + NSButton - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + The button class + 1996 Free Software Foundation, Inc. - NSButton + + Software documentation for the NSButton class + - Gui/NSButton.h - NSCoding - - + AppKit/NSButton.h + + allowsMixedState @@ -62,6 +64,11 @@ + + image + + + imagePosition @@ -107,7 +114,7 @@ setAlternateImage: - image + anImage @@ -149,7 +156,7 @@ setImage: - image + anImage @@ -161,7 +168,7 @@ setKeyEquivalent: - charCode + aKeyEquivalent @@ -185,7 +192,7 @@ - setShowsBorderOnlyWhileMouseInside: + setShowsBorderOnlyWhileMouseInside: show @@ -221,7 +228,7 @@ - showsBorderOnlyWhileMouseInside + showsBorderOnlyWhileMouseInside diff --git a/Documentation/gsdoc/NSButton.html b/Documentation/gsdoc/NSButton.html index a6896b664..ba852afc1 100644 --- a/Documentation/gsdoc/NSButton.html +++ b/Documentation/gsdoc/NSButton.html @@ -1,268 +1,267 @@ - - NSButton - - -[Previous] -[Up] -[Next] -

NSButton

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSButton

-

NSButton

-

Declared in: Gui/NSButton.h

-

Inherits from: NSControl

-

Conforms to: NSCoding -

-
+ + + NSButton + + +

NSButton

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
+
+The button class
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSButton class +

+

NSButton : NSControl

+ Declared: AppKit/NSButton.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

allowsMixedState

-- (BOOL) allowsMixedState;
+

+

allowsMixedState

+ - (BOOL) allowsMixedState;
+

- -


-

alternateImage

-- (NSImage*) alternateImage;
+

+
+

alternateImage

+ - (NSImage*) alternateImage;
+

- -


-

alternateTitle

-- (NSString*) alternateTitle;
+

+
+

alternateTitle

+ - (NSString*) alternateTitle;
+

- -


-

attributedAlternateTitle

-- (NSAttributedString*) attributedAlternateTitle;
+

+
+

attributedAlternateTitle

+ - (NSAttributedString*) attributedAlternateTitle;
+

- -


-

attributedTitle

-- (NSAttributedString*) attributedTitle;
+

+
+

attributedTitle

+ - (NSAttributedString*) attributedTitle;
+

- -


-

bezelStyle

-- (NSBezelStyle) bezelStyle;
+

+
+

bezelStyle

+ - (NSBezelStyle) bezelStyle;
+

- -


-

getPeriodicDelay:interval:

-- (void) getPeriodicDelay: (float*)delay interval: (float*)interval;
+

+
+

getPeriodicDelay:interval:

+ - (void) getPeriodicDelay: (float*)delay interval: (float*)interval;
+

- -


-

highlight:

-- (void) highlight: (BOOL)flag;
+

+
+

highlight:

+ - (void) highlight: (BOOL)flag;
+

- -


-

imagePosition

-- (NSCellImagePosition) imagePosition;
+

+
+

image

+ - (NSImage*) image;
+

- -


-

isBordered

-- (BOOL) isBordered;
+

+
+

imagePosition

+ - (NSCellImagePosition) imagePosition;
+

- -


-

isTransparent

-- (BOOL) isTransparent;
+

+
+

isBordered

+ - (BOOL) isBordered;
+

- -


-

keyEquivalent

-- (NSString*) keyEquivalent;
+

+
+

isTransparent

+ - (BOOL) isTransparent;
+

- -


-

keyEquivalentModifierMask

-- (unsigned int) keyEquivalentModifierMask;
+

+
+

keyEquivalent

+ - (NSString*) keyEquivalent;
+

- -


-

performClick:

-- (void) performClick: (id)sender;
+

+
+

keyEquivalentModifierMask

+ - (unsigned int) keyEquivalentModifierMask;
+

- -


-

performKeyEquivalent:

-- (BOOL) performKeyEquivalent: (NSEvent*)anEvent;
+

+
+

performClick:

+ - (void) performClick: (id)sender;
+

- -


-

setAllowsMixedState:

-- (void) setAllowsMixedState: (BOOL)flag;
+

+
+

performKeyEquivalent:

+ - (BOOL) performKeyEquivalent: (NSEvent*)anEvent;
+

- -


-

setAlternateImage:

-- (void) setAlternateImage: (NSImage*)image;
+

+
+

setAllowsMixedState:

+ - (void) setAllowsMixedState: (BOOL)flag;
+

- -


-

setAlternateTitle:

-- (void) setAlternateTitle: (NSString*)aString;
+

+
+

setAlternateImage:

+ - (void) setAlternateImage: (NSImage*)anImage;
+

- -


-

setAttributedAlternateTitle:

-- (void) setAttributedAlternateTitle: (NSAttributedString*)aString;
+

+
+

setAlternateTitle:

+ - (void) setAlternateTitle: (NSString*)aString;
+

- -


-

setAttributedTitle:

-- (void) setAttributedTitle: (NSAttributedString*)aString;
+

+
+

setAttributedAlternateTitle:

+ - (void) setAttributedAlternateTitle: (NSAttributedString*)aString;
+

- -


-

setBezelStyle:

-- (void) setBezelStyle: (NSBezelStyle)bezelStyle;
+

+
+

setAttributedTitle:

+ - (void) setAttributedTitle: (NSAttributedString*)aString;
+

- -


-

setBordered:

-- (void) setBordered: (BOOL)flag;
+

+
+

setBezelStyle:

+ - (void) setBezelStyle: (NSBezelStyle)bezelStyle;
+

- -


-

setButtonType:

-- (void) setButtonType: (NSButtonType)aType;
+

+
+

setBordered:

+ - (void) setBordered: (BOOL)flag;
+

- -


-

setImage:

-- (void) setImage: (NSImage*)image;
+

+
+

setButtonType:

+ - (void) setButtonType: (NSButtonType)aType;
+

- -


-

setImagePosition:

-- (void) setImagePosition: (NSCellImagePosition)aPosition;
+

+
+

setImage:

+ - (void) setImage: (NSImage*)anImage;
+

- -


-

setKeyEquivalent:

-- (void) setKeyEquivalent: (NSString*)charCode;
+

+
+

setImagePosition:

+ - (void) setImagePosition: (NSCellImagePosition)aPosition;
+

- -


-

setKeyEquivalentModifierMask:

-- (void) setKeyEquivalentModifierMask: (unsigned int)mask;
+

+
+

setKeyEquivalent:

+ - (void) setKeyEquivalent: (NSString*)aKeyEquivalent;
+

- -


-

setNextState

-- (void) setNextState;
+

+
+

setKeyEquivalentModifierMask:

+ - (void) setKeyEquivalentModifierMask: (unsigned int)mask;
+

- -


-

setPeriodicDelay:interval:

-- (void) setPeriodicDelay: (float)delay interval: (float)interval;
+

+
+

setNextState

+ - (void) setNextState;
+

- -


-

setShowsBorderOnlyWhileMouseInside:

-- (void) setShowsBorderOnlyWhileMouseInside: (BOOL)show;
+

+
+

setPeriodicDelay:interval:

+ - (void) setPeriodicDelay: (float)delay interval: (float)interval;
+

- -


-

setSound:

-- (void) setSound: (NSSound*)aSound;
+

+
+

setShowsBorderOnlyWhileMouseInside:

+ - (void) setShowsBorderOnlyWhileMouseInside: (BOOL)show;
+

- -


-

setState:

-- (void) setState: (int)value;
+

+
+

setSound:

+ - (void) setSound: (NSSound*)aSound;
+

- -


-

setTitle:

-- (void) setTitle: (NSString*)aString;
+

+
+

setState:

+ - (void) setState: (int)value;
+

- -


-

setTitleWithMnemonic:

-- (void) setTitleWithMnemonic: (NSString*)aString;
+

+
+

setTitle:

+ - (void) setTitle: (NSString*)aString;
+

- -


-

setTransparent:

-- (void) setTransparent: (BOOL)flag;
+

+
+

setTitleWithMnemonic:

+ - (void) setTitleWithMnemonic: (NSString*)aString;
+

- -


-

showsBorderOnlyWhileMouseInside

-- (BOOL) showsBorderOnlyWhileMouseInside;
+

+
+

setTransparent:

+ - (void) setTransparent: (BOOL)flag;
+

- -


-

sound

-- (NSSound*) sound;
+

+
+

showsBorderOnlyWhileMouseInside

+ - (BOOL) showsBorderOnlyWhileMouseInside;
+

- -


-

state

-- (int) state;
+

+
+

sound

+ - (NSSound*) sound;
+

- -


-

title

-- (NSString*) title;
+

+
+

state

+ - (int) state;
+

- -


- - - +

+
+

title

+ - (NSString*) title;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSButtonCell.gsdoc b/Documentation/gsdoc/NSButtonCell.gsdoc index 90a739f3b..d7f140412 100644 --- a/Documentation/gsdoc/NSButtonCell.gsdoc +++ b/Documentation/gsdoc/NSButtonCell.gsdoc @@ -1,23 +1,30 @@ - - + + NSButtonCell - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + far@ix.netcom.com + + + The button cell class + 1996-1999 Free Software Foundation, Inc. - NSButtonCell + + Software documentation for the NSButtonCell class + - Gui/NSButtonCell.h - NSCoding - - + AppKit/NSButtonCell.h + + alternateImage @@ -28,7 +35,7 @@ - + alternateMnemonicLocation @@ -81,11 +88,6 @@ - - isOpaque - - - isTransparent @@ -107,13 +109,13 @@ - mouseEntered: + mouseEntered: event - mouseExited: + mouseExited: event @@ -126,13 +128,13 @@ setAlternateImage: - image + anImage setAlternateMnemonicLocation: - location + location @@ -168,13 +170,13 @@ setButtonType: - aType + buttonType setFont: - fontObj + fontObject @@ -186,7 +188,7 @@ setHighlightsBy: - aType + mask @@ -204,7 +206,7 @@ setKeyEquivalent: - aKeyEquivalent + key @@ -217,6 +219,8 @@ setKeyEquivalentFont: fontName + size: + fontSize @@ -235,14 +239,14 @@ - setShowsBorderOnlyWhileMouseInside: + setShowsBorderOnlyWhileMouseInside: show setShowsStateBy: - aType + mask @@ -270,13 +274,13 @@ - - showsStateBy + + showsBorderOnlyWhileMouseInside - - showsBorderOnlyWhileMouseInside + + showsStateBy diff --git a/Documentation/gsdoc/NSButtonCell.html b/Documentation/gsdoc/NSButtonCell.html index e3604ee83..87623ca02 100644 --- a/Documentation/gsdoc/NSButtonCell.html +++ b/Documentation/gsdoc/NSButtonCell.html @@ -1,322 +1,314 @@ - - NSButtonCell - - -[Previous] -[Up] -[Next] -

NSButtonCell

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSButtonCell

-

NSButtonCell

-

Declared in: Gui/NSButtonCell.h

-

Inherits from: NSActionCell

-

Conforms to: NSCoding -

-
+ + + NSButtonCell + + +

NSButtonCell

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
+
+The button cell class
+

Copyright: (C) 1996-1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSButtonCell class +

+

NSButtonCell : NSActionCell

+ Declared: AppKit/NSButtonCell.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

alternateImage

-- (NSImage*) alternateImage;
+

+

alternateImage

+ - (NSImage*) alternateImage;
+

- -


-

alternateMnemonic

-- (NSString*) alternateMnemonic;
+

+
+

alternateMnemonic

+ - (NSString*) alternateMnemonic;
+

- -


-

alternateMnemonicLocation

-- (unsigned int) alternateMnemonicLocation;
+

+
+

alternateMnemonicLocation

+ - (unsigned) alternateMnemonicLocation;
+

- -


-

alternateTitle

-- (NSString*) alternateTitle;
+

+
+

alternateTitle

+ - (NSString*) alternateTitle;
+

- -


-

attributedAlternateTitle

-- (NSAttributedString*) attributedAlternateTitle;
+

+
+

attributedAlternateTitle

+ - (NSAttributedString*) attributedAlternateTitle;
+

- -


-

attributedTitle

-- (NSAttributedString*) attributedTitle;
+

+
+

attributedTitle

+ - (NSAttributedString*) attributedTitle;
+

- -


-

bezelStyle

-- (NSBezelStyle) bezelStyle;
+

+
+

bezelStyle

+ - (NSBezelStyle) bezelStyle;
+

- -


-

getPeriodicDelay:interval:

-- (void) getPeriodicDelay: (float*)delay interval: (float*)interval;
+

+
+

getPeriodicDelay:interval:

+ - (void) getPeriodicDelay: (float*)delay interval: (float*)interval;
+

- -


-

gradientType

-- (NSGradientType) gradientType;
+

+
+

gradientType

+ - (NSGradientType) gradientType;
+

- -


-

highlightsBy

-- (int) highlightsBy;
+

+
+

highlightsBy

+ - (int) highlightsBy;
+

- -


-

imageDimsWhenDisabled

-- (BOOL) imageDimsWhenDisabled;
+

+
+

imageDimsWhenDisabled

+ - (BOOL) imageDimsWhenDisabled;
+

- -


-

imagePosition

-- (NSCellImagePosition) imagePosition;
+

+
+

imagePosition

+ - (NSCellImagePosition) imagePosition;
+

- -


-

isOpaque

-- (BOOL) isOpaque;
+

+
+

isTransparent

+ - (BOOL) isTransparent;
+

- -


-

isTransparent

-- (BOOL) isTransparent;
+

+
+

keyEquivalent

+ - (NSString*) keyEquivalent;
+

- -


-

keyEquivalent

-- (NSString*) keyEquivalent;
+

+
+

keyEquivalentFont

+ - (NSFont*) keyEquivalentFont;
+

- -


-

keyEquivalentFont

-- (NSFont*) keyEquivalentFont;
+

+
+

keyEquivalentModifierMask

+ - (unsigned int) keyEquivalentModifierMask;
+

- -


-

keyEquivalentModifierMask

-- (unsigned int) keyEquivalentModifierMask;
+

+
+

mouseEntered:

+ - (void) mouseEntered: (NSEvent*)event;
+

- -


-

mouseEntered:

-- (void) mouseEntered: (NSEvent*)event;
+

+
+

mouseExited:

+ - (void) mouseExited: (NSEvent*)event;
+

- -


-

mouseExited:

-- (void) mouseExited: (NSEvent*)event;
+

+
+

performClick:

+ - (void) performClick: (id)sender;
+

- -


-

performClick:

-- (void) performClick: (id)sender;
+

+
+

setAlternateImage:

+ - (void) setAlternateImage: (NSImage*)anImage;
+

- -


-

setAlternateImage:

-- (void) setAlternateImage: (NSImage*)image;
+

+
+

setAlternateMnemonicLocation:

+ - (void) setAlternateMnemonicLocation: (unsigned)location;
+

- -


-

setAlternateMnemonicLocation:

-- (void) setAlternateMnemonicLocation: (unsigned int)location;
+

+
+

setAlternateTitle:

+ - (void) setAlternateTitle: (NSString*)aString;
+

- -


-

setAlternateTitle:

-- (void) setAlternateTitle: (NSString*)aString;
+

+
+

setAlternateTitleWithMnemonic:

+ - (void) setAlternateTitleWithMnemonic: (NSString*)aString;
+

- -


-

setAlternateTitleWithMnemonic:

-- (void) setAlternateTitleWithMnemonic: (NSString*)aString;
+

+
+

setAttributedAlternateTitle:

+ - (void) setAttributedAlternateTitle: (NSAttributedString*)aString;
+

- -


-

setAttributedAlternateTitle:

-- (void) setAttributedAlternateTitle: (NSAttributedString*)aString;
+

+
+

setAttributedTitle:

+ - (void) setAttributedTitle: (NSAttributedString*)aString;
+

- -


-

setAttributedTitle:

-- (void) setAttributedTitle: (NSAttributedString*)aString;
+

+
+

setBezelStyle:

+ - (void) setBezelStyle: (NSBezelStyle)bezelStyle;
+

- -


-

setBezelStyle:

-- (void) setBezelStyle: (NSBezelStyle)bezelStyle;
+

+
+

setButtonType:

+ - (void) setButtonType: (NSButtonType)buttonType;
+

- -


-

setButtonType:

-- (void) setButtonType: (NSButtonType)aType;
+

+
+

setFont:

+ - (void) setFont: (NSFont*)fontObject;
+

- -


-

setFont:

-- (void) setFont: (NSFont*)fontObj;
+

+
+

setGradientType:

+ - (void) setGradientType: (NSGradientType)gradientType;
+

- -


-

setGradientType:

-- (void) setGradientType: (NSGradientType)gradientType;
+

+
+

setHighlightsBy:

+ - (void) setHighlightsBy: (int)mask;
+

- -


-

setHighlightsBy:

-- (void) setHighlightsBy: (int)aType;
+

+
+

setImageDimsWhenDisabled:

+ - (void) setImageDimsWhenDisabled: (BOOL)flag;
+

- -


-

setImageDimsWhenDisabled:

-- (void) setImageDimsWhenDisabled: (BOOL)flag;
+

+
+

setImagePosition:

+ - (void) setImagePosition: (NSCellImagePosition)aPosition;
+

- -


-

setImagePosition:

-- (void) setImagePosition: (NSCellImagePosition)aPosition;
+

+
+

setKeyEquivalent:

+ - (void) setKeyEquivalent: (NSString*)key;
+

- -


-

setKeyEquivalent:

-- (void) setKeyEquivalent: (NSString*)aKeyEquivalent;
+

+
+

setKeyEquivalentFont:

+ - (void) setKeyEquivalentFont: (NSFont*)fontObj;
+

- -


-

setKeyEquivalentFont:

-- (void) setKeyEquivalentFont: (NSFont*)fontObj;
+

+
+

setKeyEquivalentFont:size:

+ - (void) setKeyEquivalentFont: (NSString*)fontName size: (float)fontSize;
+

- -


-

setKeyEquivalentFont:

-- (void) setKeyEquivalentFont: (NSString*)fontName;
+

+
+

setKeyEquivalentModifierMask:

+ - (void) setKeyEquivalentModifierMask: (unsigned int)mask;
+

- -


-

setKeyEquivalentModifierMask:

-- (void) setKeyEquivalentModifierMask: (unsigned int)mask;
+

+
+

setPeriodicDelay:interval:

+ - (void) setPeriodicDelay: (float)delay interval: (float)interval;
+

- -


-

setPeriodicDelay:interval:

-- (void) setPeriodicDelay: (float)delay interval: (float)interval;
+

+
+

setShowsBorderOnlyWhileMouseInside:

+ - (void) setShowsBorderOnlyWhileMouseInside: (BOOL)show;
+

- -


-

setShowsBorderOnlyWhileMouseInside:

-- (void) setShowsBorderOnlyWhileMouseInside: (BOOL)show;
+

+
+

setShowsStateBy:

+ - (void) setShowsStateBy: (int)mask;
+

- -


-

setShowsStateBy:

-- (void) setShowsStateBy: (int)aType;
+

+
+

setSound:

+ - (void) setSound: (NSSound*)aSound;
+

- -


-

setSound:

-- (void) setSound: (NSSound*)aSound;
+

+
+

setTitle:

+ - (void) setTitle: (NSString*)aString;
+

- -


-

setTitle:

-- (void) setTitle: (NSString*)aString;
+

+
+

setTitleWithMnemonic:

+ - (void) setTitleWithMnemonic: (NSString*)aString;
+

- -


-

setTitleWithMnemonic:

-- (void) setTitleWithMnemonic: (NSString*)aString;
+

+
+

setTransparent:

+ - (void) setTransparent: (BOOL)flag;
+

- -


-

setTransparent:

-- (void) setTransparent: (BOOL)flag;
+

+
+

showsBorderOnlyWhileMouseInside

+ - (BOOL) showsBorderOnlyWhileMouseInside;
+

- -


-

showsStateBy

-- (int) showsStateBy;
+

+
+

showsStateBy

+ - (int) showsStateBy;
+

- -


-

showsBorderOnlyWhileMouseInside

-- (BOOL) showsBorderOnlyWhileMouseInside;
+

+
+

sound

+ - (NSSound*) sound;
+

- -


-

sound

-- (NSSound*) sound;
+

+
+

title

+ - (NSString*) title;
+

- -


-

title

-- (NSString*) title;
- - -
- - - +

+
+ + diff --git a/Documentation/gsdoc/NSCachedImageRep.gsdoc b/Documentation/gsdoc/NSCachedImageRep.gsdoc index 6651d9c98..f0820fcb2 100644 --- a/Documentation/gsdoc/NSCachedImageRep.gsdoc +++ b/Documentation/gsdoc/NSCachedImageRep.gsdoc @@ -1,30 +1,32 @@ - - + + NSCachedImageRep - - - + + + fedor@gnu.org + - $Revision$ - $Date$ + Cached image representation. + 1996 Free Software Foundation, Inc. - NSCachedImageRep + + Software documentation for the NSCachedImageRep class + - Gui/NSImageRep.h - NSCoding - - + AppKit/NSCachedImageRep.h + + initWithSize: - size + aSize depth: - depth + aDepth separate: - flag + separate alpha: alpha @@ -32,7 +34,9 @@ initWithWindow: - aWindow + win + rect: + rect diff --git a/Documentation/gsdoc/NSCachedImageRep.html b/Documentation/gsdoc/NSCachedImageRep.html index 551ac011f..1780e7564 100644 --- a/Documentation/gsdoc/NSCachedImageRep.html +++ b/Documentation/gsdoc/NSCachedImageRep.html @@ -1,58 +1,51 @@ - - NSCachedImageRep - - -[Previous] -[Up] -[Next] -

NSCachedImageRep

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSCachedImageRep

-

NSCachedImageRep

-

Declared in: Gui/NSImageRep.h

-

Inherits from: NSImageRep

-

Conforms to: NSCoding -

-
+ + + NSCachedImageRep + + +

NSCachedImageRep

+

Authors

+
+
Adam Fedor( + fedor@gnu.org + )
+
+
+
+
+Cached image representation.
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSCachedImageRep class +

+

NSCachedImageRep : NSImageRep

+ Declared: AppKit/NSCachedImageRep.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

initWithSize:depth:separate:alpha:

-- (id) initWithSize: (NSSize)size depth: (NSWindowDepth)depth separate: (BOOL)flag alpha: (BOOL)alpha;
+

+

initWithSize:depth:separate:alpha:

+ - (id) initWithSize: (NSSize)aSize depth: (NSWindowDepth)aDepth separate: (BOOL)separate alpha: (BOOL)alpha;
+

- -


-

initWithWindow:

-- (id) initWithWindow: (NSWindow*)aWindow;
+

+
+

initWithWindow:rect:

+ - (id) initWithWindow: (NSWindow*)win rect: (NSRect)rect;
+

- -


-

rect

-- (NSRect) rect;
+

+
+

rect

+ - (NSRect) rect;
+

- -


-

window

-- (NSWindow*) window;
+

+
+

window

+ - (NSWindow*) window;
+

- -


- - - +

+
+ + diff --git a/Documentation/gsdoc/NSCell.gsdoc b/Documentation/gsdoc/NSCell.gsdoc index c91fddfd2..40493163e 100644 --- a/Documentation/gsdoc/NSCell.gsdoc +++ b/Documentation/gsdoc/NSCell.gsdoc @@ -1,23 +1,27 @@ - - + + NSCell - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + The abstract cell class + 1996 Free Software Foundation, Inc. - NSCell + + Software documentation for the NSCell class + - Gui/NSCell.h + AppKit/NSCell.h + NSCopying NSCoding - - + + defaultMenu @@ -110,12 +114,16 @@ drawInteriorWithFrame: cellFrame + inView: + controlView drawWithFrame: cellFrame + inView: + controlView @@ -131,15 +139,23 @@ inView: controlView editor: - textObj + textObject delegate: anObject + event: + theEvent + + + + + encodeWithCoder: + aCoder endEditing: - textObj + textObject @@ -178,9 +194,11 @@
highlight: - flag + lit withFrame: cellFrame + inView: + controlView @@ -212,6 +230,12 @@
+ + initWithCoder: + aDecoder + + + intValue @@ -332,6 +356,24 @@ resetCursorRect: cellFrame + inView: + controlView + + + + + selectWithFrame: + aRect + inView: + controlView + editor: + textObject + delegate: + anObject + start: + selStart + length: + selLength @@ -391,6 +433,8 @@ setCellAttribute: aParameter + to: + value @@ -424,6 +468,12 @@ + + setFloatValue: + aFloat + + + setFloatingPointFormat: autoRange @@ -434,15 +484,9 @@ - - setFloatValue: - aFloat - - - setFont: - fontObj + fontObject @@ -454,7 +498,7 @@ setImage: - image + anImage @@ -567,7 +611,7 @@ setUpFieldEditorAttributes: - textObj + textObject @@ -585,6 +629,8 @@ startTrackingAt: startPoint + inView: + controlView @@ -600,6 +646,8 @@ stopPoint inView: controlView + mouseIsUp: + flag @@ -662,7 +710,7 @@ ofView: controlView untilMouseUp: - untilMouseUp + flag @@ -678,5 +726,48 @@
+ + + Software documentation for the NSCell(PrivateMethods) + category + + + AppKit/NSCell.h + + + + _drawAttributedText: + title + inFrame: + cellFrame + + + + + _drawText: + title + inFrame: + cellFrame + + + + + _nonAutoreleasedTypingAttributes + + + + + _sizeText: + title + + + + + textColor + + + + +
diff --git a/Documentation/gsdoc/NSCell.html b/Documentation/gsdoc/NSCell.html index a9b978259..5835690c3 100644 --- a/Documentation/gsdoc/NSCell.html +++ b/Documentation/gsdoc/NSCell.html @@ -1,707 +1,758 @@ - - NSCell - - -[Previous] -[Up] -[Next] -

NSCell

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSCell

-

NSCell

-

Declared in: Gui/NSCell.h

-

Inherits from: NSObject

-

Conforms to: NSCoding -

-
- - -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

defaultMenu

-+ (NSMenu*) defaultMenu;
- - -
-

prefersTrackingUntilMouseUp

-+ (BOOL) prefersTrackingUntilMouseUp;
- - -
-

Instances Methods

-

acceptsFirstResponder

-- (BOOL) acceptsFirstResponder;
- - -
-

action

-- (SEL) action;
- - -
-

alignment

-- (NSTextAlignment) alignment;
- - -
-

allowsEditingTextAttributes

-- (BOOL) allowsEditingTextAttributes;
- - -
-

allowsMixedState

-- (BOOL) allowsMixedState;
- - -
-

attributedStringValue

-- (NSAttributedString*) attributedStringValue;
- - -
-

calcDrawInfo:

-- (void) calcDrawInfo: (NSRect)aRect;
- - -
-

cellAttribute:

-- (int) cellAttribute: (NSCellAttribute)aParameter;
- - -
-

cellSize

-- (NSSize) cellSize;
- - -
-

cellSizeForBounds:

-- (NSSize) cellSizeForBounds: (NSRect)aRect;
- - -
-

compare:

-- (NSComparisonResult) compare: (id)otherCell;
- - -
-

continueTracking:at:inView:

-- (BOOL) continueTracking: (NSPoint)lastPoint at: (NSPoint)currentPoint inView: (NSView*)controlView;
- - -
-

controlView

-- (NSView*) controlView;
- - -
-

doubleValue

-- (double) doubleValue;
- - -
-

drawInteriorWithFrame:

-- (void) drawInteriorWithFrame: (NSRect)cellFrame;
- - -
-

drawWithFrame:

-- (void) drawWithFrame: (NSRect)cellFrame;
- - -
-

drawingRectForBounds:

-- (NSRect) drawingRectForBounds: (NSRect)theRect;
- - -
-

editWithFrame:inView:editor:delegate:

-- (void) editWithFrame: (NSRect)aRect inView: (NSView*)controlView editor: (NSText *)textObj delegate: (id)anObject;
- - -
-

endEditing:

-- (void) endEditing: (NSText*)textObj;
- - -
-

entryType

-- (int) entryType;
- - -
-

floatValue

-- (float) floatValue;
- - -
-

font

-- (NSFont*) font;
- - -
-

formatter

-- (id) formatter;
- - -
-

getPeriodicDelay:interval:

-- (void) getPeriodicDelay: (float*)delay interval: (float*)interval;
- - -
-

hasValidObjectValue

-- (BOOL) hasValidObjectValue;
- - -
-

highlight:withFrame:

-- (void) highlight: (BOOL)flag withFrame: (NSRect)cellFrame;
- - -
-

image

-- (NSImage*) image;
- - -
-

imageRectForBounds:

-- (NSRect) imageRectForBounds: (NSRect)theRect;
- - -
-

importsGraphics

-- (BOOL) importsGraphics;
- - -
-

initImageCell:

-- (id) initImageCell: (NSImage*)anImage;
- - -
-

initTextCell:

-- (id) initTextCell: (NSString*)aString;
- - -
-

intValue

-- (int) intValue;
- - -
-

isBezeled

-- (BOOL) isBezeled;
- - -
-

isBordered

-- (BOOL) isBordered;
- - -
-

isContinuous

-- (BOOL) isContinuous;
- - -
-

isEditable

-- (BOOL) isEditable;
- - -
-

isEnabled

-- (BOOL) isEnabled;
- - -
-

isEntryAcceptable:

-- (BOOL) isEntryAcceptable: (NSString*)aString;
- - -
-

isHighlighted

-- (BOOL) isHighlighted;
- - -
-

isOpaque

-- (BOOL) isOpaque;
- - -
-

isScrollable

-- (BOOL) isScrollable;
- - -
-

isSelectable

-- (BOOL) isSelectable;
- - -
-

keyEquivalent

-- (NSString*) keyEquivalent;
- - -
-

menu

-- (NSMenu*) menu;
- - -
-

menuForEvent:inRect:ofView:

-- (NSMenu*) menuForEvent: (NSEvent*)anEvent inRect: (NSRect)cellFrame ofView: (NSView*)aView;
- - -
-

mnemonic

-- (NSString*) mnemonic;
- - -
-

mnemonicLocation

-- (unsigned int) mnemonicLocation;
- - -
-

mouseDownFlags

-- (int) mouseDownFlags;
- - -
-

nextState

-- (int) nextState;
- - -
-

objectValue

-- (id) objectValue;
- - -
-

performClick:

-- (void) performClick: (id)sender;
- - -
-

refusesFirstResponder

-- (BOOL) refusesFirstResponder;
- - -
-

representedObject

-- (id) representedObject;
- - -
-

resetCursorRect:

-- (void) resetCursorRect: (NSRect)cellFrame;
- - -
-

sendActionOn:

-- (int) sendActionOn: (int)mask;
- - -
-

sendsActionOnEndEditing

-- (BOOL) sendsActionOnEndEditing;
- - -
-

setAction:

-- (void) setAction: (SEL)aSelector;
- - -
-

setAlignment:

-- (void) setAlignment: (NSTextAlignment)mode;
- - -
-

setAllowsEditingTextAttributes:

-- (void) setAllowsEditingTextAttributes: (BOOL)flag;
- - -
-

setAllowsMixedState:

-- (void) setAllowsMixedState: (BOOL)flag;
- - -
-

setAttributedStringValue:

-- (void) setAttributedStringValue: (NSAttributedString*)attribStr;
- - -
-

setBezeled:

-- (void) setBezeled: (BOOL)flag;
- - -
-

setBordered:

-- (void) setBordered: (BOOL)flag;
- - -
-

setCellAttribute:

-- (void) setCellAttribute: (NSCellAttribute)aParameter;
- - -
-

setContinuous:

-- (void) setContinuous: (BOOL)flag;
- - -
-

setDoubleValue:

-- (void) setDoubleValue: (double)aDouble;
- - -
-

setEditable:

-- (void) setEditable: (BOOL)flag;
- - -
-

setEnabled:

-- (void) setEnabled: (BOOL)flag;
- - -
-

setEntryType:

-- (void) setEntryType: (int)aType;
- - -
-

setFloatingPointFormat:left:right:

-- (void) setFloatingPointFormat: (BOOL)autoRange left: (unsigned int)leftDigits right: (unsigned int)rightDigits;
- - -
-

setFloatValue:

-- (void) setFloatValue: (float)aFloat;
- - -
-

setFont:

-- (void) setFont: (NSFont*)fontObj;
- - -
-

setFormatter:

-- (void) setFormatter: (NSFormatter*)newFormatter;
- - -
-

setImage:

-- (void) setImage: (NSImage*)image;
- - -
-

setImportsGraphics:

-- (void) setImportsGraphics: (BOOL)flag;
- - -
-

setIntValue:

-- (void) setIntValue: (int)anInt;
- - -
-

setMenu:

-- (void) setMenu: (NSMenu*)aMenu;
- - -
-

setMnemonicLocation:

-- (void) setMnemonicLocation: (unsigned int)location;
- - -
-

setNextState

-- (void) setNextState;
- - -
-

setObjectValue:

-- (void) setObjectValue: (id)object;
- - -
-

setRefusesFirstResponder:

-- (void) setRefusesFirstResponder: (BOOL)flag;
- - -
-

setRepresentedObject:

-- (void) setRepresentedObject: (id)anObject;
- - -
-

setScrollable:

-- (void) setScrollable: (BOOL)flag;
- - -
-

setSelectable:

-- (void) setSelectable: (BOOL)flag;
- - -
-

setSendsActionOnEndEditing:

-- (void) setSendsActionOnEndEditing: (BOOL)flag;
- - -
-

setShowsFirstResponder:

-- (void) setShowsFirstResponder: (BOOL)flag;
- - -
-

setState:

-- (void) setState: (int)value;
- - -
-

setStringValue:

-- (void) setStringValue: (NSString*)aString;
- - -
-

setTag:

-- (void) setTag: (int)anInt;
- - -
-

setTarget:

-- (void) setTarget: (id)anObject;
- - -
-

setTitleWithMnemonic:

-- (void) setTitleWithMnemonic: (NSString*)aString;
- - -
-

setType:

-- (void) setType: (NSCellType)aType;
- - -
-

setUpFieldEditorAttributes:

-- (NSText*) setUpFieldEditorAttributes: (NSText*)textObj;
- - -
-

setWraps:

-- (void) setWraps: (BOOL)flag;
- - -
-

showsFirstResponder

-- (BOOL) showsFirstResponder;
- - -
-

startTrackingAt:

-- (BOOL) startTrackingAt: (NSPoint)startPoint;
- - -
-

state

-- (int) state;
- - -
-

stopTracking:at:inView:

-- (void) stopTracking: (NSPoint)lastPoint at: (NSPoint)stopPoint inView: (NSView*)controlView;
- - -
-

stringValue

-- (NSString*) stringValue;
- - -
-

tag

-- (int) tag;
- - -
-

takeDoubleValueFrom:

-- (void) takeDoubleValueFrom: (id)sender;
- - -
-

takeFloatValueFrom:

-- (void) takeFloatValueFrom: (id)sender;
- - -
-

takeIntValueFrom:

-- (void) takeIntValueFrom: (id)sender;
- - -
-

takeObjectValueFrom:

-- (void) takeObjectValueFrom: (id)sender;
- - -
-

takeStringValueFrom:

-- (void) takeStringValueFrom: (id)sender;
- - -
-

target

-- (id) target;
- - -
-

titleRectForBounds:

-- (NSRect) titleRectForBounds: (NSRect)theRect;
- - -
-

trackMouse:inRect:ofView:untilMouseUp:

-- (BOOL) trackMouse: (NSEvent*)theEvent inRect: (NSRect)cellFrame ofView: (NSView*)controlView untilMouseUp: (BOOL)untilMouseUp;
- - -
-

type

-- (NSCellType) type;
- - -
-

wraps

-- (BOOL) wraps;
- - -
- - - + + + NSCell + + +

NSCell

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
+
+The abstract cell class
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSCell class +

+

NSCell : NSObject

+ Declared: AppKit/NSCell.h
+ Conform: NSCopying
+ Conform: NSCoding
+

+ +

+

defaultMenu

+ + (NSMenu*) defaultMenu;
+

+ +

+
+

prefersTrackingUntilMouseUp

+ + (BOOL) prefersTrackingUntilMouseUp;
+

+ +

+
+

acceptsFirstResponder

+ - (BOOL) acceptsFirstResponder;
+

+ +

+
+

action

+ - (SEL) action;
+

+ +

+
+

alignment

+ - (NSTextAlignment) alignment;
+

+ +

+
+

allowsEditingTextAttributes

+ - (BOOL) allowsEditingTextAttributes;
+

+ +

+
+

allowsMixedState

+ - (BOOL) allowsMixedState;
+

+ +

+
+

attributedStringValue

+ - (NSAttributedString*) attributedStringValue;
+

+ +

+
+

calcDrawInfo:

+ - (void) calcDrawInfo: (NSRect)aRect;
+

+ +

+
+

cellAttribute:

+ - (int) cellAttribute: (NSCellAttribute)aParameter;
+

+ +

+
+

cellSize

+ - (NSSize) cellSize;
+

+ +

+
+

cellSizeForBounds:

+ - (NSSize) cellSizeForBounds: (NSRect)aRect;
+

+ +

+
+

compare:

+ - (NSComparisonResult) compare: (id)otherCell;
+

+ +

+
+

continueTracking:at:inView:

+ - (BOOL) continueTracking: (NSPoint)lastPoint at: (NSPoint)currentPoint inView: (NSView*)controlView;
+

+ +

+
+

controlView

+ - (NSView*) controlView;
+

+ +

+
+

doubleValue

+ - (double) doubleValue;
+

+ +

+
+

drawInteriorWithFrame:inView:

+ - (void) drawInteriorWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
+

+ +

+
+

drawWithFrame:inView:

+ - (void) drawWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
+

+ +

+
+

drawingRectForBounds:

+ - (NSRect) drawingRectForBounds: (NSRect)theRect;
+

+ +

+
+

editWithFrame:inView:editor:delegate:event:

+ - (void) editWithFrame: (NSRect)aRect inView: (NSView*)controlView editor: (NSText*)textObject delegate: (id)anObject event: (NSEvent*)theEvent;
+

+ +

+
+

encodeWithCoder:

+ - (void) encodeWithCoder: (NSCoder*)aCoder;
+

+ +

+
+

endEditing:

+ - (void) endEditing: (NSText*)textObject;
+

+ +

+
+

entryType

+ - (int) entryType;
+

+ +

+
+

floatValue

+ - (float) floatValue;
+

+ +

+
+

font

+ - (NSFont*) font;
+

+ +

+
+

formatter

+ - (id) formatter;
+

+ +

+
+

getPeriodicDelay:interval:

+ - (void) getPeriodicDelay: (float*)delay interval: (float*)interval;
+

+ +

+
+

hasValidObjectValue

+ - (BOOL) hasValidObjectValue;
+

+ +

+
+

highlight:withFrame:inView:

+ - (void) highlight: (BOOL)lit withFrame: (NSRect)cellFrame inView: (NSView*)controlView;
+

+ +

+
+

image

+ - (NSImage*) image;
+

+ +

+
+

imageRectForBounds:

+ - (NSRect) imageRectForBounds: (NSRect)theRect;
+

+ +

+
+

importsGraphics

+ - (BOOL) importsGraphics;
+

+ +

+
+

initImageCell:

+ - (id) initImageCell: (NSImage*)anImage;
+

+ +

+
+

initTextCell:

+ - (id) initTextCell: (NSString*)aString;
+

+ +

+
+

initWithCoder:

+ - (id) initWithCoder: (NSCoder*)aDecoder;
+

+ +

+
+

intValue

+ - (int) intValue;
+

+ +

+
+

isBezeled

+ - (BOOL) isBezeled;
+

+ +

+
+

isBordered

+ - (BOOL) isBordered;
+

+ +

+
+

isContinuous

+ - (BOOL) isContinuous;
+

+ +

+
+

isEditable

+ - (BOOL) isEditable;
+

+ +

+
+

isEnabled

+ - (BOOL) isEnabled;
+

+ +

+
+

isEntryAcceptable:

+ - (BOOL) isEntryAcceptable: (NSString*)aString;
+

+ +

+
+

isHighlighted

+ - (BOOL) isHighlighted;
+

+ +

+
+

isOpaque

+ - (BOOL) isOpaque;
+

+ +

+
+

isScrollable

+ - (BOOL) isScrollable;
+

+ +

+
+

isSelectable

+ - (BOOL) isSelectable;
+

+ +

+
+

keyEquivalent

+ - (NSString*) keyEquivalent;
+

+ +

+
+

menu

+ - (NSMenu*) menu;
+

+ +

+
+

menuForEvent:inRect:ofView:

+ - (NSMenu*) menuForEvent: (NSEvent*)anEvent inRect: (NSRect)cellFrame ofView: (NSView*)aView;
+

+ +

+
+

mnemonic

+ - (NSString*) mnemonic;
+

+ +

+
+

mnemonicLocation

+ - (unsigned int) mnemonicLocation;
+

+ +

+
+

mouseDownFlags

+ - (int) mouseDownFlags;
+

+ +

+
+

nextState

+ - (int) nextState;
+

+ +

+
+

objectValue

+ - (id) objectValue;
+

+ +

+
+

performClick:

+ - (void) performClick: (id)sender;
+

+ +

+
+

refusesFirstResponder

+ - (BOOL) refusesFirstResponder;
+

+ +

+
+

representedObject

+ - (id) representedObject;
+

+ +

+
+

resetCursorRect:inView:

+ - (void) resetCursorRect: (NSRect)cellFrame inView: (NSView*)controlView;
+

+ +

+
+

selectWithFrame:inView:editor:delegate:start:length:

+ - (void) selectWithFrame: (NSRect)aRect inView: (NSView*)controlView editor: (NSText*)textObject delegate: (id)anObject start: (int)selStart length: (int)selLength;
+

+ +

+
+

sendActionOn:

+ - (int) sendActionOn: (int)mask;
+

+ +

+
+

sendsActionOnEndEditing

+ - (BOOL) sendsActionOnEndEditing;
+

+ +

+
+

setAction:

+ - (void) setAction: (SEL)aSelector;
+

+ +

+
+

setAlignment:

+ - (void) setAlignment: (NSTextAlignment)mode;
+

+ +

+
+

setAllowsEditingTextAttributes:

+ - (void) setAllowsEditingTextAttributes: (BOOL)flag;
+

+ +

+
+

setAllowsMixedState:

+ - (void) setAllowsMixedState: (BOOL)flag;
+

+ +

+
+

setAttributedStringValue:

+ - (void) setAttributedStringValue: (NSAttributedString*)attribStr;
+

+ +

+
+

setBezeled:

+ - (void) setBezeled: (BOOL)flag;
+

+ +

+
+

setBordered:

+ - (void) setBordered: (BOOL)flag;
+

+ +

+
+

setCellAttribute:to:

+ - (void) setCellAttribute: (NSCellAttribute)aParameter to: (int)value;
+

+ +

+
+

setContinuous:

+ - (void) setContinuous: (BOOL)flag;
+

+ +

+
+

setDoubleValue:

+ - (void) setDoubleValue: (double)aDouble;
+

+ +

+
+

setEditable:

+ - (void) setEditable: (BOOL)flag;
+

+ +

+
+

setEnabled:

+ - (void) setEnabled: (BOOL)flag;
+

+ +

+
+

setEntryType:

+ - (void) setEntryType: (int)aType;
+

+ +

+
+

setFloatValue:

+ - (void) setFloatValue: (float)aFloat;
+

+ +

+
+

setFloatingPointFormat:left:right:

+ - (void) setFloatingPointFormat: (BOOL)autoRange left: (unsigned int)leftDigits right: (unsigned int)rightDigits;
+

+ +

+
+

setFont:

+ - (void) setFont: (NSFont*)fontObject;
+

+ +

+
+

setFormatter:

+ - (void) setFormatter: (NSFormatter*)newFormatter;
+

+ +

+
+

setImage:

+ - (void) setImage: (NSImage*)anImage;
+

+ +

+
+

setImportsGraphics:

+ - (void) setImportsGraphics: (BOOL)flag;
+

+ +

+
+

setIntValue:

+ - (void) setIntValue: (int)anInt;
+

+ +

+
+

setMenu:

+ - (void) setMenu: (NSMenu*)aMenu;
+

+ +

+
+

setMnemonicLocation:

+ - (void) setMnemonicLocation: (unsigned int)location;
+

+ +

+
+

setNextState

+ - (void) setNextState;
+

+ +

+
+

setObjectValue:

+ - (void) setObjectValue: (id)object;
+

+ +

+
+

setRefusesFirstResponder:

+ - (void) setRefusesFirstResponder: (BOOL)flag;
+

+ +

+
+

setRepresentedObject:

+ - (void) setRepresentedObject: (id)anObject;
+

+ +

+
+

setScrollable:

+ - (void) setScrollable: (BOOL)flag;
+

+ +

+
+

setSelectable:

+ - (void) setSelectable: (BOOL)flag;
+

+ +

+
+

setSendsActionOnEndEditing:

+ - (void) setSendsActionOnEndEditing: (BOOL)flag;
+

+ +

+
+

setShowsFirstResponder:

+ - (void) setShowsFirstResponder: (BOOL)flag;
+

+ +

+
+

setState:

+ - (void) setState: (int)value;
+

+ +

+
+

setStringValue:

+ - (void) setStringValue: (NSString*)aString;
+

+ +

+
+

setTag:

+ - (void) setTag: (int)anInt;
+

+ +

+
+

setTarget:

+ - (void) setTarget: (id)anObject;
+

+ +

+
+

setTitleWithMnemonic:

+ - (void) setTitleWithMnemonic: (NSString*)aString;
+

+ +

+
+

setType:

+ - (void) setType: (NSCellType)aType;
+

+ +

+
+

setUpFieldEditorAttributes:

+ - (NSText*) setUpFieldEditorAttributes: (NSText*)textObject;
+

+ +

+
+

setWraps:

+ - (void) setWraps: (BOOL)flag;
+

+ +

+
+

showsFirstResponder

+ - (BOOL) showsFirstResponder;
+

+ +

+
+

startTrackingAt:inView:

+ - (BOOL) startTrackingAt: (NSPoint)startPoint inView: (NSView*)controlView;
+

+ +

+
+

state

+ - (int) state;
+

+ +

+
+

stopTracking:at:inView:mouseIsUp:

+ - (void) stopTracking: (NSPoint)lastPoint at: (NSPoint)stopPoint inView: (NSView*)controlView mouseIsUp: (BOOL)flag;
+

+ +

+
+

stringValue

+ - (NSString*) stringValue;
+

+ +

+
+

tag

+ - (int) tag;
+

+ +

+
+

takeDoubleValueFrom:

+ - (void) takeDoubleValueFrom: (id)sender;
+

+ +

+
+

takeFloatValueFrom:

+ - (void) takeFloatValueFrom: (id)sender;
+

+ +

+
+

takeIntValueFrom:

+ - (void) takeIntValueFrom: (id)sender;
+

+ +

+
+

takeObjectValueFrom:

+ - (void) takeObjectValueFrom: (id)sender;
+

+ +

+
+

takeStringValueFrom:

+ - (void) takeStringValueFrom: (id)sender;
+

+ +

+
+

target

+ - (id) target;
+

+ +

+
+

titleRectForBounds:

+ - (NSRect) titleRectForBounds: (NSRect)theRect;
+

+ +

+
+

trackMouse:inRect:ofView:untilMouseUp:

+ - (BOOL) trackMouse: (NSEvent*)theEvent inRect: (NSRect)cellFrame ofView: (NSView*)controlView untilMouseUp: (BOOL)flag;
+

+ +

+
+

type

+ - (NSCellType) type;
+

+ +

+
+

wraps

+ - (BOOL) wraps;
+

+ +

+
+

+ Software documentation for the NSCell(PrivateMethods) + category +

+

NSCell(PrivateMethods)

+ Declared: AppKit/NSCell.h
+

+ +

+

_drawAttributedText:inFrame:

+ - (void) _drawAttributedText: (NSAttributedString*)title inFrame: (NSRect)cellFrame;
+

+ +

+
+

_drawText:inFrame:

+ - (void) _drawText: (NSString*)title inFrame: (NSRect)cellFrame;
+

+ +

+
+

_nonAutoreleasedTypingAttributes

+ - (NSMutableDictionary*) _nonAutoreleasedTypingAttributes;
+

+ +

+
+

_sizeText:

+ - (NSSize) _sizeText: (NSString*)title;
+

+ +

+
+

textColor

+ - (NSColor*) textColor;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSClipView.gsdoc b/Documentation/gsdoc/NSClipView.gsdoc index 8621d550a..48bc59d5a 100644 --- a/Documentation/gsdoc/NSClipView.gsdoc +++ b/Documentation/gsdoc/NSClipView.gsdoc @@ -1,23 +1,29 @@ - - + + NSClipView - - - + + + ovidiu@net-community.com + - $Revision$ - $Date$ + + + richard@brainstorm.co.uk + + + 1996 Free Software Foundation, Inc. - NSClipView + + Software documentation for the NSClipView class + - Gui/NSClipView.h - NSCoding - - + AppKit/NSClipView.h + + acceptsFirstResponder @@ -34,11 +40,6 @@ - - becomeFirstResponder - - - constrainScrollPoint: proposedNewOrigin @@ -70,6 +71,11 @@ + + drawsBackground + + + isFlipped @@ -89,7 +95,7 @@ scrollToPoint: - newOrigin + point @@ -101,7 +107,7 @@ setBoundsOrigin: - aPoint + point @@ -135,6 +141,12 @@ + + setDrawsBackground: + flag + + + setFrameOrigin: aPoint @@ -153,12 +165,6 @@ - - setNextKeyView: - aView - - - translateOriginToPoint: aPoint @@ -179,5 +185,24 @@ + + + Software documentation for the + NSClipView(BackendMethods) category + + + AppKit/NSClipView.h + + + + _translateToPoint: + point + oldPoint: + oldPoint + + + + + diff --git a/Documentation/gsdoc/NSClipView.html b/Documentation/gsdoc/NSClipView.html index a225ccce3..6552854be 100644 --- a/Documentation/gsdoc/NSClipView.html +++ b/Documentation/gsdoc/NSClipView.html @@ -1,202 +1,213 @@ - - NSClipView - - -[Previous] -[Up] -[Next] -

NSClipView

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSClipView

-

NSClipView

-

Declared in: Gui/NSClipView.h

-

Inherits from: NSView

-

Conforms to: NSCoding -

-
+ + + NSClipView + + +

NSClipView

+

Authors

+
+
Ovidiu Predescu( + ovidiu@net-community.com + )
+
+
+
Richard Frith-Macdonald( + richard@brainstorm.co.uk + )
+
+
+
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSClipView class +

+

NSClipView : NSView

+ Declared: AppKit/NSClipView.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

acceptsFirstResponder

-- (BOOL) acceptsFirstResponder;
+

+

acceptsFirstResponder

+ - (BOOL) acceptsFirstResponder;
+

- -


-

autoscroll:

-- (BOOL) autoscroll: (NSEvent*)theEvent;
+

+
+

autoscroll:

+ - (BOOL) autoscroll: (NSEvent*)theEvent;
+

- -


-

backgroundColor

-- (NSColor*) backgroundColor;
+

+
+

backgroundColor

+ - (NSColor*) backgroundColor;
+

- -


-

becomeFirstResponder

-- (BOOL) becomeFirstResponder;
+

+
+

constrainScrollPoint:

+ - (NSPoint) constrainScrollPoint: (NSPoint)proposedNewOrigin;
+

- -


-

constrainScrollPoint:

-- (NSPoint) constrainScrollPoint: (NSPoint)proposedNewOrigin;
+

+
+

copiesOnScroll

+ - (BOOL) copiesOnScroll;
+

- -


-

copiesOnScroll

-- (BOOL) copiesOnScroll;
+

+
+

documentCursor

+ - (NSCursor*) documentCursor;
+

- -


-

documentCursor

-- (NSCursor*) documentCursor;
+

+
+

documentRect

+ - (NSRect) documentRect;
+

- -


-

documentRect

-- (NSRect) documentRect;
+

+
+

documentView

+ - (id) documentView;
+

- -


-

documentView

-- (id) documentView;
+

+
+

documentVisibleRect

+ - (NSRect) documentVisibleRect;
+

- -


-

documentVisibleRect

-- (NSRect) documentVisibleRect;
+

+
+

drawsBackground

+ - (BOOL) drawsBackground;
+

- -


-

isFlipped

-- (BOOL) isFlipped;
+

+
+

isFlipped

+ - (BOOL) isFlipped;
+

- -


-

rotateByAngle:

-- (void) rotateByAngle: (float)angle;
+

+
+

rotateByAngle:

+ - (void) rotateByAngle: (float)angle;
+

- -


-

scaleUnitSquareToSize:

-- (void) scaleUnitSquareToSize: (NSSize)newUnitSize;
+

+
+

scaleUnitSquareToSize:

+ - (void) scaleUnitSquareToSize: (NSSize)newUnitSize;
+

- -


-

scrollToPoint:

-- (void) scrollToPoint: (NSPoint)newOrigin;
+

+
+

scrollToPoint:

+ - (void) scrollToPoint: (NSPoint)point;
+

- -


-

setBackgroundColor:

-- (void) setBackgroundColor: (NSColor*)aColor;
+

+
+

setBackgroundColor:

+ - (void) setBackgroundColor: (NSColor*)aColor;
+

- -


-

setBoundsOrigin:

-- (void) setBoundsOrigin: (NSPoint)aPoint;
+

+
+

setBoundsOrigin:

+ - (void) setBoundsOrigin: (NSPoint)point;
+

- -


-

setBoundsRotation:

-- (void) setBoundsRotation: (float)angle;
+

+
+

setBoundsRotation:

+ - (void) setBoundsRotation: (float)angle;
+

- -


-

setBoundsSize:

-- (void) setBoundsSize: (NSSize)aSize;
+

+
+

setBoundsSize:

+ - (void) setBoundsSize: (NSSize)aSize;
+

- -


-

setCopiesOnScroll:

-- (void) setCopiesOnScroll: (BOOL)flag;
+

+
+

setCopiesOnScroll:

+ - (void) setCopiesOnScroll: (BOOL)flag;
+

- -


-

setDocumentCursor:

-- (void) setDocumentCursor: (NSCursor*)aCursor;
+

+
+

setDocumentCursor:

+ - (void) setDocumentCursor: (NSCursor*)aCursor;
+

- -


-

setDocumentView:

-- (void) setDocumentView: (NSView*)aView;
+

+
+

setDocumentView:

+ - (void) setDocumentView: (NSView*)aView;
+

- -


-

setFrameOrigin:

-- (void) setFrameOrigin: (NSPoint)aPoint;
+

+
+

setDrawsBackground:

+ - (void) setDrawsBackground: (BOOL)flag;
+

- -


-

setFrameRotation:

-- (void) setFrameRotation: (float)angle;
+

+
+

setFrameOrigin:

+ - (void) setFrameOrigin: (NSPoint)aPoint;
+

- -


-

setFrameSize:

-- (void) setFrameSize: (NSSize)aSize;
+

+
+

setFrameRotation:

+ - (void) setFrameRotation: (float)angle;
+

- -


-

setNextKeyView:

-- (void) setNextKeyView: (NSView*)aView;
+

+
+

setFrameSize:

+ - (void) setFrameSize: (NSSize)aSize;
+

- -


-

translateOriginToPoint:

-- (void) translateOriginToPoint: (NSPoint)aPoint;
+

+
+

translateOriginToPoint:

+ - (void) translateOriginToPoint: (NSPoint)aPoint;
+

- -


-

viewBoundsChanged:

-- (void) viewBoundsChanged: (NSNotification*)aNotification;
+

+
+

viewBoundsChanged:

+ - (void) viewBoundsChanged: (NSNotification*)aNotification;
+

- -


-

viewFrameChanged:

-- (void) viewFrameChanged: (NSNotification*)aNotification;
+

+
+

viewFrameChanged:

+ - (void) viewFrameChanged: (NSNotification*)aNotification;
+

- -


- - - +

+
+

+ Software documentation for the + NSClipView(BackendMethods) category +

+

NSClipView(BackendMethods)

+ Declared: AppKit/NSClipView.h
+

+ +

+

_translateToPoint:oldPoint:

+ - (void) _translateToPoint: (NSPoint)point oldPoint: (NSPoint)oldPoint;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSColor.gsdoc b/Documentation/gsdoc/NSColor.gsdoc index 2ca389570..983a2dae9 100644 --- a/Documentation/gsdoc/NSColor.gsdoc +++ b/Documentation/gsdoc/NSColor.gsdoc @@ -1,23 +1,27 @@ - - + + NSColor - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + The colorful color class + 1996, 1998 Free Software Foundation, Inc. - NSColor - - Gui/NSColor.h + + Software documentation for the NSColor class + + + AppKit/NSColor.h NSCoding - - + NSCopying + + blackColor @@ -38,6 +42,12 @@ + + colorForControlTint: + controlTint + + + colorFromPasteboard: pasteBoard @@ -71,6 +81,8 @@ colorWithCalibratedWhite: white + alpha: + alpha @@ -91,6 +103,8 @@ yellow black: black + alpha: + alpha @@ -121,6 +135,14 @@ colorWithDeviceWhite: white + alpha: + alpha + + + + + colorWithPatternImage: + image @@ -189,6 +211,16 @@ + + headerColor + + + + + headerTextColor + + + highlightColor @@ -300,6 +332,11 @@ + + windowBackgroundColor + + + windowFrameColor @@ -327,7 +364,9 @@ blendedColorWithFraction: - fractiono + fraction + ofColor: + aColor @@ -365,6 +404,8 @@ colorUsingColorSpaceName: colorSpace + device: + deviceDescription @@ -391,9 +432,11 @@ magenta: magenta yellow: - yellow + yellow black: black + alpha: + alpha @@ -403,7 +446,7 @@ saturation: saturation brightness: - brightness + brightness alpha: alpha @@ -415,7 +458,7 @@ green: green blue: - blue + blue alpha: alpha @@ -424,6 +467,8 @@ getWhite: white + alpha: + alpha @@ -434,7 +479,7 @@ highlightWithLevel: - highlightLevel + level @@ -458,6 +503,11 @@ + + patternImage + + + redComponent @@ -475,7 +525,7 @@ shadowWithLevel: - shadowLevel + level @@ -497,5 +547,21 @@ + + + Software documentation for the + NSCoder(NSCoderAdditions) category + + + AppKit/NSColor.h + + + + decodeNXColor + + + + + diff --git a/Documentation/gsdoc/NSColor.html b/Documentation/gsdoc/NSColor.html index 8f1e8e84c..6101ec839 100644 --- a/Documentation/gsdoc/NSColor.html +++ b/Documentation/gsdoc/NSColor.html @@ -1,521 +1,566 @@ - - NSColor - - -[Previous] -[Up] -[Next] -

NSColor

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSColor

-

NSColor

-

Declared in: Gui/NSColor.h

-

Inherits from: NSResponder

-

Conforms to: NSCoding -

-
- - -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

blackColor

-+ (NSColor*) blackColor;
- - -
-

blueColor

-+ (NSColor*) blueColor;
- - -
-

brownColor

-+ (NSColor*) brownColor;
- - -
-

clearColor

-+ (NSColor*) clearColor;
- - -
-

colorFromPasteboard:

-+ (NSColor*) colorFromPasteboard: (NSPasteboard*)pasteBoard;
- - -
-

colorWithCalibratedHue:saturation:brightness:alpha:

-+ (NSColor*) colorWithCalibratedHue: (float)hue saturation: (float)saturation brightness: (float)brightness alpha: (float)alpha;
- - -
-

colorWithCalibratedRed:green:blue:alpha:

-+ (NSColor*) colorWithCalibratedRed: (float)red green: (float)green blue: (float)blue alpha: (float)alpha;
- - -
-

colorWithCalibratedWhite:

-+ (NSColor*) colorWithCalibratedWhite: (float)white;
- - -
-

colorWithCatalogName:colorName:

-+ (NSColor*) colorWithCatalogName: (NSString*)listName colorName: (NSString*)colorName;
- - -
-

colorWithDeviceCyan:magenta:yellow:black:

-+ (NSColor*) colorWithDeviceCyan: (float)cyan magenta: (float)magenta yellow: (float)yellow black: (float)black;
- - -
-

colorWithDeviceHue:saturation:brightness:alpha:

-+ (NSColor*) colorWithDeviceHue: (float)hue saturation: (float)saturation brightness: (float)brightness alpha: (float)alpha;
- - -
-

colorWithDeviceRed:green:blue:alpha:

-+ (NSColor*) colorWithDeviceRed: (float)red green: (float)green blue: (float)blue alpha: (float)alpha;
- - -
-

colorWithDeviceWhite:

-+ (NSColor*) colorWithDeviceWhite: (float)white;
- - -
-

controlBackgroundColor

-+ (NSColor*) controlBackgroundColor;
- - -
-

controlColor

-+ (NSColor*) controlColor;
- - -
-

controlDarkShadowColor

-+ (NSColor*) controlDarkShadowColor;
- - -
-

controlHighlightColor

-+ (NSColor*) controlHighlightColor;
- - -
-

controlLightHighlightColor

-+ (NSColor*) controlLightHighlightColor;
- - -
-

controlShadowColor

-+ (NSColor*) controlShadowColor;
- - -
-

controlTextColor

-+ (NSColor*) controlTextColor;
- - -
-

cyanColor

-+ (NSColor*) cyanColor;
- - -
-

darkGrayColor

-+ (NSColor*) darkGrayColor;
- - -
-

disabledControlTextColor

-+ (NSColor*) disabledControlTextColor;
- - -
-

grayColor

-+ (NSColor*) grayColor;
- - -
-

greenColor

-+ (NSColor*) greenColor;
- - -
-

gridColor

-+ (NSColor*) gridColor;
- - -
-

highlightColor

-+ (NSColor*) highlightColor;
- - -
-

ignoresAlpha

-+ (BOOL) ignoresAlpha;
- - -
-

keyboardFocusIndicatorColor

-+ (NSColor*) keyboardFocusIndicatorColor;
- - -
-

knobColor

-+ (NSColor*) knobColor;
- - -
-

lightGrayColor

-+ (NSColor*) lightGrayColor;
- - -
-

magentaColor

-+ (NSColor*) magentaColor;
- - -
-

orangeColor

-+ (NSColor*) orangeColor;
- - -
-

purpleColor

-+ (NSColor*) purpleColor;
- - -
-

redColor

-+ (NSColor*) redColor;
- - -
-

scrollBarColor

-+ (NSColor*) scrollBarColor;
- - -
-

selectedControlColor

-+ (NSColor*) selectedControlColor;
- - -
-

selectedControlTextColor

-+ (NSColor*) selectedControlTextColor;
- - -
-

selectedKnobColor

-+ (NSColor*) selectedKnobColor;
- - -
-

selectedMenuItemColor

-+ (NSColor*) selectedMenuItemColor;
- - -
-

selectedMenuItemTextColor

-+ (NSColor*) selectedMenuItemTextColor;
- - -
-

selectedTextBackgroundColor

-+ (NSColor*) selectedTextBackgroundColor;
- - -
-

selectedTextColor

-+ (NSColor*) selectedTextColor;
- - -
-

setIgnoresAlpha:

-+ (void) setIgnoresAlpha: (BOOL)flag;
- - -
-

shadowColor

-+ (NSColor*) shadowColor;
- - -
-

textBackgroundColor

-+ (NSColor*) textBackgroundColor;
- - -
-

textColor

-+ (NSColor*) textColor;
- - -
-

whiteColor

-+ (NSColor*) whiteColor;
- - -
-

windowFrameColor

-+ (NSColor*) windowFrameColor;
- - -
-

windowFrameTextColor

-+ (NSColor*) windowFrameTextColor;
- - -
-

yellowColor

-+ (NSColor*) yellowColor;
- - -
-

Instances Methods

-

alphaComponent

-- (float) alphaComponent;
- - -
-

blackComponent

-- (float) blackComponent;
- - -
-

blendedColorWithFraction:

-- (NSColor*) blendedColorWithFraction: (float)fractiono;
- - -
-

blueComponent

-- (float) blueComponent;
- - -
-

brightnessComponent

-- (float) brightnessComponent;
- - -
-

catalogNameComponent

-- (NSString*) catalogNameComponent;
- - -
-

colorNameComponent

-- (NSString*) colorNameComponent;
- - -
-

colorSpaceName

-- (NSString*) colorSpaceName;
- - -
-

colorUsingColorSpaceName:

-- (NSColor*) colorUsingColorSpaceName: (NSString*)colorSpace;
- - -
-

colorUsingColorSpaceName:

-- (NSColor*) colorUsingColorSpaceName: (NSString*)colorSpace;
- - -
-

colorWithAlphaComponent:

-- (NSColor*) colorWithAlphaComponent: (float)alpha;
- - -
-

cyanComponent

-- (float) cyanComponent;
- - -
-

drawSwatchInRect:

-- (void) drawSwatchInRect: (NSRect)rect;
- - -
-

getCyan:magenta:yellow:black:

-- (void) getCyan: (float*)cyan magenta: (float*)magenta yellow: (float *)yellow black: (float*)black;
- - -
-

getHue:saturation:brightness:alpha:

-- (void) getHue: (float*)hue saturation: (float*)saturation brightness: (float *)brightness alpha: (float*)alpha;
- - -
-

getRed:green:blue:alpha:

-- (void) getRed: (float*)red green: (float*)green blue: (float *)blue alpha: (float*)alpha;
- - -
-

getWhite:

-- (void) getWhite: (float*)white;
- - -
-

greenComponent

-- (float) greenComponent;
- - -
-

highlightWithLevel:

-- (NSColor*) highlightWithLevel: (float)highlightLevel;
- - -
-

hueComponent

-- (float) hueComponent;
- - -
-

localizedCatalogNameComponent

-- (NSString*) localizedCatalogNameComponent;
- - -
-

localizedColorNameComponent

-- (NSString*) localizedColorNameComponent;
- - -
-

magentaComponent

-- (float) magentaComponent;
- - -
-

redComponent

-- (float) redComponent;
- - -
-

saturationComponent

-- (float) saturationComponent;
- - -
-

set

-- (void) set;
- - -
-

shadowWithLevel:

-- (NSColor*) shadowWithLevel: (float)shadowLevel;
- - -
-

whiteComponent

-- (float) whiteComponent;
- - -
-

writeToPasteboard:

-- (void) writeToPasteboard: (NSPasteboard*)pasteBoard;
- - -
-

yellowComponent

-- (float) yellowComponent;
- - -
- - - + + + NSColor + + +

NSColor

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
+
+The colorful color class
+

Copyright: (C) 1996, 1998 Free Software Foundation, Inc.

+

+ Software documentation for the NSColor class +

+

NSColor : NSObject

+ Declared: AppKit/NSColor.h
+ Conform: NSCoding
+ Conform: NSCopying
+

+ +

+

blackColor

+ + (NSColor*) blackColor;
+

+ +

+
+

blueColor

+ + (NSColor*) blueColor;
+

+ +

+
+

brownColor

+ + (NSColor*) brownColor;
+

+ +

+
+

clearColor

+ + (NSColor*) clearColor;
+

+ +

+
+

colorForControlTint:

+ + (NSColor*) colorForControlTint: (NSControlTint)controlTint;
+

+ +

+
+

colorFromPasteboard:

+ + (NSColor*) colorFromPasteboard: (NSPasteboard*)pasteBoard;
+

+ +

+
+

colorWithCalibratedHue:saturation:brightness:alpha:

+ + (NSColor*) colorWithCalibratedHue: (float)hue saturation: (float)saturation brightness: (float)brightness alpha: (float)alpha;
+

+ +

+
+

colorWithCalibratedRed:green:blue:alpha:

+ + (NSColor*) colorWithCalibratedRed: (float)red green: (float)green blue: (float)blue alpha: (float)alpha;
+

+ +

+
+

colorWithCalibratedWhite:alpha:

+ + (NSColor*) colorWithCalibratedWhite: (float)white alpha: (float)alpha;
+

+ +

+
+

colorWithCatalogName:colorName:

+ + (NSColor*) colorWithCatalogName: (NSString*)listName colorName: (NSString*)colorName;
+

+ +

+
+

colorWithDeviceCyan:magenta:yellow:black:alpha:

+ + (NSColor*) colorWithDeviceCyan: (float)cyan magenta: (float)magenta yellow: (float)yellow black: (float)black alpha: (float)alpha;
+

+ +

+
+

colorWithDeviceHue:saturation:brightness:alpha:

+ + (NSColor*) colorWithDeviceHue: (float)hue saturation: (float)saturation brightness: (float)brightness alpha: (float)alpha;
+

+ +

+
+

colorWithDeviceRed:green:blue:alpha:

+ + (NSColor*) colorWithDeviceRed: (float)red green: (float)green blue: (float)blue alpha: (float)alpha;
+

+ +

+
+

colorWithDeviceWhite:alpha:

+ + (NSColor*) colorWithDeviceWhite: (float)white alpha: (float)alpha;
+

+ +

+
+

colorWithPatternImage:

+ + (NSColor*) colorWithPatternImage: (NSImage*)image;
+

+ +

+
+

controlBackgroundColor

+ + (NSColor*) controlBackgroundColor;
+

+ +

+
+

controlColor

+ + (NSColor*) controlColor;
+

+ +

+
+

controlDarkShadowColor

+ + (NSColor*) controlDarkShadowColor;
+

+ +

+
+

controlHighlightColor

+ + (NSColor*) controlHighlightColor;
+

+ +

+
+

controlLightHighlightColor

+ + (NSColor*) controlLightHighlightColor;
+

+ +

+
+

controlShadowColor

+ + (NSColor*) controlShadowColor;
+

+ +

+
+

controlTextColor

+ + (NSColor*) controlTextColor;
+

+ +

+
+

cyanColor

+ + (NSColor*) cyanColor;
+

+ +

+
+

darkGrayColor

+ + (NSColor*) darkGrayColor;
+

+ +

+
+

disabledControlTextColor

+ + (NSColor*) disabledControlTextColor;
+

+ +

+
+

grayColor

+ + (NSColor*) grayColor;
+

+ +

+
+

greenColor

+ + (NSColor*) greenColor;
+

+ +

+
+

gridColor

+ + (NSColor*) gridColor;
+

+ +

+
+

headerColor

+ + (NSColor*) headerColor;
+

+ +

+
+

headerTextColor

+ + (NSColor*) headerTextColor;
+

+ +

+
+

highlightColor

+ + (NSColor*) highlightColor;
+

+ +

+
+

ignoresAlpha

+ + (BOOL) ignoresAlpha;
+

+ +

+
+

keyboardFocusIndicatorColor

+ + (NSColor*) keyboardFocusIndicatorColor;
+

+ +

+
+

knobColor

+ + (NSColor*) knobColor;
+

+ +

+
+

lightGrayColor

+ + (NSColor*) lightGrayColor;
+

+ +

+
+

magentaColor

+ + (NSColor*) magentaColor;
+

+ +

+
+

orangeColor

+ + (NSColor*) orangeColor;
+

+ +

+
+

purpleColor

+ + (NSColor*) purpleColor;
+

+ +

+
+

redColor

+ + (NSColor*) redColor;
+

+ +

+
+

scrollBarColor

+ + (NSColor*) scrollBarColor;
+

+ +

+
+

selectedControlColor

+ + (NSColor*) selectedControlColor;
+

+ +

+
+

selectedControlTextColor

+ + (NSColor*) selectedControlTextColor;
+

+ +

+
+

selectedKnobColor

+ + (NSColor*) selectedKnobColor;
+

+ +

+
+

selectedMenuItemColor

+ + (NSColor*) selectedMenuItemColor;
+

+ +

+
+

selectedMenuItemTextColor

+ + (NSColor*) selectedMenuItemTextColor;
+

+ +

+
+

selectedTextBackgroundColor

+ + (NSColor*) selectedTextBackgroundColor;
+

+ +

+
+

selectedTextColor

+ + (NSColor*) selectedTextColor;
+

+ +

+
+

setIgnoresAlpha:

+ + (void) setIgnoresAlpha: (BOOL)flag;
+

+ +

+
+

shadowColor

+ + (NSColor*) shadowColor;
+

+ +

+
+

textBackgroundColor

+ + (NSColor*) textBackgroundColor;
+

+ +

+
+

textColor

+ + (NSColor*) textColor;
+

+ +

+
+

whiteColor

+ + (NSColor*) whiteColor;
+

+ +

+
+

windowBackgroundColor

+ + (NSColor*) windowBackgroundColor;
+

+ +

+
+

windowFrameColor

+ + (NSColor*) windowFrameColor;
+

+ +

+
+

windowFrameTextColor

+ + (NSColor*) windowFrameTextColor;
+

+ +

+
+

yellowColor

+ + (NSColor*) yellowColor;
+

+ +

+
+

alphaComponent

+ - (float) alphaComponent;
+

+ +

+
+

blackComponent

+ - (float) blackComponent;
+

+ +

+
+

blendedColorWithFraction:ofColor:

+ - (NSColor*) blendedColorWithFraction: (float)fraction ofColor: (NSColor*)aColor;
+

+ +

+
+

blueComponent

+ - (float) blueComponent;
+

+ +

+
+

brightnessComponent

+ - (float) brightnessComponent;
+

+ +

+
+

catalogNameComponent

+ - (NSString*) catalogNameComponent;
+

+ +

+
+

colorNameComponent

+ - (NSString*) colorNameComponent;
+

+ +

+
+

colorSpaceName

+ - (NSString*) colorSpaceName;
+

+ +

+
+

colorUsingColorSpaceName:

+ - (NSColor*) colorUsingColorSpaceName: (NSString*)colorSpace;
+

+ +

+
+

colorUsingColorSpaceName:device:

+ - (NSColor*) colorUsingColorSpaceName: (NSString*)colorSpace device: (NSDictionary*)deviceDescription;
+

+ +

+
+

colorWithAlphaComponent:

+ - (NSColor*) colorWithAlphaComponent: (float)alpha;
+

+ +

+
+

cyanComponent

+ - (float) cyanComponent;
+

+ +

+
+

drawSwatchInRect:

+ - (void) drawSwatchInRect: (NSRect)rect;
+

+ +

+
+

getCyan:magenta:yellow:black:alpha:

+ - (void) getCyan: (float*)cyan magenta: (float*)magenta yellow: (float*)yellow black: (float*)black alpha: (float*)alpha;
+

+ +

+
+

getHue:saturation:brightness:alpha:

+ - (void) getHue: (float*)hue saturation: (float*)saturation brightness: (float*)brightness alpha: (float*)alpha;
+

+ +

+
+

getRed:green:blue:alpha:

+ - (void) getRed: (float*)red green: (float*)green blue: (float*)blue alpha: (float*)alpha;
+

+ +

+
+

getWhite:alpha:

+ - (void) getWhite: (float*)white alpha: (float*)alpha;
+

+ +

+
+

greenComponent

+ - (float) greenComponent;
+

+ +

+
+

highlightWithLevel:

+ - (NSColor*) highlightWithLevel: (float)level;
+

+ +

+
+

hueComponent

+ - (float) hueComponent;
+

+ +

+
+

localizedCatalogNameComponent

+ - (NSString*) localizedCatalogNameComponent;
+

+ +

+
+

localizedColorNameComponent

+ - (NSString*) localizedColorNameComponent;
+

+ +

+
+

magentaComponent

+ - (float) magentaComponent;
+

+ +

+
+

patternImage

+ - (NSImage*) patternImage;
+

+ +

+
+

redComponent

+ - (float) redComponent;
+

+ +

+
+

saturationComponent

+ - (float) saturationComponent;
+

+ +

+
+

set

+ - (void) set;
+

+ +

+
+

shadowWithLevel:

+ - (NSColor*) shadowWithLevel: (float)level;
+

+ +

+
+

whiteComponent

+ - (float) whiteComponent;
+

+ +

+
+

writeToPasteboard:

+ - (void) writeToPasteboard: (NSPasteboard*)pasteBoard;
+

+ +

+
+

yellowComponent

+ - (float) yellowComponent;
+

+ +

+
+

+ Software documentation for the + NSCoder(NSCoderAdditions) category +

+

NSCoder(NSCoderAdditions)

+ Declared: AppKit/NSColor.h
+

+ +

+

decodeNXColor

+ - (NSColor*) decodeNXColor;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSColorList.gsdoc b/Documentation/gsdoc/NSColorList.gsdoc index 705e314ba..f7c2d0ec6 100644 --- a/Documentation/gsdoc/NSColorList.gsdoc +++ b/Documentation/gsdoc/NSColorList.gsdoc @@ -1,23 +1,31 @@ - - + + NSColorList - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + n.pero@mi.flashnet.it + + + Manage named lists of NSColors. + 1996, 2000 Free Software Foundation, Inc. - NSColorList + + Software documentation for the NSColorList class + - Gui/NSColorList.h + AppKit/NSColorList.h NSCoding - - + + availableColorLists @@ -40,6 +48,18 @@ + + encodeWithCoder: + aCoder + + + + + initWithCoder: + aDecoder + + + initWithName: name @@ -58,9 +78,9 @@ insertColor: color key: - key + key atIndex: - location + location @@ -87,7 +107,7 @@ setColor: - color + aColor forKey: key diff --git a/Documentation/gsdoc/NSColorList.html b/Documentation/gsdoc/NSColorList.html index 6435c4c17..d1cf4da89 100644 --- a/Documentation/gsdoc/NSColorList.html +++ b/Documentation/gsdoc/NSColorList.html @@ -1,113 +1,123 @@ - - NSColorList - - -[Previous] -[Up] -[Next] -

NSColorList

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSColorList

-

NSColorList

-

Declared in: Gui/NSColorList.h

-

Inherits from: NSObject

-

Conforms to: NSCoding -

-
+ + + NSColorList + + +

NSColorList

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Nicola Pero( + n.pero@mi.flashnet.it + )
+
+
+
+
+Manage named lists of NSColors.
+

Copyright: (C) 1996, 2000 Free Software Foundation, Inc.

+

+ Software documentation for the NSColorList class +

+

NSColorList : NSObject

+ Declared: AppKit/NSColorList.h
+ Conform: NSCoding
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

availableColorLists

-+ (NSArray*) availableColorLists;
+

+

availableColorLists

+ + (NSArray*) availableColorLists;
+

- -


-

colorListNamed:

-+ (NSColorList*) colorListNamed: (NSString*)name;
+

+
+

colorListNamed:

+ + (NSColorList*) colorListNamed: (NSString*)name;
+

- -


-

Instances Methods

-

allKeys

-- (NSArray*) allKeys;
+

+
+

allKeys

+ - (NSArray*) allKeys;
+

- -


-

colorWithKey:

-- (NSColor*) colorWithKey: (NSString*)key;
+

+
+

colorWithKey:

+ - (NSColor*) colorWithKey: (NSString*)key;
+

- -


-

initWithName:

-- (id) initWithName: (NSString*)name;
+

+
+

encodeWithCoder:

+ - (void) encodeWithCoder: (NSCoder*)aCoder;
+

- -


-

initWithName:fromFile:

-- (id) initWithName: (NSString*)name fromFile: (NSString*)path;
+

+
+

initWithCoder:

+ - (id) initWithCoder: (NSCoder*)aDecoder;
+

- -


-

insertColor:key:atIndex:

-- (void) insertColor: (NSColor*)color key: (NSString *)key atIndex: (unsigned int)location;
+

+
+

initWithName:

+ - (id) initWithName: (NSString*)name;
+

- -


-

isEditable

-- (BOOL) isEditable;
+

+
+

initWithName:fromFile:

+ - (id) initWithName: (NSString*)name fromFile: (NSString*)path;
+

- -


-

name

-- (NSString*) name;
+

+
+

insertColor:key:atIndex:

+ - (void) insertColor: (NSColor*)color key: (NSString*)key atIndex: (unsigned)location;
+

- -


-

removeColorWithKey:

-- (void) removeColorWithKey: (NSString*)key;
+

+
+

isEditable

+ - (BOOL) isEditable;
+

- -


-

removeFile

-- (void) removeFile;
+

+
+

name

+ - (NSString*) name;
+

- -


-

setColor:forKey:

-- (void) setColor: (NSColor*)color forKey: (NSString*)key;
+

+
+

removeColorWithKey:

+ - (void) removeColorWithKey: (NSString*)key;
+

- -


-

writeToFile:

-- (BOOL) writeToFile: (NSString*)path;
+

+
+

removeFile

+ - (void) removeFile;
+

- -


- - - +

+
+

setColor:forKey:

+ - (void) setColor: (NSColor*)aColor forKey: (NSString*)key;
+

+ +

+
+

writeToFile:

+ - (BOOL) writeToFile: (NSString*)path;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSColorPanel.gsdoc b/Documentation/gsdoc/NSColorPanel.gsdoc index f0826b1cf..dca1350e8 100644 --- a/Documentation/gsdoc/NSColorPanel.gsdoc +++ b/Documentation/gsdoc/NSColorPanel.gsdoc @@ -1,26 +1,28 @@ - - + + NSColorPanel - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + System generic color panel + 1996 Free Software Foundation, Inc. - NSColorPanel + + Software documentation for the NSColorPanel class + - Gui/NSColorPanel.h - NSCoding - - + AppKit/NSColorPanel.h + + dragColor: - color + aColor withEvent: anEvent fromView: @@ -62,7 +64,7 @@ attachColorList: - colorList + aColorList @@ -73,7 +75,7 @@
detachColorList: - colorList + aColorList @@ -95,13 +97,13 @@ setAction: - action + aSelector setColor: - color + aColor @@ -125,7 +127,7 @@ setTarget: - target + anObject @@ -134,12 +136,6 @@ - - changeColor: - sender - - -
diff --git a/Documentation/gsdoc/NSColorPanel.html b/Documentation/gsdoc/NSColorPanel.html index 4c978680f..8241d5943 100644 --- a/Documentation/gsdoc/NSColorPanel.html +++ b/Documentation/gsdoc/NSColorPanel.html @@ -1,161 +1,147 @@ - - NSColorPanel - - -[Previous] -[Up] -[Next] -

NSColorPanel

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSColorPanel

-

NSColorPanel

-

Declared in: Gui/NSColorPanel.h

-

Inherits from: NSPanel

-

Conforms to: NSCoding -

-
+ + + NSColorPanel + + +

NSColorPanel

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
+
+System generic color panel
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSColorPanel class +

+

NSColorPanel : NSPanel

+ Declared: AppKit/NSColorPanel.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

dragColor:withEvent:fromView:

-+ (BOOL) dragColor: (NSColor*)color withEvent: (NSEvent*)anEvent fromView: (NSView*)sourceView;
+

+

dragColor:withEvent:fromView:

+ + (BOOL) dragColor: (NSColor*)aColor withEvent: (NSEvent*)anEvent fromView: (NSView*)sourceView;
+

- -


-

setPickerMask:

-+ (void) setPickerMask: (int)mask;
+

+
+

setPickerMask:

+ + (void) setPickerMask: (int)mask;
+

- -


-

setPickerMode:

-+ (void) setPickerMode: (int)mode;
+

+
+

setPickerMode:

+ + (void) setPickerMode: (int)mode;
+

- -


-

sharedColorPanel

-+ (NSColorPanel*) sharedColorPanel;
+

+
+

sharedColorPanel

+ + (NSColorPanel*) sharedColorPanel;
+

- -


-

sharedColorPanelExists

-+ (BOOL) sharedColorPanelExists;
+

+
+

sharedColorPanelExists

+ + (BOOL) sharedColorPanelExists;
+

- -


-

Instances Methods

-

accessoryView

-- (NSView*) accessoryView;
+

+
+

accessoryView

+ - (NSView*) accessoryView;
+

- -


-

alpha

-- (float) alpha;
+

+
+

alpha

+ - (float) alpha;
+

- -


-

attachColorList:

-- (void) attachColorList: (NSColorList*)colorList;
+

+
+

attachColorList:

+ - (void) attachColorList: (NSColorList*)aColorList;
+

- -


-

color

-- (NSColor*) color;
+

+
+

color

+ - (NSColor*) color;
+

- -


-

detachColorList:

-- (void) detachColorList: (NSColorList*)colorList;
+

+
+

detachColorList:

+ - (void) detachColorList: (NSColorList*)aColorList;
+

- -


-

isContinuous

-- (BOOL) isContinuous;
+

+
+

isContinuous

+ - (BOOL) isContinuous;
+

- -


-

mode

-- (int) mode;
+

+
+

mode

+ - (int) mode;
+

- -


-

setAccessoryView:

-- (void) setAccessoryView: (NSView*)aView;
+

+
+

setAccessoryView:

+ - (void) setAccessoryView: (NSView*)aView;
+

- -


-

setAction:

-- (void) setAction: (SEL)action;
+

+
+

setAction:

+ - (void) setAction: (SEL)aSelector;
+

- -


-

setColor:

-- (void) setColor: (NSColor*)color;
+

+
+

setColor:

+ - (void) setColor: (NSColor*)aColor;
+

- -


-

setContinuous:

-- (void) setContinuous: (BOOL)flag;
+

+
+

setContinuous:

+ - (void) setContinuous: (BOOL)flag;
+

- -


-

setMode:

-- (void) setMode: (int)mode;
+

+
+

setMode:

+ - (void) setMode: (int)mode;
+

- -


-

setShowsAlpha:

-- (void) setShowsAlpha: (BOOL)flag;
+

+
+

setShowsAlpha:

+ - (void) setShowsAlpha: (BOOL)flag;
+

- -


-

setTarget:

-- (void) setTarget: (id)target;
+

+
+

setTarget:

+ - (void) setTarget: (id)anObject;
+

- -


-

showsAlpha

-- (BOOL) showsAlpha;
+

+
+

showsAlpha

+ - (BOOL) showsAlpha;
+

- -


-

changeColor:

-- (void) changeColor: (id)sender;
- - -
- - - +

+
+ + diff --git a/Documentation/gsdoc/NSColorPicker.gsdoc b/Documentation/gsdoc/NSColorPicker.gsdoc index 823f3536d..cf9583b84 100644 --- a/Documentation/gsdoc/NSColorPicker.gsdoc +++ b/Documentation/gsdoc/NSColorPicker.gsdoc @@ -1,23 +1,39 @@ - - + + NSColorPicker - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + jagapen@whitewater.chem.wisc.edu + + + + Abstract superclass for NSColorPanel color pickers + + 1996 Free Software Foundation, Inc. - NSColorPicker + + Software documentation for the NSColorPicker class + - Gui/NSColorPicker.h + AppKit/NSColorPicker.h NSColorPickingDefault + + + + alphaControlAddedOrRemoved: + sender + attachColorList: colorList @@ -37,15 +53,17 @@ initWithPickerMask: - mask + aMask colorPanel: - owningColorPanel + colorPanel insertNewButtonImage: - newButtonImage + newImage + in: + newButtonCell diff --git a/Documentation/gsdoc/NSColorPicker.html b/Documentation/gsdoc/NSColorPicker.html index 7e0edc09f..8da5aecd0 100644 --- a/Documentation/gsdoc/NSColorPicker.html +++ b/Documentation/gsdoc/NSColorPicker.html @@ -1,82 +1,89 @@ - - NSColorPicker - - -[Previous] -[Up] -[Next] -

NSColorPicker

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSColorPicker

-

NSColorPicker

-

Declared in: Gui/NSColorPicker.h

-

Inherits from: NSObject

-

Conforms to: NSColorPickingDefault -

-
+ + + NSColorPicker + + +

NSColorPicker

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Jonathan Gapen( + jagapen@whitewater.chem.wisc.edu + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

attachColorList:

-- (void) attachColorList: (NSColorList*)colorList;
+ Abstract superclass for NSColorPanel color pickers +
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSColorPicker class +

+

NSColorPicker : NSObject

+ Declared: AppKit/NSColorPicker.h
+ Conform: NSColorPickingDefault
+

- -


-

colorPanel

-- (NSColorPanel*) colorPanel;
+

+

alphaControlAddedOrRemoved:

+ - (void) alphaControlAddedOrRemoved: (id)sender;
+

- -


-

detachColorList:

-- (void) detachColorList: (NSColorList*)colorList;
+

+
+

attachColorList:

+ - (void) attachColorList: (NSColorList*)colorList;
+

- -


-

initWithPickerMask:colorPanel:

-- (id) initWithPickerMask: (int)mask colorPanel: (NSColorPanel*)owningColorPanel;
+

+
+

colorPanel

+ - (NSColorPanel*) colorPanel;
+

- -


-

insertNewButtonImage:

-- (void) insertNewButtonImage: (NSImage*)newButtonImage;
+

+
+

detachColorList:

+ - (void) detachColorList: (NSColorList*)colorList;
+

- -


-

provideNewButtonImage

-- (NSImage*) provideNewButtonImage;
+

+
+

initWithPickerMask:colorPanel:

+ - (id) initWithPickerMask: (int)aMask colorPanel: (NSColorPanel*)colorPanel;
+

- -


-

setMode:

-- (void) setMode: (int)mode;
+

+
+

insertNewButtonImage:in:

+ - (void) insertNewButtonImage: (NSImage*)newImage in: (NSButtonCell*)newButtonCell;
+

- -


-

viewSizeChanged:

-- (void) viewSizeChanged: (id)sender;
+

+
+

provideNewButtonImage

+ - (NSImage*) provideNewButtonImage;
+

- -


- - - +

+
+

setMode:

+ - (void) setMode: (int)mode;
+

+ +

+
+

viewSizeChanged:

+ - (void) viewSizeChanged: (id)sender;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSColorWell.gsdoc b/Documentation/gsdoc/NSColorWell.gsdoc index 9d965917b..257a54a69 100644 --- a/Documentation/gsdoc/NSColorWell.gsdoc +++ b/Documentation/gsdoc/NSColorWell.gsdoc @@ -1,23 +1,33 @@ - - + + NSColorWell - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + far@ix.netcom.com + + + + Control for selecting and display a single color value. + + 1996 Free Software Foundation, Inc. - NSColorWell + + Software documentation for the NSColorWell class + - Gui/NSColorWell.h + AppKit/NSColorWell.h NSCoding - - + + activate: exclusive @@ -40,6 +50,18 @@ + + encodeWithCoder: + aCoder + + + + + initWithCoder: + aDecoder + + + isActive diff --git a/Documentation/gsdoc/NSColorWell.html b/Documentation/gsdoc/NSColorWell.html index ac187586a..f2f6c7b5a 100644 --- a/Documentation/gsdoc/NSColorWell.html +++ b/Documentation/gsdoc/NSColorWell.html @@ -1,88 +1,101 @@ - - NSColorWell - - -[Previous] -[Up] -[Next] -

NSColorWell

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSColorWell

-

NSColorWell

-

Declared in: Gui/NSColorWell.h

-

Inherits from: NSControl

-

Conforms to: NSCoding -

-
+ + + NSColorWell + + +

NSColorWell

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

activate:

-- (void) activate: (BOOL)exclusive;
+ Control for selecting and display a single color value. +
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSColorWell class +

+

NSColorWell : NSControl

+ Declared: AppKit/NSColorWell.h
+ Conform: NSCoding
+

- -


-

color

-- (NSColor*) color;
+

+

activate:

+ - (void) activate: (BOOL)exclusive;
+

- -


-

deactivate

-- (void) deactivate;
+

+
+

color

+ - (NSColor*) color;
+

- -


-

drawWellInside:

-- (void) drawWellInside: (NSRect)insideRect;
+

+
+

deactivate

+ - (void) deactivate;
+

- -


-

isActive

-- (BOOL) isActive;
+

+
+

drawWellInside:

+ - (void) drawWellInside: (NSRect)insideRect;
+

- -


-

isBordered

-- (BOOL) isBordered;
+

+
+

encodeWithCoder:

+ - (void) encodeWithCoder: (NSCoder*)aCoder;
+

- -


-

setBordered:

-- (void) setBordered: (BOOL)bordered;
+

+
+

initWithCoder:

+ - (id) initWithCoder: (NSCoder*)aDecoder;
+

- -


-

setColor:

-- (void) setColor: (NSColor*)color;
+

+
+

isActive

+ - (BOOL) isActive;
+

- -


-

takeColorFrom:

-- (void) takeColorFrom: (id)sender;
+

+
+

isBordered

+ - (BOOL) isBordered;
+

- -


- - - +

+
+

setBordered:

+ - (void) setBordered: (BOOL)bordered;
+

+ +

+
+

setColor:

+ - (void) setColor: (NSColor*)color;
+

+ +

+
+

takeColorFrom:

+ - (void) takeColorFrom: (id)sender;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSComboBox.gsdoc b/Documentation/gsdoc/NSComboBox.gsdoc index 1293fc4e4..dbb824133 100644 --- a/Documentation/gsdoc/NSComboBox.gsdoc +++ b/Documentation/gsdoc/NSComboBox.gsdoc @@ -1,32 +1,33 @@ - - + + NSComboBox - - - + + + gerritvd@decillion.net + - $Revision$ - $Date$ + 1999 Free Software Foundation, Inc. - NSComboBox + + Software documentation for the NSComboBox class + - Gui/NSComboBox.h - NSObject - - + AppKit/NSComboBox.h + + - addItemsWithObjectValues: - objects + addItemWithObjectValue: + object - addItemWithObjectValue: - anObject + addItemsWithObjectValues: + objects @@ -46,12 +47,6 @@
- - encodeWithCoder: - encoder - - - hasVerticalScroller @@ -59,7 +54,7 @@ indexOfItemWithObjectValue: - anObject + object @@ -68,15 +63,11 @@ - - initWithCoder: - decoder - - - insertItemWithObjectValue: - anObject + object + atIndex: + index @@ -139,7 +130,7 @@ removeItemWithObjectValue: - anObject + object @@ -163,7 +154,7 @@ selectItemWithObjectValue: - anObject + object @@ -216,5 +207,83 @@
+ + + Software documentation for the + NSObject(NSComboBoxDataSource) + category + + + AppKit/NSComboBox.h + + + + comboBox: + aComboBox + completedString: + aString + + + + + comboBox: + aComboBox + indexOfItemWithStringValue: + string + + + + + comboBox: + aComboBox + objectValueForItemAtIndex: + index + + + + + numberOfItemsInComboBox: + aComboBox + + + + + + + + Software documentation for the + NSObject(NSComboBoxNotifications) + category + + + AppKit/NSComboBox.h + + + + comboBoxSelectionDidChange: + notification + + + + + comboBoxSelectionIsChanging: + notification + + + + + comboBoxWillDismiss: + notification + + + + + comboBoxWillPopUp: + notification + + + + +
diff --git a/Documentation/gsdoc/NSComboBox.html b/Documentation/gsdoc/NSComboBox.html index 5eb26f5b5..5ef3046ac 100644 --- a/Documentation/gsdoc/NSComboBox.html +++ b/Documentation/gsdoc/NSComboBox.html @@ -1,244 +1,291 @@ - - NSComboBox - - -[Previous] -[Up] -[Next] -

NSComboBox

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSComboBox

-

NSComboBox

-

Declared in: Gui/NSComboBox.h

-

Inherits from: NSTextField

-

Conforms to: NSObject -

-
+ + + NSComboBox + + +

NSComboBox

+

Authors

+
+
Gerrit van Dyk( + gerritvd@decillion.net + )
+
+
+
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSComboBox class +

+

NSComboBox : NSTextField

+ Declared: AppKit/NSComboBox.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

addItemsWithObjectValues:

-- (void) addItemsWithObjectValues: (id)objects;
+

+

addItemWithObjectValue:

+ - (void) addItemWithObjectValue: (id)object;
+

- -


-

addItemWithObjectValue:

-- (void) addItemWithObjectValue: (id)anObject;
+

+
+

addItemsWithObjectValues:

+ - (void) addItemsWithObjectValues: (NSArray*)objects;
+

- -


-

completes

-- (BOOL) completes;
+

+
+

completes

+ - (BOOL) completes;
+

- -


-

dataSource

-- (id) dataSource;
+

+
+

dataSource

+ - (id) dataSource;
+

- -


-

deselectItemAtIndex:

-- (void) deselectItemAtIndex: (int)index;
+

+
+

deselectItemAtIndex:

+ - (void) deselectItemAtIndex: (int)index;
+

- -


-

encodeWithCoder:

-- (void) encodeWithCoder: (NSCoder*)encoder;
+

+
+

hasVerticalScroller

+ - (BOOL) hasVerticalScroller;
+

- -


-

hasVerticalScroller

-- (BOOL) hasVerticalScroller;
+

+
+

indexOfItemWithObjectValue:

+ - (int) indexOfItemWithObjectValue: (id)object;
+

- -


-

indexOfItemWithObjectValue:

-- (int) indexOfItemWithObjectValue: (id)anObject;
+

+
+

indexOfSelectedItem

+ - (int) indexOfSelectedItem;
+

- -


-

indexOfSelectedItem

-- (int) indexOfSelectedItem;
+

+
+

insertItemWithObjectValue:atIndex:

+ - (void) insertItemWithObjectValue: (id)object atIndex: (int)index;
+

- -


-

initWithCoder:

-- (id) initWithCoder: (NSCoder*)decoder;
+

+
+

intercellSpacing

+ - (NSSize) intercellSpacing;
+

- -


-

insertItemWithObjectValue:

-- (void) insertItemWithObjectValue: (id)anObject;
+

+
+

itemHeight

+ - (float) itemHeight;
+

- -


-

intercellSpacing

-- (NSSize) intercellSpacing;
+

+
+

itemObjectValueAtIndex:

+ - (id) itemObjectValueAtIndex: (int)index;
+

- -


-

itemHeight

-- (float) itemHeight;
+

+
+

noteNumberOfItemsChanged

+ - (void) noteNumberOfItemsChanged;
+

- -


-

itemObjectValueAtIndex:

-- (id) itemObjectValueAtIndex: (int)index;
+

+
+

numberOfItems

+ - (int) numberOfItems;
+

- -


-

noteNumberOfItemsChanged

-- (void) noteNumberOfItemsChanged;
+

+
+

numberOfVisibleItems

+ - (int) numberOfVisibleItems;
+

- -


-

numberOfItems

-- (int) numberOfItems;
+

+
+

objectValueOfSelectedItem

+ - (id) objectValueOfSelectedItem;
+

- -


-

numberOfVisibleItems

-- (int) numberOfVisibleItems;
+

+
+

objectValues

+ - (NSArray*) objectValues;
+

- -


-

objectValueOfSelectedItem

-- (id) objectValueOfSelectedItem;
+

+
+

reloadData

+ - (void) reloadData;
+

- -


-

objectValues

-- (NSArray*) objectValues;
+

+
+

removeAllItems

+ - (void) removeAllItems;
+

- -


-

reloadData

-- (void) reloadData;
+

+
+

removeItemAtIndex:

+ - (void) removeItemAtIndex: (int)index;
+

- -


-

removeAllItems

-- (void) removeAllItems;
+

+
+

removeItemWithObjectValue:

+ - (void) removeItemWithObjectValue: (id)object;
+

- -


-

removeItemAtIndex:

-- (void) removeItemAtIndex: (int)index;
+

+
+

scrollItemAtIndexToTop:

+ - (void) scrollItemAtIndexToTop: (int)index;
+

- -


-

removeItemWithObjectValue:

-- (void) removeItemWithObjectValue: (id)anObject;
+

+
+

scrollItemAtIndexToVisible:

+ - (void) scrollItemAtIndexToVisible: (int)index;
+

- -


-

scrollItemAtIndexToTop:

-- (void) scrollItemAtIndexToTop: (int)index;
+

+
+

selectItemAtIndex:

+ - (void) selectItemAtIndex: (int)index;
+

- -


-

scrollItemAtIndexToVisible:

-- (void) scrollItemAtIndexToVisible: (int)index;
+

+
+

selectItemWithObjectValue:

+ - (void) selectItemWithObjectValue: (id)object;
+

- -


-

selectItemAtIndex:

-- (void) selectItemAtIndex: (int)index;
+

+
+

setCompletes:

+ - (void) setCompletes: (BOOL)completes;
+

- -


-

selectItemWithObjectValue:

-- (void) selectItemWithObjectValue: (id)anObject;
+

+
+

setDataSource:

+ - (void) setDataSource: (id)aSource;
+

- -


-

setCompletes:

-- (void) setCompletes: (BOOL)completes;
+

+
+

setHasVerticalScroller:

+ - (void) setHasVerticalScroller: (BOOL)flag;
+

- -


-

setDataSource:

-- (void) setDataSource: (id)aSource;
+

+
+

setIntercellSpacing:

+ - (void) setIntercellSpacing: (NSSize)aSize;
+

- -


-

setHasVerticalScroller:

-- (void) setHasVerticalScroller: (BOOL)flag;
+

+
+

setItemHeight:

+ - (void) setItemHeight: (float)itemHeight;
+

- -


-

setIntercellSpacing:

-- (void) setIntercellSpacing: (NSSize)aSize;
+

+
+

setNumberOfVisibleItems:

+ - (void) setNumberOfVisibleItems: (int)visibleItems;
+

- -


-

setItemHeight:

-- (void) setItemHeight: (float)itemHeight;
+

+
+

setUsesDataSource:

+ - (void) setUsesDataSource: (BOOL)flag;
+

- -


-

setNumberOfVisibleItems:

-- (void) setNumberOfVisibleItems: (int)visibleItems;
+

+
+

usesDataSource

+ - (BOOL) usesDataSource;
+

- -


-

setUsesDataSource:

-- (void) setUsesDataSource: (BOOL)flag;
+

+
+

+ Software documentation for the + NSObject(NSComboBoxDataSource) + category +

+

NSObject(NSComboBoxDataSource)

+ Declared: AppKit/NSComboBox.h
+

- -


-

usesDataSource

-- (BOOL) usesDataSource;
+

+

comboBox:completedString:

+ - (NSString*) comboBox: (NSComboBox*)aComboBox completedString: (NSString*)aString;
+

- -


- - - +

+
+

comboBox:indexOfItemWithStringValue:

+ - (unsigned int) comboBox: (NSComboBox*)aComboBox indexOfItemWithStringValue: (NSString*)string;
+

+ +

+
+

comboBox:objectValueForItemAtIndex:

+ - (id) comboBox: (NSComboBox*)aComboBox objectValueForItemAtIndex: (int)index;
+

+ +

+
+

numberOfItemsInComboBox:

+ - (int) numberOfItemsInComboBox: (NSComboBox*)aComboBox;
+

+ +

+
+

+ Software documentation for the + NSObject(NSComboBoxNotifications) + category +

+

NSObject(NSComboBoxNotifications)

+ Declared: AppKit/NSComboBox.h
+

+ +

+

comboBoxSelectionDidChange:

+ - (void) comboBoxSelectionDidChange: (NSNotification*)notification;
+

+ +

+
+

comboBoxSelectionIsChanging:

+ - (void) comboBoxSelectionIsChanging: (NSNotification*)notification;
+

+ +

+
+

comboBoxWillDismiss:

+ - (void) comboBoxWillDismiss: (NSNotification*)notification;
+

+ +

+
+

comboBoxWillPopUp:

+ - (void) comboBoxWillPopUp: (NSNotification*)notification;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSComboBoxCell.gsdoc b/Documentation/gsdoc/NSComboBoxCell.gsdoc index 9c88e92e2..6b6fc4e6e 100644 --- a/Documentation/gsdoc/NSComboBoxCell.gsdoc +++ b/Documentation/gsdoc/NSComboBoxCell.gsdoc @@ -1,32 +1,33 @@ - - + + NSComboBoxCell - - - + + + gerritvd@decillion.net + - $Revision$ - $Date$ + 1999 Free Software Foundation, Inc. - NSComboBoxCell + + Software documentation for the NSComboBoxCell class + - Gui/NSComboBoxCell.h - NSObject - - + AppKit/NSComboBoxCell.h + + - addItemsWithObjectValues: - objects + addItemWithObjectValue: + object - addItemWithObjectValue: - anObject + addItemsWithObjectValues: + objects @@ -52,12 +53,6 @@ - - encodeWithCoder: - encoder - - - hasVerticalScroller @@ -65,7 +60,7 @@ indexOfItemWithObjectValue: - anObject + object @@ -74,15 +69,11 @@ - - initWithCoder: - decoder - - - insertItemWithObjectValue: - anObject + object + atIndex: + index @@ -145,7 +136,7 @@ removeItemWithObjectValue: - anObject + object @@ -169,7 +160,7 @@ selectItemWithObjectValue: - anObject + object @@ -222,5 +213,47 @@ + + + Software documentation for the + NSObject(NSComboBoxCellDataSource) + category + + + AppKit/NSComboBoxCell.h + + + + comboBoxCell: + aComboBoxCell + completedString: + uncompletedString + + + + + comboBoxCell: + aComboBoxCell + indexOfItemWithStringValue: + string + + + + + comboBoxCell: + aComboBoxCell + objectValueForItemAtIndex: + index + + + + + numberOfItemsInComboBoxCell: + comboBoxCell + + + + + diff --git a/Documentation/gsdoc/NSComboBoxCell.html b/Documentation/gsdoc/NSComboBoxCell.html index 96a596f32..afc1500b8 100644 --- a/Documentation/gsdoc/NSComboBoxCell.html +++ b/Documentation/gsdoc/NSComboBoxCell.html @@ -1,250 +1,263 @@ - - NSComboBoxCell - - -[Previous] -[Up] -[Next] -

NSComboBoxCell

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSComboBoxCell

-

NSComboBoxCell

-

Declared in: Gui/NSComboBoxCell.h

-

Inherits from: NSTextFieldCell

-

Conforms to: NSObject -

-
+ + + NSComboBoxCell + + +

NSComboBoxCell

+

Authors

+
+
Gerrit van Dyk( + gerritvd@decillion.net + )
+
+
+
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSComboBoxCell class +

+

NSComboBoxCell : NSTextFieldCell

+ Declared: AppKit/NSComboBoxCell.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

addItemsWithObjectValues:

-- (void) addItemsWithObjectValues: (id)objects;
+

+

addItemWithObjectValue:

+ - (void) addItemWithObjectValue: (id)object;
+

- -


-

addItemWithObjectValue:

-- (void) addItemWithObjectValue: (id)anObject;
+

+
+

addItemsWithObjectValues:

+ - (void) addItemsWithObjectValues: (NSArray*)objects;
+

- -


-

completedString:

-- (NSString*) completedString: (NSString*)substring;
+

+
+

completedString:

+ - (NSString*) completedString: (NSString*)substring;
+

- -


-

completes

-- (BOOL) completes;
+

+
+

completes

+ - (BOOL) completes;
+

- -


-

dataSource

-- (id) dataSource;
+

+
+

dataSource

+ - (id) dataSource;
+

- -


-

deselectItemAtIndex:

-- (void) deselectItemAtIndex: (int)index;
+

+
+

deselectItemAtIndex:

+ - (void) deselectItemAtIndex: (int)index;
+

- -


-

encodeWithCoder:

-- (void) encodeWithCoder: (NSCoder*)encoder;
+

+
+

hasVerticalScroller

+ - (BOOL) hasVerticalScroller;
+

- -


-

hasVerticalScroller

-- (BOOL) hasVerticalScroller;
+

+
+

indexOfItemWithObjectValue:

+ - (int) indexOfItemWithObjectValue: (id)object;
+

- -


-

indexOfItemWithObjectValue:

-- (int) indexOfItemWithObjectValue: (id)anObject;
+

+
+

indexOfSelectedItem

+ - (int) indexOfSelectedItem;
+

- -


-

indexOfSelectedItem

-- (int) indexOfSelectedItem;
+

+
+

insertItemWithObjectValue:atIndex:

+ - (void) insertItemWithObjectValue: (id)object atIndex: (int)index;
+

- -


-

initWithCoder:

-- (id) initWithCoder: (NSCoder*)decoder;
+

+
+

intercellSpacing

+ - (NSSize) intercellSpacing;
+

- -


-

insertItemWithObjectValue:

-- (void) insertItemWithObjectValue: (id)anObject;
+

+
+

itemHeight

+ - (float) itemHeight;
+

- -


-

intercellSpacing

-- (NSSize) intercellSpacing;
+

+
+

itemObjectValueAtIndex:

+ - (id) itemObjectValueAtIndex: (int)index;
+

- -


-

itemHeight

-- (float) itemHeight;
+

+
+

noteNumberOfItemsChanged

+ - (void) noteNumberOfItemsChanged;
+

- -


-

itemObjectValueAtIndex:

-- (id) itemObjectValueAtIndex: (int)index;
+

+
+

numberOfItems

+ - (int) numberOfItems;
+

- -


-

noteNumberOfItemsChanged

-- (void) noteNumberOfItemsChanged;
+

+
+

numberOfVisibleItems

+ - (int) numberOfVisibleItems;
+

- -


-

numberOfItems

-- (int) numberOfItems;
+

+
+

objectValueOfSelectedItem

+ - (id) objectValueOfSelectedItem;
+

- -


-

numberOfVisibleItems

-- (int) numberOfVisibleItems;
+

+
+

objectValues

+ - (NSArray*) objectValues;
+

- -


-

objectValueOfSelectedItem

-- (id) objectValueOfSelectedItem;
+

+
+

reloadData

+ - (void) reloadData;
+

- -


-

objectValues

-- (NSArray*) objectValues;
+

+
+

removeAllItems

+ - (void) removeAllItems;
+

- -


-

reloadData

-- (void) reloadData;
+

+
+

removeItemAtIndex:

+ - (void) removeItemAtIndex: (int)index;
+

- -


-

removeAllItems

-- (void) removeAllItems;
+

+
+

removeItemWithObjectValue:

+ - (void) removeItemWithObjectValue: (id)object;
+

- -


-

removeItemAtIndex:

-- (void) removeItemAtIndex: (int)index;
+

+
+

scrollItemAtIndexToTop:

+ - (void) scrollItemAtIndexToTop: (int)index;
+

- -


-

removeItemWithObjectValue:

-- (void) removeItemWithObjectValue: (id)anObject;
+

+
+

scrollItemAtIndexToVisible:

+ - (void) scrollItemAtIndexToVisible: (int)index;
+

- -


-

scrollItemAtIndexToTop:

-- (void) scrollItemAtIndexToTop: (int)index;
+

+
+

selectItemAtIndex:

+ - (void) selectItemAtIndex: (int)index;
+

- -


-

scrollItemAtIndexToVisible:

-- (void) scrollItemAtIndexToVisible: (int)index;
+

+
+

selectItemWithObjectValue:

+ - (void) selectItemWithObjectValue: (id)object;
+

- -


-

selectItemAtIndex:

-- (void) selectItemAtIndex: (int)index;
+

+
+

setCompletes:

+ - (void) setCompletes: (BOOL)completes;
+

- -


-

selectItemWithObjectValue:

-- (void) selectItemWithObjectValue: (id)anObject;
+

+
+

setDataSource:

+ - (void) setDataSource: (id)aSource;
+

- -


-

setCompletes:

-- (void) setCompletes: (BOOL)completes;
+

+
+

setHasVerticalScroller:

+ - (void) setHasVerticalScroller: (BOOL)flag;
+

- -


-

setDataSource:

-- (void) setDataSource: (id)aSource;
+

+
+

setIntercellSpacing:

+ - (void) setIntercellSpacing: (NSSize)aSize;
+

- -


-

setHasVerticalScroller:

-- (void) setHasVerticalScroller: (BOOL)flag;
+

+
+

setItemHeight:

+ - (void) setItemHeight: (float)itemHeight;
+

- -


-

setIntercellSpacing:

-- (void) setIntercellSpacing: (NSSize)aSize;
+

+
+

setNumberOfVisibleItems:

+ - (void) setNumberOfVisibleItems: (int)visibleItems;
+

- -


-

setItemHeight:

-- (void) setItemHeight: (float)itemHeight;
+

+
+

setUsesDataSource:

+ - (void) setUsesDataSource: (BOOL)flag;
+

- -


-

setNumberOfVisibleItems:

-- (void) setNumberOfVisibleItems: (int)visibleItems;
+

+
+

usesDataSource

+ - (BOOL) usesDataSource;
+

- -


-

setUsesDataSource:

-- (void) setUsesDataSource: (BOOL)flag;
+

+
+

+ Software documentation for the + NSObject(NSComboBoxCellDataSource) + category +

+

NSObject(NSComboBoxCellDataSource)

+ Declared: AppKit/NSComboBoxCell.h
+

- -


-

usesDataSource

-- (BOOL) usesDataSource;
+

+

comboBoxCell:completedString:

+ - (NSString*) comboBoxCell: (NSComboBoxCell*)aComboBoxCell completedString: (NSString*)uncompletedString;
+

- -


- - - +

+
+

comboBoxCell:indexOfItemWithStringValue:

+ - (unsigned int) comboBoxCell: (NSComboBoxCell*)aComboBoxCell indexOfItemWithStringValue: (NSString*)string;
+

+ +

+
+

comboBoxCell:objectValueForItemAtIndex:

+ - (id) comboBoxCell: (NSComboBoxCell*)aComboBoxCell objectValueForItemAtIndex: (int)index;
+

+ +

+
+

numberOfItemsInComboBoxCell:

+ - (int) numberOfItemsInComboBoxCell: (NSComboBoxCell*)comboBoxCell;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSControl.gsdoc b/Documentation/gsdoc/NSControl.gsdoc index 52a957c3a..7bafe8bae 100644 --- a/Documentation/gsdoc/NSControl.gsdoc +++ b/Documentation/gsdoc/NSControl.gsdoc @@ -1,23 +1,30 @@ - - + + NSControl - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + richard@brainstorm.co.uk + + + The abstract control class + 1996 Free Software Foundation, Inc. - NSControl + + Software documentation for the NSControl class + - < - NSCoding - - + AppKit/NSControl.h + + cellClass @@ -25,7 +32,7 @@ setCellClass: - class + factoryId @@ -44,11 +51,6 @@ - - attributedStringValue - - - calcSize @@ -158,6 +160,8 @@ sendAction: theAction + to: + theTarget @@ -179,12 +183,6 @@ - - setAttributedStringValue: - object - - - setCell: aCell @@ -219,9 +217,9 @@ setFloatingPointFormat: autoRange left: - leftDigits + leftDigits right: - rightDigits + rightDigits @@ -250,7 +248,7 @@ setObjectValue: - object + anObject @@ -345,6 +343,18 @@ + + + + + Software documentation for the + NSObject(NSControlDelegate) + category + + + AppKit/NSControl.h + + control: control @@ -389,35 +399,25 @@ - - control: - control - textView: - textView - doCommandBySelector: - command - - - controlTextDidBeginEditing: aNotification - - controlTextDidEndEditing: - aNotification - - - controlTextDidChange: aNotification -
+ + controlTextDidEndEditing: + aNotification + + + +
diff --git a/Documentation/gsdoc/NSControl.html b/Documentation/gsdoc/NSControl.html index 840b16531..40c7b8d82 100644 --- a/Documentation/gsdoc/NSControl.html +++ b/Documentation/gsdoc/NSControl.html @@ -1,437 +1,426 @@ - - NSControl - - -[Previous] -[Up] -[Next] -

NSControl

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSControl

-

NSControl

-

Declared in: <

-

Inherits from: NSView

-

Conforms to: NSCoding -

-
- - -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

cellClass

-+ (Class) cellClass;
- - -
-

setCellClass:

-+ (void) setCellClass: (Class)class;
- - -
-

Instances Methods

-

abortEditing

-- (BOOL) abortEditing;
- - -
-

action

-- (SEL) action;
- - -
-

alignment

-- (NSTextAlignment) alignment;
- - -
-

attributedStringValue

-- (NSAttributedString*) attributedStringValue;
- - -
-

calcSize

-- (void) calcSize;
- - -
-

cell

-- (id) cell;
- - -
-

currentEditor

-- (NSText*) currentEditor;
- - -
-

doubleValue

-- (double) doubleValue;
- - -
-

drawCell:

-- (void) drawCell: (NSCell*)aCell;
- - -
-

drawCellInside:

-- (void) drawCellInside: (NSCell*)aCell;
- - -
-

floatValue

-- (float) floatValue;
- - -
-

font

-- (NSFont*) font;
- - -
-

ignoresMultiClick

-- (BOOL) ignoresMultiClick;
- - -
-

initWithFrame:

-- (id) initWithFrame: (NSRect)frameRect;
- - -
-

intValue

-- (int) intValue;
- - -
-

isContinuous

-- (BOOL) isContinuous;
- - -
-

isEnabled

-- (BOOL) isEnabled;
- - -
-

mouseDown:

-- (void) mouseDown: (NSEvent*)theEvent;
- - -
-

objectValue

-- (id) objectValue;
- - -
-

performClick:

-- (void) performClick: (id)sender;
- - -
-

refusesFirstResponder

-- (BOOL) refusesFirstResponder;
- - -
-

selectCell:

-- (void) selectCell: (NSCell*)aCell;
- - -
-

selectedCell

-- (id) selectedCell;
- - -
-

selectedTag

-- (int) selectedTag;
- - -
-

sendAction:

-- (BOOL) sendAction: (SEL)theAction;
- - -
-

sendActionOn:

-- (int) sendActionOn: (int)mask;
- - -
-

setAction:

-- (void) setAction: (SEL)aSelector;
- - -
-

setAlignment:

-- (void) setAlignment: (NSTextAlignment)mode;
- - -
-

setAttributedStringValue:

-- (void) setAttributedStringValue: (NSAttributedString*)object;
- - -
-

setCell:

-- (void) setCell: (NSCell*)aCell;
- - -
-

setContinuous:

-- (void) setContinuous: (BOOL)flag;
- - -
-

setDoubleValue:

-- (void) setDoubleValue: (double)aDouble;
- - -
-

setEnabled:

-- (void) setEnabled: (BOOL)flag;
- - -
-

setFloatValue:

-- (void) setFloatValue: (float)aFloat;
- - -
-

setFloatingPointFormat:left:right:

-- (void) setFloatingPointFormat: (BOOL)autoRange left: (unsigned int)leftDigits right: (unsigned int)rightDigits;
- - -
-

setFont:

-- (void) setFont: (NSFont*)fontObject;
- - -
-

setIgnoresMultiClick:

-- (void) setIgnoresMultiClick: (BOOL)flag;
- - -
-

setIntValue:

-- (void) setIntValue: (int)anInt;
- - -
-

setNeedsDisplay

-- (void) setNeedsDisplay;
- - -
-

setObjectValue:

-- (void) setObjectValue: (id)object;
- - -
-

setRefusesFirstResponder:

-- (void) setRefusesFirstResponder: (BOOL)flag;
- - -
-

setStringValue:

-- (void) setStringValue: (NSString*)aString;
- - -
-

setTag:

-- (void) setTag: (int)anInt;
- - -
-

setTarget:

-- (void) setTarget: (id)anObject;
- - -
-

sizeToFit

-- (void) sizeToFit;
- - -
-

stringValue

-- (NSString*) stringValue;
- - -
-

tag

-- (int) tag;
- - -
-

takeDoubleValueFrom:

-- (void) takeDoubleValueFrom: (id)sender;
- - -
-

takeFloatValueFrom:

-- (void) takeFloatValueFrom: (id)sender;
- - -
-

takeIntValueFrom:

-- (void) takeIntValueFrom: (id)sender;
- - -
-

takeObjectValueFrom:

-- (void) takeObjectValueFrom: (id)sender;
- - -
-

takeStringValueFrom:

-- (void) takeStringValueFrom: (id)sender;
- - -
-

target

-- (id) target;
- - -
-

updateCell:

-- (void) updateCell: (NSCell*)aCell;
- - -
-

updateCellInside:

-- (void) updateCellInside: (NSCell*)aCell;
- - -
-

validateEditing

-- (void) validateEditing;
- - -
-

control:didFailToFormatString:errorDescription:

-- (BOOL) control: (NSControl*)control didFailToFormatString: (NSString*)string errorDescription: (NSString*)error;
- - -
-

control:didFailToValidatePartialString:errorDescription:

-- (void) control: (NSControl*)control didFailToValidatePartialString: (NSString*)string errorDescription: (NSString*)error;
- - -
-

control:isValidObject:

-- (BOOL) control: (NSControl*)control isValidObject: (id)object;
- - -
-

control:textShouldBeginEditing:

-- (BOOL) control: (NSControl*)control textShouldBeginEditing: (NSText*)fieldEditor;
- - -
-

control:textShouldEndEditing:

-- (BOOL) control: (NSControl*)control textShouldEndEditing: (NSText*)fieldEditor;
- - -
-

control:textView:doCommandBySelector:

-- (BOOL) control: (NSControl*)control textView: (NSTextView*)textView doCommandBySelector: (SEL)command;
- - -
-

controlTextDidBeginEditing:

-- (void) controlTextDidBeginEditing: (NSNotification*)aNotification;
- - -
-

controlTextDidEndEditing:

-- (void) controlTextDidEndEditing: (NSNotification*)aNotification;
- - -
-

controlTextDidChange:

-- (void) controlTextDidChange: (NSNotification*)aNotification;
- - -
- - - + + + NSControl + + +

NSControl

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Richard Frith-Macdonald( + richard@brainstorm.co.uk + )
+
+
+
+
+The abstract control class
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSControl class +

+

NSControl : NSView

+ Declared: AppKit/NSControl.h
+

+ +

+

cellClass

+ + (Class) cellClass;
+

+ +

+
+

setCellClass:

+ + (void) setCellClass: (Class)factoryId;
+

+ +

+
+

abortEditing

+ - (BOOL) abortEditing;
+

+ +

+
+

action

+ - (SEL) action;
+

+ +

+
+

alignment

+ - (NSTextAlignment) alignment;
+

+ +

+
+

calcSize

+ - (void) calcSize;
+

+ +

+
+

cell

+ - (id) cell;
+

+ +

+
+

currentEditor

+ - (NSText*) currentEditor;
+

+ +

+
+

doubleValue

+ - (double) doubleValue;
+

+ +

+
+

drawCell:

+ - (void) drawCell: (NSCell*)aCell;
+

+ +

+
+

drawCellInside:

+ - (void) drawCellInside: (NSCell*)aCell;
+

+ +

+
+

floatValue

+ - (float) floatValue;
+

+ +

+
+

font

+ - (NSFont*) font;
+

+ +

+
+

ignoresMultiClick

+ - (BOOL) ignoresMultiClick;
+

+ +

+
+

initWithFrame:

+ - (id) initWithFrame: (NSRect)frameRect;
+

+ +

+
+

intValue

+ - (int) intValue;
+

+ +

+
+

isContinuous

+ - (BOOL) isContinuous;
+

+ +

+
+

isEnabled

+ - (BOOL) isEnabled;
+

+ +

+
+

mouseDown:

+ - (void) mouseDown: (NSEvent*)theEvent;
+

+ +

+
+

objectValue

+ - (id) objectValue;
+

+ +

+
+

performClick:

+ - (void) performClick: (id)sender;
+

+ +

+
+

refusesFirstResponder

+ - (BOOL) refusesFirstResponder;
+

+ +

+
+

selectCell:

+ - (void) selectCell: (NSCell*)aCell;
+

+ +

+
+

selectedCell

+ - (id) selectedCell;
+

+ +

+
+

selectedTag

+ - (int) selectedTag;
+

+ +

+
+

sendAction:to:

+ - (BOOL) sendAction: (SEL)theAction to: (id)theTarget;
+

+ +

+
+

sendActionOn:

+ - (int) sendActionOn: (int)mask;
+

+ +

+
+

setAction:

+ - (void) setAction: (SEL)aSelector;
+

+ +

+
+

setAlignment:

+ - (void) setAlignment: (NSTextAlignment)mode;
+

+ +

+
+

setCell:

+ - (void) setCell: (NSCell*)aCell;
+

+ +

+
+

setContinuous:

+ - (void) setContinuous: (BOOL)flag;
+

+ +

+
+

setDoubleValue:

+ - (void) setDoubleValue: (double)aDouble;
+

+ +

+
+

setEnabled:

+ - (void) setEnabled: (BOOL)flag;
+

+ +

+
+

setFloatValue:

+ - (void) setFloatValue: (float)aFloat;
+

+ +

+
+

setFloatingPointFormat:left:right:

+ - (void) setFloatingPointFormat: (BOOL)autoRange left: (unsigned)leftDigits right: (unsigned)rightDigits;
+

+ +

+
+

setFont:

+ - (void) setFont: (NSFont*)fontObject;
+

+ +

+
+

setIgnoresMultiClick:

+ - (void) setIgnoresMultiClick: (BOOL)flag;
+

+ +

+
+

setIntValue:

+ - (void) setIntValue: (int)anInt;
+

+ +

+
+

setNeedsDisplay

+ - (void) setNeedsDisplay;
+

+ +

+
+

setObjectValue:

+ - (void) setObjectValue: (id)anObject;
+

+ +

+
+

setRefusesFirstResponder:

+ - (void) setRefusesFirstResponder: (BOOL)flag;
+

+ +

+
+

setStringValue:

+ - (void) setStringValue: (NSString*)aString;
+

+ +

+
+

setTag:

+ - (void) setTag: (int)anInt;
+

+ +

+
+

setTarget:

+ - (void) setTarget: (id)anObject;
+

+ +

+
+

sizeToFit

+ - (void) sizeToFit;
+

+ +

+
+

stringValue

+ - (NSString*) stringValue;
+

+ +

+
+

tag

+ - (int) tag;
+

+ +

+
+

takeDoubleValueFrom:

+ - (void) takeDoubleValueFrom: (id)sender;
+

+ +

+
+

takeFloatValueFrom:

+ - (void) takeFloatValueFrom: (id)sender;
+

+ +

+
+

takeIntValueFrom:

+ - (void) takeIntValueFrom: (id)sender;
+

+ +

+
+

takeObjectValueFrom:

+ - (void) takeObjectValueFrom: (id)sender;
+

+ +

+
+

takeStringValueFrom:

+ - (void) takeStringValueFrom: (id)sender;
+

+ +

+
+

target

+ - (id) target;
+

+ +

+
+

updateCell:

+ - (void) updateCell: (NSCell*)aCell;
+

+ +

+
+

updateCellInside:

+ - (void) updateCellInside: (NSCell*)aCell;
+

+ +

+
+

validateEditing

+ - (void) validateEditing;
+

+ +

+
+

+ Software documentation for the + NSObject(NSControlDelegate) + category +

+

NSObject(NSControlDelegate)

+ Declared: AppKit/NSControl.h
+

+ +

+

control:didFailToFormatString:errorDescription:

+ - (BOOL) control: (NSControl*)control didFailToFormatString: (NSString*)string errorDescription: (NSString*)error;
+

+ +

+
+

control:didFailToValidatePartialString:errorDescription:

+ - (void) control: (NSControl*)control didFailToValidatePartialString: (NSString*)string errorDescription: (NSString*)error;
+

+ +

+
+

control:isValidObject:

+ - (BOOL) control: (NSControl*)control isValidObject: (id)object;
+

+ +

+
+

control:textShouldBeginEditing:

+ - (BOOL) control: (NSControl*)control textShouldBeginEditing: (NSText*)fieldEditor;
+

+ +

+
+

control:textShouldEndEditing:

+ - (BOOL) control: (NSControl*)control textShouldEndEditing: (NSText*)fieldEditor;
+

+ +

+
+

controlTextDidBeginEditing:

+ - (void) controlTextDidBeginEditing: (NSNotification*)aNotification;
+

+ +

+
+

controlTextDidChange:

+ - (void) controlTextDidChange: (NSNotification*)aNotification;
+

+ +

+
+

controlTextDidEndEditing:

+ - (void) controlTextDidEndEditing: (NSNotification*)aNotification;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSCursor.gsdoc b/Documentation/gsdoc/NSCursor.gsdoc index 8003e0821..aaaf6b58a 100644 --- a/Documentation/gsdoc/NSCursor.gsdoc +++ b/Documentation/gsdoc/NSCursor.gsdoc @@ -1,23 +1,36 @@ - - + + NSCursor - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + fedor@gnu.org + + + Holds an image to use as a cursor + 1996,1999,2001 Free Software Foundation, Inc. - NSCursor + + Software documentation for the NSCursor class + - Gui/NSCursor.h + AppKit/NSCursor.h NSCoding + + + + IBeamCursor + arrowCursor @@ -28,13 +41,18 @@ + + greenArrowCursor + + + hide - - IBeamCursor + + isHiddenUntilMouseMoves @@ -64,6 +82,12 @@ + + initWithImage: + newImage + + + initWithImage: newImage @@ -79,6 +103,8 @@ initWithImage: newImage + hotSpot: + hotSpot @@ -94,13 +120,13 @@ mouseEntered: - anEvent + theEvent mouseExited: - anEvent + theEvent @@ -119,6 +145,18 @@ + + setHotSpot: + spot + + + + + setImage: + newImage + + + setOnMouseEntered: flag diff --git a/Documentation/gsdoc/NSCursor.html b/Documentation/gsdoc/NSCursor.html index ed6670069..c271c7787 100644 --- a/Documentation/gsdoc/NSCursor.html +++ b/Documentation/gsdoc/NSCursor.html @@ -1,155 +1,183 @@ - - NSCursor - - -[Previous] -[Up] -[Next] -

NSCursor

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSCursor

-

NSCursor

-

Declared in: Gui/NSCursor.h

-

Inherits from: NSObject

-

Conforms to: NSCoding -

-
+ + + NSCursor + + +

NSCursor

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Adam Fedor( + fedor@gnu.org + )
+
+
+
+
+Holds an image to use as a cursor
+

Copyright: (C) 1996,1999,2001 Free Software Foundation, Inc.

+

+ Software documentation for the NSCursor class +

+

NSCursor : NSObject

+ Declared: AppKit/NSCursor.h
+ Conform: NSCoding
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

arrowCursor

-+ (NSCursor*) arrowCursor;
+

+

IBeamCursor

+ + (NSCursor*) IBeamCursor;
+

- -


-

currentCursor

-+ (NSCursor*) currentCursor;
+

+
+

arrowCursor

+ + (NSCursor*) arrowCursor;
+

- -


-

hide

-+ (void) hide;
+

+
+

currentCursor

+ + (NSCursor*) currentCursor;
+

- -


-

IBeamCursor

-+ (NSCursor*) IBeamCursor;
+

+
+

greenArrowCursor

+ + (NSCursor*) greenArrowCursor;
+

- -


-

pop

-+ (void) pop;
+

+
+

hide

+ + (void) hide;
+

- -


-

setHiddenUntilMouseMoves:

-+ (void) setHiddenUntilMouseMoves: (BOOL)flag;
+

+
+

isHiddenUntilMouseMoves

+ + (BOOL) isHiddenUntilMouseMoves;
+

- -


-

unhide

-+ (void) unhide;
+

+
+

pop

+ + (void) pop;
+

- -


-

Instances Methods

-

hotSpot

-- (NSPoint) hotSpot;
+

+
+

setHiddenUntilMouseMoves:

+ + (void) setHiddenUntilMouseMoves: (BOOL)flag;
+

- -


-

image

-- (NSImage*) image;
+

+
+

unhide

+ + (void) unhide;
+

- -


-

initWithImage:foregroundColorHint:backgroundColorHint:hotSpot:

-- (id) initWithImage: (NSImage*)newImage foregroundColorHint: (NSColor*)fg backgroundColorHint: (NSColor*)bg hotSpot: (NSPoint)hotSpot;
+

+
+

hotSpot

+ - (NSPoint) hotSpot;
+

- -


-

initWithImage:

-- (id) initWithImage: (NSImage*)newImage;
+

+
+

image

+ - (NSImage*) image;
+

- -


-

isSetOnMouseEntered

-- (BOOL) isSetOnMouseEntered;
+

+
+

initWithImage:

+ - (id) initWithImage: (NSImage*)newImage;
+

- -


-

isSetOnMouseExited

-- (BOOL) isSetOnMouseExited;
+

+
+

initWithImage:foregroundColorHint:backgroundColorHint:hotSpot:

+ - (id) initWithImage: (NSImage*)newImage foregroundColorHint: (NSColor*)fg backgroundColorHint: (NSColor*)bg hotSpot: (NSPoint)hotSpot;
+

- -


-

mouseEntered:

-- (void) mouseEntered: (NSEvent*)anEvent;
+

+
+

initWithImage:hotSpot:

+ - (id) initWithImage: (NSImage*)newImage hotSpot: (NSPoint)hotSpot;
+

- -


-

mouseExited:

-- (void) mouseExited: (NSEvent*)anEvent;
+

+
+

isSetOnMouseEntered

+ - (BOOL) isSetOnMouseEntered;
+

- -


-

pop

-- (void) pop;
+

+
+

isSetOnMouseExited

+ - (BOOL) isSetOnMouseExited;
+

- -


-

push

-- (void) push;
+

+
+

mouseEntered:

+ - (void) mouseEntered: (NSEvent*)theEvent;
+

- -


-

set

-- (void) set;
+

+
+

mouseExited:

+ - (void) mouseExited: (NSEvent*)theEvent;
+

- -


-

setOnMouseEntered:

-- (void) setOnMouseEntered: (BOOL)flag;
+

+
+

pop

+ - (void) pop;
+

- -


-

setOnMouseExited:

-- (void) setOnMouseExited: (BOOL)flag;
+

+
+

push

+ - (void) push;
+

- -


- - - +

+
+

set

+ - (void) set;
+

+ +

+
+

setHotSpot:

+ - (void) setHotSpot: (NSPoint)spot;
+

+ +

+
+

setImage:

+ - (void) setImage: (NSImage*)newImage;
+

+ +

+
+

setOnMouseEntered:

+ - (void) setOnMouseEntered: (BOOL)flag;
+

+ +

+
+

setOnMouseExited:

+ - (void) setOnMouseExited: (BOOL)flag;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSCustomImageRep.gsdoc b/Documentation/gsdoc/NSCustomImageRep.gsdoc index f9bbb1a4d..29de5a4ba 100644 --- a/Documentation/gsdoc/NSCustomImageRep.gsdoc +++ b/Documentation/gsdoc/NSCustomImageRep.gsdoc @@ -1,23 +1,25 @@ - - + + NSCustomImageRep - - - + + + fedor@colorado.edu + - $Revision$ - $Date$ + Custom image representation. + 1996 Free Software Foundation, Inc. - NSCustomImageRep + + Software documentation for the NSCustomImageRep class + - Gui/NSCustomImageRep.h - NSCoding - - + AppKit/NSCustomImageRep.h + + delegate @@ -30,7 +32,7 @@ initWithDrawSelector: - aMethod + aSelector delegate: anObject diff --git a/Documentation/gsdoc/NSCustomImageRep.html b/Documentation/gsdoc/NSCustomImageRep.html index 4196bde1e..e65849e96 100644 --- a/Documentation/gsdoc/NSCustomImageRep.html +++ b/Documentation/gsdoc/NSCustomImageRep.html @@ -1,52 +1,45 @@ - - NSCustomImageRep - - -[Previous] -[Up] -[Next] -

NSCustomImageRep

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSCustomImageRep

-

NSCustomImageRep

-

Declared in: Gui/NSCustomImageRep.h

-

Inherits from: NSImageRep

-

Conforms to: NSCoding -

-
+ + + NSCustomImageRep + + +

NSCustomImageRep

+

Authors

+
+
Adam Fedor( + fedor@colorado.edu + )
+
+
+
+
+Custom image representation.
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSCustomImageRep class +

+

NSCustomImageRep : NSImageRep

+ Declared: AppKit/NSCustomImageRep.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

delegate

-- (id) delegate;
+

+

delegate

+ - (id) delegate;
+

- -


-

drawSelector

-- (SEL) drawSelector;
+

+
+

drawSelector

+ - (SEL) drawSelector;
+

- -


-

initWithDrawSelector:delegate:

-- (id) initWithDrawSelector: (SEL)aMethod delegate: (id)anObject;
+

+
+

initWithDrawSelector:delegate:

+ - (id) initWithDrawSelector: (SEL)aSelector delegate: (id)anObject;
+

- -


- - - +

+
+ + diff --git a/Documentation/gsdoc/NSDocument.gsdoc b/Documentation/gsdoc/NSDocument.gsdoc index 89fec5ecc..4ef39518b 100644 --- a/Documentation/gsdoc/NSDocument.gsdoc +++ b/Documentation/gsdoc/NSDocument.gsdoc @@ -1,26 +1,28 @@ - - + + NSDocument - - - + + + Carl.Lindberg@hbo.com + - $Revision$ - $Date$ + The abstract document class + 1999 Free Software Foundation, Inc. - NSDocument + + Software documentation for the NSDocument class + - Gui/NSDocument.h - NSObject - - + AppKit/NSDocument.h + + isNativeType: - aType + type @@ -36,7 +38,7 @@
addWindowController: - aController + windowController @@ -46,19 +48,23 @@
- close + canCloseDocumentWithDelegate: + delegate + shouldCloseSelector: + shouldCloseSelector + contextInfo: + contextInfo - - closeDocument: - sender + + close dataRepresentationOfType: - aType + type @@ -83,9 +89,14 @@ + + fileTypeFromLastRunSavePanel + + + fileWrapperRepresentationOfType: - aType + type @@ -102,6 +113,16 @@ initWithContentsOfFile: fileName + ofType: + fileType + + + + + initWithContentsOfURL: + url + ofType: + fileType @@ -117,22 +138,32 @@ loadDataRepresentation: - docData + data + ofType: + type loadFileWrapperRepresentation: wrapper - - - - - makeWindowControllers + ofType: + type + makeWindowControllers + + + + + prepareSavePanel: + savePanel + + + + printDocument: sender @@ -152,10 +183,26 @@ readFromFile: fileName + ofType: + type + + + + + readFromURL: + url + ofType: + type + removeWindowController: + windowController + + + + revertDocumentToSaved: sender @@ -164,6 +211,16 @@ revertToSavedFromFile: fileName + ofType: + type + + + + + revertToSavedFromURL: + url + ofType: + type @@ -182,29 +239,65 @@ + runModalSavePanelForSaveOperation: + saveOperation + delegate: + delegate + didSaveSelector: + didSaveSelector + contextInfo: + contextInfo + + + + runPageLayout: sender - + saveDocument: sender - + saveDocumentAs: sender - + saveDocumentTo: sender + + saveDocumentWithDelegate: + delegate + didSaveSelector: + didSaveSelector + contextInfo: + contextInfo + + + + + saveToFile: + fileName + saveOperation: + saveOperation + delegate: + delegate + didSaveSelector: + didSaveSelector + contextInfo: + contextInfo + + + setFileName: fileName @@ -213,7 +306,7 @@ setFileType: - docType + type @@ -235,6 +328,12 @@ + + setWindow: + window + + + shouldChangePrintInfo: newPrintInfo @@ -247,6 +346,18 @@ + + shouldCloseWindowController: + windowController + delegate: + delegate + shouldCloseSelector: + callback + contextInfo: + contextInfo + + + shouldRunSavePanelWithAccessoryView @@ -264,7 +375,7 @@ updateChangeCount: - changeType + change @@ -274,6 +385,12 @@ + + validateUserInterfaceItem: + anItem + + + windowControllerDidLoadNib: windowController @@ -299,6 +416,26 @@ writeToFile: fileName + ofType: + type + + + + + writeToURL: + url + ofType: + type + + + + + writeWithBackupToFile: + fileName + ofType: + fileType + saveOperation: + saveOp diff --git a/Documentation/gsdoc/NSDocument.html b/Documentation/gsdoc/NSDocument.html index d2a288275..90069b00d 100644 --- a/Documentation/gsdoc/NSDocument.html +++ b/Documentation/gsdoc/NSDocument.html @@ -1,335 +1,411 @@ - - NSDocument - - -[Previous] -[Up] -[Next] -

NSDocument

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSDocument

-

NSDocument

-

Declared in: Gui/NSDocument.h

-

Inherits from: NSObject

-

Conforms to: NSObject -

-
+ + + NSDocument + + +

NSDocument

+

Authors

+
+
Carl Lindberg( + Carl.Lindberg@hbo.com + )
+
+
+
+
+The abstract document class
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSDocument class +

+

NSDocument : NSObject

+ Declared: AppKit/NSDocument.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

isNativeType:

-+ (BOOL) isNativeType: (NSString*)aType;
+

+

isNativeType:

+ + (BOOL) isNativeType: (NSString*)type;
+

- -


-

readableTypes

-+ (NSArray*) readableTypes;
+

+
+

readableTypes

+ + (NSArray*) readableTypes;
+

- -


-

writableTypes

-+ (NSArray*) writableTypes;
+

+
+

writableTypes

+ + (NSArray*) writableTypes;
+

- -


-

Instances Methods

-

addWindowController:

-- (void) addWindowController: (NSWindowController*)aController;
+

+
+

addWindowController:

+ - (void) addWindowController: (NSWindowController*)windowController;
+

- -


-

canCloseDocument

-- (BOOL) canCloseDocument;
+

+
+

canCloseDocument

+ - (BOOL) canCloseDocument;
+

- -


-

close

-- (void) close;
+

+
+

canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:

+ - (void) canCloseDocumentWithDelegate: (id)delegate shouldCloseSelector: (SEL)shouldCloseSelector contextInfo: (void*)contextInfo;
+

- -


-

closeDocument:

-- (IBAction) closeDocument: (id)sender;
+

+
+

close

+ - (void) close;
+

- -


-

dataRepresentationOfType:

-- (NSData*) dataRepresentationOfType: (NSString*)aType;
+

+
+

dataRepresentationOfType:

+ - (NSData*) dataRepresentationOfType: (NSString*)type;
+

- -


-

displayName

-- (NSString*) displayName;
+

+
+

displayName

+ - (NSString*) displayName;
+

- -


-

fileName

-- (NSString*) fileName;
+

+
+

fileName

+ - (NSString*) fileName;
+

- -


-

fileNameFromRunningSavePanelForSaveOperation:

-- (NSString*) fileNameFromRunningSavePanelForSaveOperation: (NSSaveOperationType)saveOperation;
+

+
+

fileNameFromRunningSavePanelForSaveOperation:

+ - (NSString*) fileNameFromRunningSavePanelForSaveOperation: (NSSaveOperationType)saveOperation;
+

- -


-

fileType

-- (NSString*) fileType;
+

+
+

fileType

+ - (NSString*) fileType;
+

- -


-

fileWrapperRepresentationOfType:

-- (NSFileWrapper*) fileWrapperRepresentationOfType: (NSString*)aType;
+

+
+

fileTypeFromLastRunSavePanel

+ - (NSString*) fileTypeFromLastRunSavePanel;
+

- -


-

hasUndoManager

-- (BOOL) hasUndoManager;
+

+
+

fileWrapperRepresentationOfType:

+ - (NSFileWrapper*) fileWrapperRepresentationOfType: (NSString*)type;
+

- -


-

init

-- (id) init;
+

+
+

hasUndoManager

+ - (BOOL) hasUndoManager;
+

- -


-

initWithContentsOfFile:

-- (id) initWithContentsOfFile: (NSString*)fileName;
+

+
+

init

+ - (id) init;
+

- -


-

isDocumentEdited

-- (BOOL) isDocumentEdited;
+

+
+

initWithContentsOfFile:ofType:

+ - (id) initWithContentsOfFile: (NSString*)fileName ofType: (NSString*)fileType;
+

- -


-

keepBackupFile

-- (BOOL) keepBackupFile;
+

+
+

initWithContentsOfURL:ofType:

+ - (id) initWithContentsOfURL: (NSURL*)url ofType: (NSString*)fileType;
+

- -


-

loadDataRepresentation:

-- (BOOL) loadDataRepresentation: (NSData*)docData;
+

+
+

isDocumentEdited

+ - (BOOL) isDocumentEdited;
+

- -


-

loadFileWrapperRepresentation:

-- (BOOL) loadFileWrapperRepresentation: (NSFileWrapper*)wrapper;
+

+
+

keepBackupFile

+ - (BOOL) keepBackupFile;
+

- -


-

makeWindowControllers

-- (NSArray*) makeWindowControllers;
+

+
+

loadDataRepresentation:ofType:

+ - (BOOL) loadDataRepresentation: (NSData*)data ofType: (NSString*)type;
+

- -


-

printDocument:

-- (void) printDocument: (id)sender;
+

+
+

loadFileWrapperRepresentation:ofType:

+ - (BOOL) loadFileWrapperRepresentation: (NSFileWrapper*)wrapper ofType: (NSString*)type;
+

- -


-

printInfo

-- (NSPrintInfo*) printInfo;
+

+
+

makeWindowControllers

+ - (void) makeWindowControllers;
+

- -


-

printShowingPrintPanel:

-- (void) printShowingPrintPanel: (BOOL)flag;
+

+
+

prepareSavePanel:

+ - (BOOL) prepareSavePanel: (NSSavePanel*)savePanel;
+

- -


-

readFromFile:

-- (BOOL) readFromFile: (NSString*)fileName;
+

+
+

printDocument:

+ - (IBAction) printDocument: (id)sender;
+

- -


-

revertDocumentToSaved:

-- (void) revertDocumentToSaved: (id)sender;
+

+
+

printInfo

+ - (NSPrintInfo*) printInfo;
+

- -


-

revertToSavedFromFile:

-- (BOOL) revertToSavedFromFile: (NSString*)fileName;
+

+
+

printShowingPrintPanel:

+ - (void) printShowingPrintPanel: (BOOL)flag;
+

- -


-

runModalPageLayoutWithPrintInfo:

-- (int) runModalPageLayoutWithPrintInfo: (NSPrintInfo*)printInfo;
+

+
+

readFromFile:ofType:

+ - (BOOL) readFromFile: (NSString*)fileName ofType: (NSString*)type;
+

- -


-

runModalSavePanel:withAccessoryView:

-- (int) runModalSavePanel: (NSSavePanel*)savePanel withAccessoryView: (NSView*)accessoryView;
+

+
+

readFromURL:ofType:

+ - (BOOL) readFromURL: (NSURL*)url ofType: (NSString*)type;
+

- -


-

runPageLayout:

-- (void) runPageLayout: (id)sender;
+

+
+

removeWindowController:

+ - (void) removeWindowController: (NSWindowController*)windowController;
+

- -


-

saveDocument:

-- (void) saveDocument: (id)sender;
+

+
+

revertDocumentToSaved:

+ - (IBAction) revertDocumentToSaved: (id)sender;
+

- -


-

saveDocumentAs:

-- (void) saveDocumentAs: (id)sender;
+

+
+

revertToSavedFromFile:ofType:

+ - (BOOL) revertToSavedFromFile: (NSString*)fileName ofType: (NSString*)type;
+

- -


-

saveDocumentTo:

-- (void) saveDocumentTo: (id)sender;
+

+
+

revertToSavedFromURL:ofType:

+ - (BOOL) revertToSavedFromURL: (NSURL*)url ofType: (NSString*)type;
+

- -


-

setFileName:

-- (void) setFileName: (NSString*)fileName;
+

+
+

runModalPageLayoutWithPrintInfo:

+ - (int) runModalPageLayoutWithPrintInfo: (NSPrintInfo*)printInfo;
+

- -


-

setFileType:

-- (void) setFileType: (NSString*)docType;
+

+
+

runModalSavePanel:withAccessoryView:

+ - (int) runModalSavePanel: (NSSavePanel*)savePanel withAccessoryView: (NSView*)accessoryView;
+

- -


-

setHasUndoManager:

-- (void) setHasUndoManager: (BOOL)flag;
+

+
+

runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:

+ - (void) runModalSavePanelForSaveOperation: (NSSaveOperationType)saveOperation delegate: (id)delegate didSaveSelector: (SEL)didSaveSelector contextInfo: (void*)contextInfo;
+

- -


-

setPrintInfo:

-- (void) setPrintInfo: (NSPrintInfo*)printInfo;
+

+
+

runPageLayout:

+ - (IBAction) runPageLayout: (id)sender;
+

- -


-

setUndoManager:

-- (void) setUndoManager: (NSUndoManager*)undoManager;
+

+
+

saveDocument:

+ - (IBAction) saveDocument: (id)sender;
+

- -


-

shouldChangePrintInfo:

-- (BOOL) shouldChangePrintInfo: (NSPrintInfo*)newPrintInfo;
+

+
+

saveDocumentAs:

+ - (IBAction) saveDocumentAs: (id)sender;
+

- -


-

shouldCloseWindowController:

-- (BOOL) shouldCloseWindowController: (NSWindowController*)windowController;
+

+
+

saveDocumentTo:

+ - (IBAction) saveDocumentTo: (id)sender;
+

- -


-

shouldRunSavePanelWithAccessoryView

-- (BOOL) shouldRunSavePanelWithAccessoryView;
+

+
+

saveDocumentWithDelegate:didSaveSelector:contextInfo:

+ - (void) saveDocumentWithDelegate: (id)delegate didSaveSelector: (SEL)didSaveSelector contextInfo: (void*)contextInfo;
+

- -


-

showWindows

-- (void) showWindows;
+

+
+

saveToFile:saveOperation:delegate:didSaveSelector:contextInfo:

+ - (void) saveToFile: (NSString*)fileName saveOperation: (NSSaveOperationType)saveOperation delegate: (id)delegate didSaveSelector: (SEL)didSaveSelector contextInfo: (void*)contextInfo;
+

- -


-

undoManager

-- (NSUndoManager*) undoManager;
+

+
+

setFileName:

+ - (void) setFileName: (NSString*)fileName;
+

- -


-

updateChangeCount:

-- (void) updateChangeCount: (NSDocumentChangeType)changeType;
+

+
+

setFileType:

+ - (void) setFileType: (NSString*)type;
+

- -


-

validateMenuItem:

-- (BOOL) validateMenuItem: (NSMenuItem*)anItem;
+

+
+

setHasUndoManager:

+ - (void) setHasUndoManager: (BOOL)flag;
+

- -


-

windowControllerDidLoadNib:

-- (void) windowControllerDidLoadNib: (NSWindowController*)windowController;
+

+
+

setPrintInfo:

+ - (void) setPrintInfo: (NSPrintInfo*)printInfo;
+

- -


-

windowControllerWillLoadNib:

-- (void) windowControllerWillLoadNib: (NSWindowController*)windowController;
+

+
+

setUndoManager:

+ - (void) setUndoManager: (NSUndoManager*)undoManager;
+

- -


-

windowControllers

-- (NSArray*) windowControllers;
+

+
+

setWindow:

+ - (void) setWindow: (NSWindow*)window;
+

- -


-

windowNibName

-- (NSString*) windowNibName;
+

+
+

shouldChangePrintInfo:

+ - (BOOL) shouldChangePrintInfo: (NSPrintInfo*)newPrintInfo;
+

- -


-

writeToFile:

-- (BOOL) writeToFile: (NSString*)fileName;
+

+
+

shouldCloseWindowController:

+ - (BOOL) shouldCloseWindowController: (NSWindowController*)windowController;
+

- -


- - - +

+
+

shouldCloseWindowController:delegate:shouldCloseSelector:contextInfo:

+ - (void) shouldCloseWindowController: (NSWindowController*)windowController delegate: (id)delegate shouldCloseSelector: (SEL)callback contextInfo: (void*)contextInfo;
+

+ +

+
+

shouldRunSavePanelWithAccessoryView

+ - (BOOL) shouldRunSavePanelWithAccessoryView;
+

+ +

+
+

showWindows

+ - (void) showWindows;
+

+ +

+
+

undoManager

+ - (NSUndoManager*) undoManager;
+

+ +

+
+

updateChangeCount:

+ - (void) updateChangeCount: (NSDocumentChangeType)change;
+

+ +

+
+

validateMenuItem:

+ - (BOOL) validateMenuItem: (NSMenuItem*)anItem;
+

+ +

+
+

validateUserInterfaceItem:

+ - (BOOL) validateUserInterfaceItem: (id)anItem;
+

+ +

+
+

windowControllerDidLoadNib:

+ - (void) windowControllerDidLoadNib: (NSWindowController*)windowController;
+

+ +

+
+

windowControllerWillLoadNib:

+ - (void) windowControllerWillLoadNib: (NSWindowController*)windowController;
+

+ +

+
+

windowControllers

+ - (NSArray*) windowControllers;
+

+ +

+
+

windowNibName

+ - (NSString*) windowNibName;
+

+ +

+
+

writeToFile:ofType:

+ - (BOOL) writeToFile: (NSString*)fileName ofType: (NSString*)type;
+

+ +

+
+

writeToURL:ofType:

+ - (BOOL) writeToURL: (NSURL*)url ofType: (NSString*)type;
+

+ +

+
+

writeWithBackupToFile:ofType:saveOperation:

+ - (BOOL) writeWithBackupToFile: (NSString*)fileName ofType: (NSString*)fileType saveOperation: (NSSaveOperationType)saveOp;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSDocumentController.gsdoc b/Documentation/gsdoc/NSDocumentController.gsdoc index 90f7f7f64..be8818ce7 100644 --- a/Documentation/gsdoc/NSDocumentController.gsdoc +++ b/Documentation/gsdoc/NSDocumentController.gsdoc @@ -1,33 +1,63 @@ - - + + NSDocumentController - - - + + + Carl.Lindberg@hbo.com + - $Revision$ - $Date$ + The document controller class + 1999 Free Software Foundation, Inc. - NSDocumentController + + Software documentation for the NSDocumentController + class + - Gui/NSDocumentController.h - NSObject - - + AppKit/NSDocumentController.h + + sharedDocumentController + + URLsFromRunningOpenPanel + + + + + addDocument: + document + + + + + clearRecentDocuments: + sender + + + closeAllDocuments + + closeAllDocumentsWithDelegate: + delegate + didCloseAllSelector: + didAllCloseSelector + contextInfo: + contextInfo + + + currentDirectory @@ -40,13 +70,13 @@ displayNameForType: - docType + type documentClassForType: - docType + type @@ -69,7 +99,7 @@
fileExtensionsFromType: - docType + type @@ -86,6 +116,16 @@ makeDocumentWithContentsOfFile: fileName + ofType: + type + + + + + makeDocumentWithContentsOfURL: + url + ofType: + type @@ -95,13 +135,25 @@
- + newDocument: sender + noteNewRecentDocument: + aDocument + + + + + noteNewRecentDocumentURL: + anURL + + + + openDocument: sender @@ -110,12 +162,35 @@ openDocumentWithContentsOfFile: fileName + display: + display + + + + + openDocumentWithContentsOfURL: + url + display: + display openUntitledDocumentOfType: - docType + type + display: + display + + + + + recentDocumentURLs + + + + + removeDocument: + document @@ -123,17 +198,33 @@ reviewUnsavedDocumentsWithAlertTitle: title cancellable: - flag + cancellable + + + + + reviewUnsavedDocumentsWithAlertTitle: + title + cancellable: + cancellable + delegate: + delegate + didReviewAllSelector: + didReviewAllSelector + contextInfo: + contextInfo runModalOpenPanel: openPanel + forTypes: + openableFileExtensions - + saveAllDocuments: sender @@ -162,6 +253,12 @@ + + validateUserInterfaceItem: + anItem + + +
diff --git a/Documentation/gsdoc/NSDocumentController.html b/Documentation/gsdoc/NSDocumentController.html index c92839997..977365047 100644 --- a/Documentation/gsdoc/NSDocumentController.html +++ b/Documentation/gsdoc/NSDocumentController.html @@ -1,185 +1,250 @@ - - NSDocumentController - - -[Previous] -[Up] -[Next] -

NSDocumentController

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSDocumentController

-

NSDocumentController

-

Declared in: Gui/NSDocumentController.h

-

Inherits from: NSObject

-

Conforms to: NSObject -

-
+ + + NSDocumentController + + +

NSDocumentController

+

Authors

+
+
Carl Lindberg( + Carl.Lindberg@hbo.com + )
+
+
+
+
+The document controller class
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSDocumentController + class +

+

NSDocumentController : NSObject

+ Declared: AppKit/NSDocumentController.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

sharedDocumentController

-+ (id) sharedDocumentController;
+

+

sharedDocumentController

+ + (id) sharedDocumentController;
+

- -


-

Instances Methods

-

closeAllDocuments

-- (BOOL) closeAllDocuments;
+

+
+

URLsFromRunningOpenPanel

+ - (NSArray*) URLsFromRunningOpenPanel;
+

- -


-

currentDirectory

-- (NSString*) currentDirectory;
+

+
+

addDocument:

+ - (void) addDocument: (NSDocument*)document;
+

- -


-

currentDocument

-- (id) currentDocument;
+

+
+

clearRecentDocuments:

+ - (IBAction) clearRecentDocuments: (id)sender;
+

- -


-

displayNameForType:

-- (NSString*) displayNameForType: (NSString*)docType;
+

+
+

closeAllDocuments

+ - (BOOL) closeAllDocuments;
+

- -


-

documentClassForType:

-- (Class) documentClassForType: (NSString*)docType;
+

+
+

closeAllDocumentsWithDelegate:didCloseAllSelector:contextInfo:

+ - (void) closeAllDocumentsWithDelegate: (id)delegate didCloseAllSelector: (SEL)didAllCloseSelector contextInfo: (void*)contextInfo;
+

- -


-

documentForFileName:

-- (id) documentForFileName: (NSString*)fileName;
+

+
+

currentDirectory

+ - (NSString*) currentDirectory;
+

- -


-

documentForWindow:

-- (id) documentForWindow: (NSWindow*)window;
+

+
+

currentDocument

+ - (id) currentDocument;
+

- -


-

documents

-- (NSArray*) documents;
+

+
+

displayNameForType:

+ - (NSString*) displayNameForType: (NSString*)type;
+

- -


-

fileExtensionsFromType:

-- (NSArray*) fileExtensionsFromType: (NSString*)docType;
+

+
+

documentClassForType:

+ - (Class) documentClassForType: (NSString*)type;
+

- -


-

fileNamesFromRunningOpenPanel

-- (NSArray*) fileNamesFromRunningOpenPanel;
+

+
+

documentForFileName:

+ - (id) documentForFileName: (NSString*)fileName;
+

- -


-

hasEditedDocuments

-- (BOOL) hasEditedDocuments;
+

+
+

documentForWindow:

+ - (id) documentForWindow: (NSWindow*)window;
+

- -


-

makeDocumentWithContentsOfFile:

-- (id) makeDocumentWithContentsOfFile: (NSString*)fileName;
+

+
+

documents

+ - (NSArray*) documents;
+

- -


-

makeUntitledDocumentOfType:

-- (id) makeUntitledDocumentOfType: (NSString*)type;
+

+
+

fileExtensionsFromType:

+ - (NSArray*) fileExtensionsFromType: (NSString*)type;
+

- -


-

newDocument:

-- (void) newDocument: (id)sender;
+

+
+

fileNamesFromRunningOpenPanel

+ - (NSArray*) fileNamesFromRunningOpenPanel;
+

- -


-

openDocument:

-- (void) openDocument: (id)sender;
+

+
+

hasEditedDocuments

+ - (BOOL) hasEditedDocuments;
+

- -


-

openDocumentWithContentsOfFile:

-- (id) openDocumentWithContentsOfFile: (NSString*)fileName;
+

+
+

makeDocumentWithContentsOfFile:ofType:

+ - (id) makeDocumentWithContentsOfFile: (NSString*)fileName ofType: (NSString*)type;
+

- -


-

openUntitledDocumentOfType:

-- (id) openUntitledDocumentOfType: (NSString*)docType;
+

+
+

makeDocumentWithContentsOfURL:ofType:

+ - (id) makeDocumentWithContentsOfURL: (NSURL*)url ofType: (NSString*)type;
+

- -


-

reviewUnsavedDocumentsWithAlertTitle:cancellable:

-- (BOOL) reviewUnsavedDocumentsWithAlertTitle: (NSString*)title cancellable: (BOOL)flag;
+

+
+

makeUntitledDocumentOfType:

+ - (id) makeUntitledDocumentOfType: (NSString*)type;
+

- -


-

runModalOpenPanel:

-- (int) runModalOpenPanel: (NSOpenPanel*)openPanel;
+

+
+

newDocument:

+ - (IBAction) newDocument: (id)sender;
+

- -


-

saveAllDocuments:

-- (void) saveAllDocuments: (id)sender;
+

+
+

noteNewRecentDocument:

+ - (void) noteNewRecentDocument: (NSDocument*)aDocument;
+

- -


-

setShouldCreateUI:

-- (void) setShouldCreateUI: (BOOL)flag;
+

+
+

noteNewRecentDocumentURL:

+ - (void) noteNewRecentDocumentURL: (NSURL*)anURL;
+

- -


-

shouldCreateUI

-- (BOOL) shouldCreateUI;
+

+
+

openDocument:

+ - (IBAction) openDocument: (id)sender;
+

- -


-

typeFromFileExtension:

-- (NSString*) typeFromFileExtension: (NSString*)fileExtension;
+

+
+

openDocumentWithContentsOfFile:display:

+ - (id) openDocumentWithContentsOfFile: (NSString*)fileName display: (BOOL)display;
+

- -


-

validateMenuItem:

-- (BOOL) validateMenuItem: (NSMenuItem*)anItem;
+

+
+

openDocumentWithContentsOfURL:display:

+ - (id) openDocumentWithContentsOfURL: (NSURL*)url display: (BOOL)display;
+

- -


- - - +

+
+

openUntitledDocumentOfType:display:

+ - (id) openUntitledDocumentOfType: (NSString*)type display: (BOOL)display;
+

+ +

+
+

recentDocumentURLs

+ - (NSArray*) recentDocumentURLs;
+

+ +

+
+

removeDocument:

+ - (void) removeDocument: (NSDocument*)document;
+

+ +

+
+

reviewUnsavedDocumentsWithAlertTitle:cancellable:

+ - (BOOL) reviewUnsavedDocumentsWithAlertTitle: (NSString*)title cancellable: (BOOL)cancellable;
+

+ +

+
+

reviewUnsavedDocumentsWithAlertTitle:cancellable:delegate:didReviewAllSelector:contextInfo:

+ - (void) reviewUnsavedDocumentsWithAlertTitle: (NSString*)title cancellable: (BOOL)cancellable delegate: (id)delegate didReviewAllSelector: (SEL)didReviewAllSelector contextInfo: (void*)contextInfo;
+

+ +

+
+

runModalOpenPanel:forTypes:

+ - (int) runModalOpenPanel: (NSOpenPanel*)openPanel forTypes: (NSArray*)openableFileExtensions;
+

+ +

+
+

saveAllDocuments:

+ - (IBAction) saveAllDocuments: (id)sender;
+

+ +

+
+

setShouldCreateUI:

+ - (void) setShouldCreateUI: (BOOL)flag;
+

+ +

+
+

shouldCreateUI

+ - (BOOL) shouldCreateUI;
+

+ +

+
+

typeFromFileExtension:

+ - (NSString*) typeFromFileExtension: (NSString*)fileExtension;
+

+ +

+
+

validateMenuItem:

+ - (BOOL) validateMenuItem: (NSMenuItem*)anItem;
+

+ +

+
+

validateUserInterfaceItem:

+ - (BOOL) validateUserInterfaceItem: (id)anItem;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSEPSImageRep.gsdoc b/Documentation/gsdoc/NSEPSImageRep.gsdoc index 8fdab3431..5bc3fbe5d 100644 --- a/Documentation/gsdoc/NSEPSImageRep.gsdoc +++ b/Documentation/gsdoc/NSEPSImageRep.gsdoc @@ -1,23 +1,25 @@ - - + + NSEPSImageRep - - - + + + fedor@colorado.edu + - $Revision$ - $Date$ + EPS image representation. + 1996 Free Software Foundation, Inc. - NSEPSImageRep + + Software documentation for the NSEPSImageRep class + - Gui/NSEPSImageRep.h - NSCoding - - + AppKit/NSEPSImageRep.h + + imageRepWithData: epsData diff --git a/Documentation/gsdoc/NSEPSImageRep.html b/Documentation/gsdoc/NSEPSImageRep.html index e8c8f14ac..292d1e35e 100644 --- a/Documentation/gsdoc/NSEPSImageRep.html +++ b/Documentation/gsdoc/NSEPSImageRep.html @@ -1,65 +1,57 @@ - - NSEPSImageRep - - -[Previous] -[Up] -[Next] -

NSEPSImageRep

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSEPSImageRep

-

NSEPSImageRep

-

Declared in: Gui/NSEPSImageRep.h

-

Inherits from: NSImageRep

-

Conforms to: NSCoding -

-
+ + + NSEPSImageRep + + +

NSEPSImageRep

+

Authors

+
+
Adam Fedor( + fedor@colorado.edu + )
+
+
+
+
+EPS image representation.
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSEPSImageRep class +

+

NSEPSImageRep : NSImageRep

+ Declared: AppKit/NSEPSImageRep.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

imageRepWithData:

-+ (id) imageRepWithData: (NSData*)epsData;
+

+

imageRepWithData:

+ + (id) imageRepWithData: (NSData*)epsData;
+

- -


-

Instances Methods

-

EPSRepresentation

-- (NSData*) EPSRepresentation;
+

+
+

EPSRepresentation

+ - (NSData*) EPSRepresentation;
+

- -


-

boundingBox

-- (NSRect) boundingBox;
+

+
+

boundingBox

+ - (NSRect) boundingBox;
+

- -


-

initWithData:

-- (id) initWithData: (NSData*)epsData;
+

+
+

initWithData:

+ - (id) initWithData: (NSData*)epsData;
+

- -


-

prepareGState

-- (void) prepareGState;
+

+
+

prepareGState

+ - (void) prepareGState;
+

- -


- - - +

+
+ + diff --git a/Documentation/gsdoc/NSEvent.gsdoc b/Documentation/gsdoc/NSEvent.gsdoc index 162c0829c..76f277b20 100644 --- a/Documentation/gsdoc/NSEvent.gsdoc +++ b/Documentation/gsdoc/NSEvent.gsdoc @@ -1,23 +1,37 @@ - - + + NSEvent - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + ovidiu@net-community.com + + + + + far@ix.netcom.com + + + The event class + 1996 Free Software Foundation, Inc. - NSEvent + + Software documentation for the NSEvent class + - Gui/NSEvent.h + AppKit/NSEvent.h NSCoding - - + NSCopying + + enterExitEventWithType: type @@ -28,13 +42,15 @@ timestamp: time windowNumber: - windowNumber + windowNum context: - context + context eventNumber: - eventNumber + eventNum trackingNumber: - trackingNumber + trackingNum + userData: + userData @@ -50,15 +66,15 @@ windowNumber: windowNum context: - context + context characters: - characters + keys charactersIgnoringModifiers: - unmodCharacters + ukeys isARepeat: repeatKey keyCode: - code + code
@@ -74,13 +90,18 @@ windowNumber: windowNum context: - context + context eventNumber: - eventNumber + eventNum clickCount: - clickNumber + clickNum pressure: - pressure + pressureValue + + + + + mouseLocation @@ -96,9 +117,9 @@ windowNumber: windowNum context: - context + context subtype: - subtype + subType data1: data1 data2: @@ -106,6 +127,14 @@ + + startPeriodicEventsAfterDelay: + delaySeconds + withPeriod: + periodSeconds + + + stopPeriodicEvents @@ -126,7 +155,7 @@ - + context @@ -141,6 +170,21 @@ + + deltaX + + + + + deltaY + + + + + deltaZ + + + eventNumber @@ -151,7 +195,7 @@ - + keyCode @@ -171,7 +215,7 @@ - + subtype diff --git a/Documentation/gsdoc/NSEvent.html b/Documentation/gsdoc/NSEvent.html index d600ca59b..058c8ba71 100644 --- a/Documentation/gsdoc/NSEvent.html +++ b/Documentation/gsdoc/NSEvent.html @@ -1,179 +1,213 @@ - - NSEvent - - -[Previous] -[Up] -[Next] -

NSEvent

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSEvent

-

NSEvent

-

Declared in: Gui/NSEvent.h

-

Inherits from: NSObject

-

Conforms to: NSCoding -

-
+ + + NSEvent + + +

NSEvent

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Ovidiu Predescu( + ovidiu@net-community.com + )
+
+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
+
+The event class
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSEvent class +

+

NSEvent : NSObject

+ Declared: AppKit/NSEvent.h
+ Conform: NSCoding
+ Conform: NSCopying
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

enterExitEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:trackingNumber:

-+ (NSEvent*) enterExitEventWithType: (NSEventType)type location: (NSPoint)location modifierFlags: (unsigned int)flags timestamp: (NSTimeInterval)time windowNumber: (int)windowNumber context: (NSDPSContext *)context eventNumber: (int)eventNumber trackingNumber: (int)trackingNumber;
+

+

enterExitEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:trackingNumber:userData:

+ + (NSEvent*) enterExitEventWithType: (NSEventType)type location: (NSPoint)location modifierFlags: (unsigned int)flags timestamp: (NSTimeInterval)time windowNumber: (int)windowNum context: (NSGraphicsContext*)context eventNumber: (int)eventNum trackingNumber: (int)trackingNum userData: (void*)userData;
+

- -


-

keyEventWithType:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:

-+ (NSEvent*) keyEventWithType: (NSEventType)type location: (NSPoint)location modifierFlags: (unsigned int)flags timestamp: (NSTimeInterval)time windowNumber: (int)windowNum context: (NSDPSContext *)context characters: (NSString*)characters charactersIgnoringModifiers: (NSString*)unmodCharacters isARepeat: (BOOL)repeatKey keyCode: (unsigned short int)code;
+

+
+

keyEventWithType:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:

+ + (NSEvent*) keyEventWithType: (NSEventType)type location: (NSPoint)location modifierFlags: (unsigned int)flags timestamp: (NSTimeInterval)time windowNumber: (int)windowNum context: (NSGraphicsContext*)context characters: (NSString*)keys charactersIgnoringModifiers: (NSString*)ukeys isARepeat: (BOOL)repeatKey keyCode: (unsigned short)code;
+

- -


-

mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:

-+ (NSEvent*) mouseEventWithType: (NSEventType)type location: (NSPoint)location modifierFlags: (unsigned int)flags timestamp: (NSTimeInterval)time windowNumber: (int)windowNum context: (NSDPSContext *)context eventNumber: (int)eventNumber clickCount: (int)clickNumber pressure: (float)pressure;
+

+
+

mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:

+ + (NSEvent*) mouseEventWithType: (NSEventType)type location: (NSPoint)location modifierFlags: (unsigned int)flags timestamp: (NSTimeInterval)time windowNumber: (int)windowNum context: (NSGraphicsContext*)context eventNumber: (int)eventNum clickCount: (int)clickNum pressure: (float)pressureValue;
+

- -


-

otherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:

-+ (NSEvent*) otherEventWithType: (NSEventType)type location: (NSPoint)location modifierFlags: (unsigned int)flags timestamp: (NSTimeInterval)time windowNumber: (int)windowNum context: (NSDPSContext *)context subtype: (shortint)subtype data1: (int)data1 data2: (int)data2;
+

+
+

mouseLocation

+ + (NSPoint) mouseLocation;
+

- -


-

stopPeriodicEvents

-+ (void) stopPeriodicEvents;
+

+
+

otherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:

+ + (NSEvent*) otherEventWithType: (NSEventType)type location: (NSPoint)location modifierFlags: (unsigned int)flags timestamp: (NSTimeInterval)time windowNumber: (int)windowNum context: (NSGraphicsContext*)context subtype: (short)subType data1: (int)data1 data2: (int)data2;
+

- -


-

Instances Methods

-

characters

-- (NSString*) characters;
+

+
+

startPeriodicEventsAfterDelay:withPeriod:

+ + (void) startPeriodicEventsAfterDelay: (NSTimeInterval)delaySeconds withPeriod: (NSTimeInterval)periodSeconds;
+

- -


-

charactersIgnoringModifiers

-- (NSString*) charactersIgnoringModifiers;
+

+
+

stopPeriodicEvents

+ + (void) stopPeriodicEvents;
+

- -


-

clickCount

-- (int) clickCount;
+

+
+

characters

+ - (NSString*) characters;
+

- -


-

context

-- (NSDPSContext*) context;
+

+
+

charactersIgnoringModifiers

+ - (NSString*) charactersIgnoringModifiers;
+

- -


-

data1

-- (int) data1;
+

+
+

clickCount

+ - (int) clickCount;
+

- -


-

data2

-- (int) data2;
+

+
+

context

+ - (NSGraphicsContext*) context;
+

- -


-

eventNumber

-- (int) eventNumber;
+

+
+

data1

+ - (int) data1;
+

- -


-

isARepeat

-- (BOOL) isARepeat;
+

+
+

data2

+ - (int) data2;
+

- -


-

keyCode

-- (unsigned short int) keyCode;
+

+
+

deltaX

+ - (float) deltaX;
+

- -


-

locationInWindow

-- (NSPoint) locationInWindow;
+

+
+

deltaY

+ - (float) deltaY;
+

- -


-

modifierFlags

-- (unsigned int) modifierFlags;
+

+
+

deltaZ

+ - (float) deltaZ;
+

- -


-

pressure

-- (float) pressure;
+

+
+

eventNumber

+ - (int) eventNumber;
+

- -


-

subtype

-- (shortint) subtype;
+

+
+

isARepeat

+ - (BOOL) isARepeat;
+

- -


-

timestamp

-- (NSTimeInterval) timestamp;
+

+
+

keyCode

+ - (unsigned short) keyCode;
+

- -


-

trackingNumber

-- (int) trackingNumber;
+

+
+

locationInWindow

+ - (NSPoint) locationInWindow;
+

- -


-

type

-- (NSEventType) type;
+

+
+

modifierFlags

+ - (unsigned int) modifierFlags;
+

- -


-

userData

-- (void*) userData;
+

+
+

pressure

+ - (float) pressure;
+

- -


-

window

-- (NSWindow*) window;
+

+
+

subtype

+ - (short) subtype;
+

- -


-

windowNumber

-- (int) windowNumber;
+

+
+

timestamp

+ - (NSTimeInterval) timestamp;
+

- -


- - - +

+
+

trackingNumber

+ - (int) trackingNumber;
+

+ +

+
+

type

+ - (NSEventType) type;
+

+ +

+
+

userData

+ - (void*) userData;
+

+ +

+
+

window

+ - (NSWindow*) window;
+

+ +

+
+

windowNumber

+ - (int) windowNumber;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSFileWrapper.gsdoc b/Documentation/gsdoc/NSFileWrapper.gsdoc index 9aea87134..66924924e 100644 --- a/Documentation/gsdoc/NSFileWrapper.gsdoc +++ b/Documentation/gsdoc/NSFileWrapper.gsdoc @@ -1,23 +1,32 @@ - - + + NSFileWrapper - - - + + + far@ix.netcom.com + - $Revision$ - $Date$ + + + jagapen@whitewater.chem.wisc.edu + + + + Hold a file's contents in dynamic memory. + + 1996 Free Software Foundation, Inc. - NSFileWrapper + + Software documentation for the NSFileWrapper class + - Gui/NSFileWrapper.h - NSObject - - + AppKit/NSFileWrapper.h + + addFileWithPath: path @@ -26,13 +35,13 @@ addFileWrapper: - wrapper + doc addRegularFileWithContents: - contents + data preferredFilename: filename @@ -51,13 +60,13 @@ - - filename + + fileWrappers - - fileWrappers + + filename @@ -68,13 +77,13 @@ initDirectoryWithFileWrappers: - wrappers + docs initRegularFileWithContents: - contents + data @@ -113,7 +122,7 @@ keyForFileWrapper: - wrapper + doc @@ -135,7 +144,7 @@
removeFileWrapper: - wrapper + doc @@ -158,7 +167,7 @@
setIcon: - anImage + icon @@ -185,7 +194,7 @@ atomically: atomicFlag updateFilenames: - updateNamesFlag + updateFilenamesFlag
diff --git a/Documentation/gsdoc/NSFileWrapper.html b/Documentation/gsdoc/NSFileWrapper.html index 512ca42a0..0df1e9dcc 100644 --- a/Documentation/gsdoc/NSFileWrapper.html +++ b/Documentation/gsdoc/NSFileWrapper.html @@ -1,208 +1,208 @@ - - NSFileWrapper - - -[Previous] -[Up] -[Next] -

NSFileWrapper

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSFileWrapper

-

NSFileWrapper

-

Declared in: Gui/NSFileWrapper.h

-

Inherits from: NSObject

-

Conforms to: NSObject -

-
+ + + NSFileWrapper + + +

NSFileWrapper

+

Authors

+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
Jonathan Gapen( + jagapen@whitewater.chem.wisc.edu + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

addFileWithPath:

-- (NSString*) addFileWithPath: (NSString*)path;
+ Hold a file's contents in dynamic memory. +
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSFileWrapper class +

+

NSFileWrapper : NSObject

+ Declared: AppKit/NSFileWrapper.h
+

- -


-

addFileWrapper:

-- (NSString*) addFileWrapper: (NSFileWrapper*)wrapper;
+

+

addFileWithPath:

+ - (NSString*) addFileWithPath: (NSString*)path;
+

- -


-

addRegularFileWithContents:preferredFilename:

-- (NSString*) addRegularFileWithContents: (NSData*)contents preferredFilename: (NSString*)filename;
+

+
+

addFileWrapper:

+ - (NSString*) addFileWrapper: (NSFileWrapper*)doc;
+

- -


-

addSymbolicLinkWithDestination:preferredFilename:

-- (NSString*) addSymbolicLinkWithDestination: (NSString*)path preferredFilename: (NSString*)filename;
+

+
+

addRegularFileWithContents:preferredFilename:

+ - (NSString*) addRegularFileWithContents: (NSData*)data preferredFilename: (NSString*)filename;
+

- -


-

fileAttributes

-- (NSDictionary*) fileAttributes;
+

+
+

addSymbolicLinkWithDestination:preferredFilename:

+ - (NSString*) addSymbolicLinkWithDestination: (NSString*)path preferredFilename: (NSString*)filename;
+

- -


-

filename

-- (NSString*) filename;
+

+
+

fileAttributes

+ - (NSDictionary*) fileAttributes;
+

- -


-

fileWrappers

-- (NSDictionary*) fileWrappers;
+

+
+

fileWrappers

+ - (NSDictionary*) fileWrappers;
+

- -


-

icon

-- (NSImage*) icon;
+

+
+

filename

+ - (NSString*) filename;
+

- -


-

initDirectoryWithFileWrappers:

-- (id) initDirectoryWithFileWrappers: (NSDictionary*)wrappers;
+

+
+

icon

+ - (NSImage*) icon;
+

- -


-

initRegularFileWithContents:

-- (id) initRegularFileWithContents: (NSData*)contents;
+

+
+

initDirectoryWithFileWrappers:

+ - (id) initDirectoryWithFileWrappers: (NSDictionary*)docs;
+

- -


-

initSymbolicLinkWithDestination:

-- (id) initSymbolicLinkWithDestination: (NSString*)path;
+

+
+

initRegularFileWithContents:

+ - (id) initRegularFileWithContents: (NSData*)data;
+

- -


-

initWithPath:

-- (id) initWithPath: (NSString*)path;
+

+
+

initSymbolicLinkWithDestination:

+ - (id) initSymbolicLinkWithDestination: (NSString*)path;
+

- -


-

initWithSerializedRepresentation:

-- (id) initWithSerializedRepresentation: (NSData*)data;
+

+
+

initWithPath:

+ - (id) initWithPath: (NSString*)path;
+

- -


-

isDirectory

-- (BOOL) isDirectory;
+

+
+

initWithSerializedRepresentation:

+ - (id) initWithSerializedRepresentation: (NSData*)data;
+

- -


-

isRegularFile

-- (BOOL) isRegularFile;
+

+
+

isDirectory

+ - (BOOL) isDirectory;
+

- -


-

isSymbolicLink

-- (BOOL) isSymbolicLink;
+

+
+

isRegularFile

+ - (BOOL) isRegularFile;
+

- -


-

keyForFileWrapper:

-- (NSString*) keyForFileWrapper: (NSFileWrapper*)wrapper;
+

+
+

isSymbolicLink

+ - (BOOL) isSymbolicLink;
+

- -


-

needsToBeUpdatedFromPath:

-- (BOOL) needsToBeUpdatedFromPath: (NSString*)path;
+

+
+

keyForFileWrapper:

+ - (NSString*) keyForFileWrapper: (NSFileWrapper*)doc;
+

- -


-

preferredFilename

-- (NSString*) preferredFilename;
+

+
+

needsToBeUpdatedFromPath:

+ - (BOOL) needsToBeUpdatedFromPath: (NSString*)path;
+

- -


-

regularFileContents

-- (NSData*) regularFileContents;
+

+
+

preferredFilename

+ - (NSString*) preferredFilename;
+

- -


-

removeFileWrapper:

-- (void) removeFileWrapper: (NSFileWrapper*)wrapper;
+

+
+

regularFileContents

+ - (NSData*) regularFileContents;
+

- -


-

serializedRepresentation

-- (NSData*) serializedRepresentation;
+

+
+

removeFileWrapper:

+ - (void) removeFileWrapper: (NSFileWrapper*)doc;
+

- -


-

setFileAttributes:

-- (void) setFileAttributes: (NSDictionary*)attributes;
+

+
+

serializedRepresentation

+ - (NSData*) serializedRepresentation;
+

- -


-

setFilename:

-- (void) setFilename: (NSString*)filename;
+

+
+

setFileAttributes:

+ - (void) setFileAttributes: (NSDictionary*)attributes;
+

- -


-

setIcon:

-- (void) setIcon: (NSImage*)anImage;
+

+
+

setFilename:

+ - (void) setFilename: (NSString*)filename;
+

- -


-

setPreferredFilename:

-- (void) setPreferredFilename: (NSString*)filename;
+

+
+

setIcon:

+ - (void) setIcon: (NSImage*)icon;
+

- -


-

symbolicLinkDestination

-- (NSString*) symbolicLinkDestination;
+

+
+

setPreferredFilename:

+ - (void) setPreferredFilename: (NSString*)filename;
+

- -


-

updateFromPath:

-- (BOOL) updateFromPath: (NSString*)path;
+

+
+

symbolicLinkDestination

+ - (NSString*) symbolicLinkDestination;
+

- -


-

writeToFile:atomically:updateFilenames:

-- (BOOL) writeToFile: (NSString*)path atomically: (BOOL)atomicFlag updateFilenames: (BOOL)updateNamesFlag;
+

+
+

updateFromPath:

+ - (BOOL) updateFromPath: (NSString*)path;
+

- -


- - - +

+
+

writeToFile:atomically:updateFilenames:

+ - (BOOL) writeToFile: (NSString*)path atomically: (BOOL)atomicFlag updateFilenames: (BOOL)updateFilenamesFlag;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSFont.gsdoc b/Documentation/gsdoc/NSFont.gsdoc index 1355aef1c..359f003f2 100644 --- a/Documentation/gsdoc/NSFont.gsdoc +++ b/Documentation/gsdoc/NSFont.gsdoc @@ -1,23 +1,27 @@ - - + + NSFont - - - + + + ovidiu@net-community.com + - $Revision$ - $Date$ + The font class + 1996 Free Software Foundation, Inc. - NSFont + + Software documentation for the NSFont class + - Gui/NSFont.h + AppKit/NSFont.h NSCoding - - + NSCopying + + boldSystemFontOfSize: fontSize @@ -32,13 +36,28 @@ fontWithName: - typeface + name + matrix: + fontMatrix fontWithName: - fontName + name + size: + fontSize + + + + + labelFontOfSize: + fontSize + + + + + labelFontSize @@ -73,13 +92,18 @@
setUserFixedPitchFont: - aFont + font setUserFont: - aFont + font + + + + + smallSystemFontSize @@ -89,6 +113,11 @@ + + systemFontSize + + + titleBarFontOfSize: fontSize @@ -103,7 +132,7 @@ useFont: - fontName + name @@ -125,6 +154,11 @@ + + afmDictionary + + + afmFileContents @@ -151,6 +185,11 @@ + + defaultLineHeightForFont + + + descender @@ -183,7 +222,7 @@ - glyphPacking + glyphPacking @@ -208,7 +247,7 @@ - + matrix @@ -218,6 +257,11 @@ + + minimumAdvancement + + + mostCompatibleStringEncoding @@ -240,9 +284,11 @@ positionOfGlyph: - aGlyph + curGlyph precededByGlyph: prevGlyph + isNominal: + nominal @@ -274,7 +320,7 @@ toBaseGlyph: baseGlyph totalAdvancement: - offset + offset metricsExist: flag @@ -286,7 +332,7 @@ numberOfGlyphs: numGlyphs pointArray: - points + points @@ -317,12 +363,7 @@ widthOfString: - aString - - - - - widths + string @@ -333,5 +374,21 @@
+ + + Software documentation for the NSFont(GNUstep) + category + + + AppKit/NSFont.h + + + + fontInfo + + + + +
diff --git a/Documentation/gsdoc/NSFont.html b/Documentation/gsdoc/NSFont.html index d83eb1f9d..58934d083 100644 --- a/Documentation/gsdoc/NSFont.html +++ b/Documentation/gsdoc/NSFont.html @@ -1,347 +1,392 @@ - - NSFont - - -[Previous] -[Up] -[Next] -

NSFont

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSFont

-

NSFont

-

Declared in: Gui/NSFont.h

-

Inherits from: NSObject

-

Conforms to: NSCoding -

-
+ + + NSFont + + +

NSFont

+

Authors

+
+
Ovidiu Predescu( + ovidiu@net-community.com + )
+
+
+
+
+The font class
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSFont class +

+

NSFont : NSObject

+ Declared: AppKit/NSFont.h
+ Conform: NSCoding
+ Conform: NSCopying
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

boldSystemFontOfSize:

-+ (NSFont*) boldSystemFontOfSize: (float)fontSize;
+

+

boldSystemFontOfSize:

+ + (NSFont*) boldSystemFontOfSize: (float)fontSize;
+

- -


-

controlContentFontOfSize:

-+ (NSFont*) controlContentFontOfSize: (float)fontSize;
+

+
+

controlContentFontOfSize:

+ + (NSFont*) controlContentFontOfSize: (float)fontSize;
+

- -


-

fontWithName:

-+ (NSFont*) fontWithName: (NSString*)typeface;
+

+
+

fontWithName:matrix:

+ + (NSFont*) fontWithName: (NSString*)name matrix: (const float*)fontMatrix;
+

- -


-

fontWithName:

-+ (NSFont*) fontWithName: (NSString*)fontName;
+

+
+

fontWithName:size:

+ + (NSFont*) fontWithName: (NSString*)name size: (float)fontSize;
+

- -


-

menuFontOfSize:

-+ (NSFont*) menuFontOfSize: (float)fontSize;
+

+
+

labelFontOfSize:

+ + (NSFont*) labelFontOfSize: (float)fontSize;
+

- -


-

messageFontOfSize:

-+ (NSFont*) messageFontOfSize: (float)fontSize;
+

+
+

labelFontSize

+ + (float) labelFontSize;
+

- -


-

paletteFontOfSize:

-+ (NSFont*) paletteFontOfSize: (float)fontSize;
+

+
+

menuFontOfSize:

+ + (NSFont*) menuFontOfSize: (float)fontSize;
+

- -


-

preferredFontNames

-+ (NSArray*) preferredFontNames;
+

+
+

messageFontOfSize:

+ + (NSFont*) messageFontOfSize: (float)fontSize;
+

- -


-

setPreferredFontNames:

-+ (void) setPreferredFontNames: (NSArray*)fontNames;
+

+
+

paletteFontOfSize:

+ + (NSFont*) paletteFontOfSize: (float)fontSize;
+

- -


-

setUserFixedPitchFont:

-+ (void) setUserFixedPitchFont: (NSFont*)aFont;
+

+
+

preferredFontNames

+ + (NSArray*) preferredFontNames;
+

- -


-

setUserFont:

-+ (void) setUserFont: (NSFont*)aFont;
+

+
+

setPreferredFontNames:

+ + (void) setPreferredFontNames: (NSArray*)fontNames;
+

- -


-

systemFontOfSize:

-+ (NSFont*) systemFontOfSize: (float)fontSize;
+

+
+

setUserFixedPitchFont:

+ + (void) setUserFixedPitchFont: (NSFont*)font;
+

- -


-

titleBarFontOfSize:

-+ (NSFont*) titleBarFontOfSize: (float)fontSize;
+

+
+

setUserFont:

+ + (void) setUserFont: (NSFont*)font;
+

- -


-

toolTipsFontOfSize:

-+ (NSFont*) toolTipsFontOfSize: (float)fontSize;
+

+
+

smallSystemFontSize

+ + (float) smallSystemFontSize;
+

- -


-

useFont:

-+ (void) useFont: (NSString*)fontName;
+

+
+

systemFontOfSize:

+ + (NSFont*) systemFontOfSize: (float)fontSize;
+

- -


-

userFixedPitchFontOfSize:

-+ (NSFont*) userFixedPitchFontOfSize: (float)fontSize;
+

+
+

systemFontSize

+ + (float) systemFontSize;
+

- -


-

userFontOfSize:

-+ (NSFont*) userFontOfSize: (float)fontSize;
+

+
+

titleBarFontOfSize:

+ + (NSFont*) titleBarFontOfSize: (float)fontSize;
+

- -


-

Instances Methods

-

advancementForGlyph:

-- (NSSize) advancementForGlyph: (NSGlyph)aGlyph;
+

+
+

toolTipsFontOfSize:

+ + (NSFont*) toolTipsFontOfSize: (float)fontSize;
+

- -


-

afmFileContents

-- (NSString*) afmFileContents;
+

+
+

useFont:

+ + (void) useFont: (NSString*)name;
+

- -


-

ascender

-- (float) ascender;
+

+
+

userFixedPitchFontOfSize:

+ + (NSFont*) userFixedPitchFontOfSize: (float)fontSize;
+

- -


-

boundingRectForFont

-- (NSRect) boundingRectForFont;
+

+
+

userFontOfSize:

+ + (NSFont*) userFontOfSize: (float)fontSize;
+

- -


-

boundingRectForGlyph:

-- (NSRect) boundingRectForGlyph: (NSGlyph)aGlyph;
+

+
+

advancementForGlyph:

+ - (NSSize) advancementForGlyph: (NSGlyph)aGlyph;
+

- -


-

capHeight

-- (float) capHeight;
+

+
+

afmDictionary

+ - (NSDictionary*) afmDictionary;
+

- -


-

descender

-- (float) descender;
+

+
+

afmFileContents

+ - (NSString*) afmFileContents;
+

- -


-

displayName

-- (NSString*) displayName;
+

+
+

ascender

+ - (float) ascender;
+

- -


-

encodingScheme

-- (NSString*) encodingScheme;
+

+
+

boundingRectForFont

+ - (NSRect) boundingRectForFont;
+

- -


-

familyName

-- (NSString*) familyName;
+

+
+

boundingRectForGlyph:

+ - (NSRect) boundingRectForGlyph: (NSGlyph)aGlyph;
+

- -


-

fontName

-- (NSString*) fontName;
+

+
+

capHeight

+ - (float) capHeight;
+

- -


-

glyphIsEncoded:

-- (BOOL) glyphIsEncoded: (NSGlyph)aGlyph;
+

+
+

defaultLineHeightForFont

+ - (float) defaultLineHeightForFont;
+

- -


-

glyphPacking

-- (NSMultibyteGlyphPacking) glyphPacking;
+

+
+

descender

+ - (float) descender;
+

- -


-

glyphWithName:

-- (NSGlyph) glyphWithName: (NSString*)glyphName;
+

+
+

displayName

+ - (NSString*) displayName;
+

- -


-

isBaseFont

-- (BOOL) isBaseFont;
+

+
+

encodingScheme

+ - (NSString*) encodingScheme;
+

- -


-

isFixedPitch

-- (BOOL) isFixedPitch;
+

+
+

familyName

+ - (NSString*) familyName;
+

- -


-

italicAngle

-- (float) italicAngle;
+

+
+

fontName

+ - (NSString*) fontName;
+

- -


-

matrix

-- (constfloat*) matrix;
+

+
+

glyphIsEncoded:

+ - (BOOL) glyphIsEncoded: (NSGlyph)aGlyph;
+

- -


-

maximumAdvancement

-- (NSSize) maximumAdvancement;
+

+
+

glyphPacking

+ - (NSMultibyteGlyphPacking) glyphPacking;
+

- -


-

mostCompatibleStringEncoding

-- (NSStringEncoding) mostCompatibleStringEncoding;
+

+
+

glyphWithName:

+ - (NSGlyph) glyphWithName: (NSString*)glyphName;
+

- -


-

pointSize

-- (float) pointSize;
+

+
+

isBaseFont

+ - (BOOL) isBaseFont;
+

- -


-

positionOfGlyph:forCharacter:struckOverRect:

-- (NSPoint) positionOfGlyph: (NSGlyph)aGlyph forCharacter: (unichar)aChar struckOverRect: (NSRect)aRect;
+

+
+

isFixedPitch

+ - (BOOL) isFixedPitch;
+

- -


-

positionOfGlyph:precededByGlyph:

-- (NSPoint) positionOfGlyph: (NSGlyph)aGlyph precededByGlyph: (NSGlyph)prevGlyph;
+

+
+

italicAngle

+ - (float) italicAngle;
+

- -


-

positionOfGlyph:struckOverGlyph:metricsExist:

-- (NSPoint) positionOfGlyph: (NSGlyph)aGlyph struckOverGlyph: (NSGlyph)baseGlyph metricsExist: (BOOL*)flag;
+

+
+

matrix

+ - (const float*) matrix;
+

- -


-

positionOfGlyph:struckOverRect:metricsExist:

-- (NSPoint) positionOfGlyph: (NSGlyph)aGlyph struckOverRect: (NSRect)aRect metricsExist: (BOOL*)flag;
+

+
+

maximumAdvancement

+ - (NSSize) maximumAdvancement;
+

- -


-

positionOfGlyph:withRelation:toBaseGlyph:totalAdvancement:metricsExist:

-- (NSPoint) positionOfGlyph: (NSGlyph)aGlyph withRelation: (NSGlyphRelation)relation toBaseGlyph: (NSGlyph)baseGlyph totalAdvancement: (NSSizePointer)offset metricsExist: (BOOL*)flag;
+

+
+

minimumAdvancement

+ - (NSSize) minimumAdvancement;
+

- -


-

positionsForCompositeSequence:numberOfGlyphs:pointArray:

-- (int) positionsForCompositeSequence: (NSGlyph*)glyphs numberOfGlyphs: (int)numGlyphs pointArray: (NSPointArray)points;
+

+
+

mostCompatibleStringEncoding

+ - (NSStringEncoding) mostCompatibleStringEncoding;
+

- -


-

printerFont

-- (NSFont*) printerFont;
+

+
+

pointSize

+ - (float) pointSize;
+

- -


-

screenFont

-- (NSFont*) screenFont;
+

+
+

positionOfGlyph:forCharacter:struckOverRect:

+ - (NSPoint) positionOfGlyph: (NSGlyph)aGlyph forCharacter: (unichar)aChar struckOverRect: (NSRect)aRect;
+

- -


-

set

-- (void) set;
+

+
+

positionOfGlyph:precededByGlyph:isNominal:

+ - (NSPoint) positionOfGlyph: (NSGlyph)curGlyph precededByGlyph: (NSGlyph)prevGlyph isNominal: (BOOL*)nominal;
+

- -


-

underlinePosition

-- (float) underlinePosition;
+

+
+

positionOfGlyph:struckOverGlyph:metricsExist:

+ - (NSPoint) positionOfGlyph: (NSGlyph)aGlyph struckOverGlyph: (NSGlyph)baseGlyph metricsExist: (BOOL*)flag;
+

- -


-

underlineThickness

-- (float) underlineThickness;
+

+
+

positionOfGlyph:struckOverRect:metricsExist:

+ - (NSPoint) positionOfGlyph: (NSGlyph)aGlyph struckOverRect: (NSRect)aRect metricsExist: (BOOL*)flag;
+

- -


-

widthOfString:

-- (float) widthOfString: (NSString*)aString;
+

+
+

positionOfGlyph:withRelation:toBaseGlyph:totalAdvancement:metricsExist:

+ - (NSPoint) positionOfGlyph: (NSGlyph)aGlyph withRelation: (NSGlyphRelation)relation toBaseGlyph: (NSGlyph)baseGlyph totalAdvancement: (NSSize*)offset metricsExist: (BOOL*)flag;
+

- -


-

widths

-- (float*) widths;
+

+
+

positionsForCompositeSequence:numberOfGlyphs:pointArray:

+ - (int) positionsForCompositeSequence: (NSGlyph*)glyphs numberOfGlyphs: (int)numGlyphs pointArray: (NSPoint*)points;
+

- -


-

xHeight

-- (float) xHeight;
+

+
+

printerFont

+ - (NSFont*) printerFont;
+

- -


- - - +

+
+

screenFont

+ - (NSFont*) screenFont;
+

+ +

+
+

set

+ - (void) set;
+

+ +

+
+

underlinePosition

+ - (float) underlinePosition;
+

+ +

+
+

underlineThickness

+ - (float) underlineThickness;
+

+ +

+
+

widthOfString:

+ - (float) widthOfString: (NSString*)string;
+

+ +

+
+

xHeight

+ - (float) xHeight;
+

+ +

+
+

+ Software documentation for the NSFont(GNUstep) + category +

+

NSFont(GNUstep)

+ Declared: AppKit/NSFont.h
+

+ +

+

fontInfo

+ - (GSFontInfo*) fontInfo;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSFontManager.gsdoc b/Documentation/gsdoc/NSFontManager.gsdoc index 60d74332b..ac72f5240 100644 --- a/Documentation/gsdoc/NSFontManager.gsdoc +++ b/Documentation/gsdoc/NSFontManager.gsdoc @@ -1,32 +1,34 @@ - - + + NSFontManager - - - + + + FredKiefer@gmx.de + - $Revision$ - $Date$ + Manages system and user fonts + 1996 Free Software Foundation, Inc. - NSFontManager + + Software documentation for the NSFontManager class + - Gui/NSFontManager.h - NSObject - - + AppKit/NSFontManager.h + + setFontManagerFactory: - aClass + class setFontPanelFactory: - factoryId + class @@ -70,13 +72,13 @@ convertFont: - aFont + fontObject convertFont: - aFont + fontObject toFace: typeface @@ -84,7 +86,7 @@ convertFont: - aFont + fontObject toFamily: family @@ -92,23 +94,23 @@ convertFont: - aFont + fontObject toHaveTrait: - fontTrait + trait convertFont: - aFont + fontObject toNotHaveTrait: - fontTraitMask + trait convertFont: - aFont + fontObject toSize: size @@ -116,7 +118,9 @@ convertWeight: - increaseFlag + upFlag + ofFont: + fontObject @@ -127,7 +131,7 @@ fontMenu: - createFlag + create @@ -141,7 +145,7 @@ fontPanel: - createFlag + create @@ -149,9 +153,11 @@ fontWithFamily: family traits: - fontTraitMask + traits weight: weight + size: + size @@ -166,8 +172,10 @@ - localizedNameForFamily: + localizedNameForFamily: family + face: + face @@ -225,13 +233,13 @@ setFontMenu: - aMenu + newMenu setSelectedFont: - aFont + fontObject isMultiple: flag @@ -239,31 +247,37 @@ traitsOfFont: - aFont + fontObject weightOfFont: - aFont - - - - - changeFont: - sender - - - - - fontManager: - theFontManager - willIncludeFont: - fontName + fontObject + + + Software documentation for the + NSObject(NSFontManagerDelegate) + category + + + AppKit/NSFontManager.h + + + + fontManager: + sender + willIncludeFont: + fontName + + + + + diff --git a/Documentation/gsdoc/NSFontManager.html b/Documentation/gsdoc/NSFontManager.html index 0ae596369..a6d7983c3 100644 --- a/Documentation/gsdoc/NSFontManager.html +++ b/Documentation/gsdoc/NSFontManager.html @@ -1,269 +1,265 @@ - - NSFontManager - - -[Previous] -[Up] -[Next] -

NSFontManager

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSFontManager

-

NSFontManager

-

Declared in: Gui/NSFontManager.h

-

Inherits from: NSObject

-

Conforms to: NSObject -

-
+ + + NSFontManager + + +

NSFontManager

+

Authors

+
+
Fred Kiefer( + FredKiefer@gmx.de + )
+
+
+
+
+Manages system and user fonts
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSFontManager class +

+

NSFontManager : NSObject

+ Declared: AppKit/NSFontManager.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

setFontManagerFactory:

-+ (void) setFontManagerFactory: (Class)aClass;
+

+

setFontManagerFactory:

+ + (void) setFontManagerFactory: (Class)class;
+

- -


-

setFontPanelFactory:

-+ (void) setFontPanelFactory: (Class)factoryId;
+

+
+

setFontPanelFactory:

+ + (void) setFontPanelFactory: (Class)class;
+

- -


-

sharedFontManager

-+ (NSFontManager*) sharedFontManager;
+

+
+

sharedFontManager

+ + (NSFontManager*) sharedFontManager;
+

- -


-

Instances Methods

-

action

-- (SEL) action;
+

+
+

action

+ - (SEL) action;
+

- -


-

addFontTrait:

-- (void) addFontTrait: (id)sender;
+

+
+

addFontTrait:

+ - (void) addFontTrait: (id)sender;
+

- -


-

availableFontFamilies

-- (NSArray*) availableFontFamilies;
+

+
+

availableFontFamilies

+ - (NSArray*) availableFontFamilies;
+

- -


-

availableFontNamesWithTraits:

-- (NSArray*) availableFontNamesWithTraits: (NSFontTraitMask)fontTraitMask;
+

+
+

availableFontNamesWithTraits:

+ - (NSArray*) availableFontNamesWithTraits: (NSFontTraitMask)fontTraitMask;
+

- -


-

availableFonts

-- (NSArray*) availableFonts;
+

+
+

availableFonts

+ - (NSArray*) availableFonts;
+

- -


-

availableMembersOfFontFamily:

-- (NSArray*) availableMembersOfFontFamily: (NSString*)family;
+

+
+

availableMembersOfFontFamily:

+ - (NSArray*) availableMembersOfFontFamily: (NSString*)family;
+

- -


-

convertFont:

-- (NSFont*) convertFont: (NSFont*)aFont;
+

+
+

convertFont:

+ - (NSFont*) convertFont: (NSFont*)fontObject;
+

- -


-

convertFont:toFace:

-- (NSFont*) convertFont: (NSFont*)aFont toFace: (NSString*)typeface;
+

+
+

convertFont:toFace:

+ - (NSFont*) convertFont: (NSFont*)fontObject toFace: (NSString*)typeface;
+

- -


-

convertFont:toFamily:

-- (NSFont*) convertFont: (NSFont*)aFont toFamily: (NSString*)family;
+

+
+

convertFont:toFamily:

+ - (NSFont*) convertFont: (NSFont*)fontObject toFamily: (NSString*)family;
+

- -


-

convertFont:toHaveTrait:

-- (NSFont*) convertFont: (NSFont*)aFont toHaveTrait: (NSFontTraitMask)fontTrait;
+

+
+

convertFont:toHaveTrait:

+ - (NSFont*) convertFont: (NSFont*)fontObject toHaveTrait: (NSFontTraitMask)trait;
+

- -


-

convertFont:toNotHaveTrait:

-- (NSFont*) convertFont: (NSFont*)aFont toNotHaveTrait: (NSFontTraitMask)fontTraitMask;
+

+
+

convertFont:toNotHaveTrait:

+ - (NSFont*) convertFont: (NSFont*)fontObject toNotHaveTrait: (NSFontTraitMask)trait;
+

- -


-

convertFont:toSize:

-- (NSFont*) convertFont: (NSFont*)aFont toSize: (float)size;
+

+
+

convertFont:toSize:

+ - (NSFont*) convertFont: (NSFont*)fontObject toSize: (float)size;
+

- -


-

convertWeight:

-- (NSFont*) convertWeight: (BOOL)increaseFlag;
+

+
+

convertWeight:ofFont:

+ - (NSFont*) convertWeight: (BOOL)upFlag ofFont: (NSFont*)fontObject;
+

- -


-

delegate

-- (id) delegate;
+

+
+

delegate

+ - (id) delegate;
+

- -


-

fontMenu:

-- (NSMenu*) fontMenu: (BOOL)createFlag;
+

+
+

fontMenu:

+ - (NSMenu*) fontMenu: (BOOL)create;
+

- -


-

fontNamed:hasTraits:

-- (BOOL) fontNamed: (NSString*)typeface hasTraits: (NSFontTraitMask)fontTraitMask;
+

+
+

fontNamed:hasTraits:

+ - (BOOL) fontNamed: (NSString*)typeface hasTraits: (NSFontTraitMask)fontTraitMask;
+

- -


-

fontPanel:

-- (NSFontPanel*) fontPanel: (BOOL)createFlag;
+

+
+

fontPanel:

+ - (NSFontPanel*) fontPanel: (BOOL)create;
+

- -


-

fontWithFamily:traits:weight:

-- (NSFont*) fontWithFamily: (NSString*)family traits: (NSFontTraitMask)fontTraitMask weight: (int)weight;
+

+
+

fontWithFamily:traits:weight:size:

+ - (NSFont*) fontWithFamily: (NSString*)family traits: (NSFontTraitMask)traits weight: (int)weight size: (float)size;
+

- -


-

isEnabled

-- (BOOL) isEnabled;
+

+
+

isEnabled

+ - (BOOL) isEnabled;
+

- -


-

isMultiple

-- (BOOL) isMultiple;
+

+
+

isMultiple

+ - (BOOL) isMultiple;
+

- -


-

localizedNameForFamily:

-- (NSString*) localizedNameForFamily: (NSString*)family;
+

+
+

localizedNameForFamily:face:

+ - (NSString*) localizedNameForFamily: (NSString*)family face: (NSString*)face;
+

- -


-

modifyFont:

-- (void) modifyFont: (id)sender;
+

+
+

modifyFont:

+ - (void) modifyFont: (id)sender;
+

- -


-

modifyFontViaPanel:

-- (void) modifyFontViaPanel: (id)sender;
+

+
+

modifyFontViaPanel:

+ - (void) modifyFontViaPanel: (id)sender;
+

- -


-

orderFrontFontPanel:

-- (void) orderFrontFontPanel: (id)sender;
+

+
+

orderFrontFontPanel:

+ - (void) orderFrontFontPanel: (id)sender;
+

- -


-

removeFontTrait:

-- (void) removeFontTrait: (id)sender;
+

+
+

removeFontTrait:

+ - (void) removeFontTrait: (id)sender;
+

- -


-

selectedFont

-- (NSFont*) selectedFont;
+

+
+

selectedFont

+ - (NSFont*) selectedFont;
+

- -


-

sendAction

-- (BOOL) sendAction;
+

+
+

sendAction

+ - (BOOL) sendAction;
+

- -


-

setAction:

-- (void) setAction: (SEL)aSelector;
+

+
+

setAction:

+ - (void) setAction: (SEL)aSelector;
+

- -


-

setDelegate:

-- (void) setDelegate: (id)anObject;
+

+
+

setDelegate:

+ - (void) setDelegate: (id)anObject;
+

- -


-

setEnabled:

-- (void) setEnabled: (BOOL)flag;
+

+
+

setEnabled:

+ - (void) setEnabled: (BOOL)flag;
+

- -


-

setFontMenu:

-- (void) setFontMenu: (NSMenu*)aMenu;
+

+
+

setFontMenu:

+ - (void) setFontMenu: (NSMenu*)newMenu;
+

- -


-

setSelectedFont:isMultiple:

-- (void) setSelectedFont: (NSFont*)aFont isMultiple: (BOOL)flag;
+

+
+

setSelectedFont:isMultiple:

+ - (void) setSelectedFont: (NSFont*)fontObject isMultiple: (BOOL)flag;
+

- -


-

traitsOfFont:

-- (NSFontTraitMask) traitsOfFont: (NSFont*)aFont;
+

+
+

traitsOfFont:

+ - (NSFontTraitMask) traitsOfFont: (NSFont*)fontObject;
+

- -


-

weightOfFont:

-- (int) weightOfFont: (NSFont*)aFont;
+

+
+

weightOfFont:

+ - (int) weightOfFont: (NSFont*)fontObject;
+

- -


-

changeFont:

-- (void) changeFont: (id)sender;
+

+
+

+ Software documentation for the + NSObject(NSFontManagerDelegate) + category +

+

NSObject(NSFontManagerDelegate)

+ Declared: AppKit/NSFontManager.h
+

- -


-

fontManager:willIncludeFont:

-- (BOOL) fontManager: (id)theFontManager willIncludeFont: (NSString*)fontName;
+

+

fontManager:willIncludeFont:

+ - (BOOL) fontManager: (id)sender willIncludeFont: (NSString*)fontName;
+

- -


- - - +

+
+ + diff --git a/Documentation/gsdoc/NSFontPanel.gsdoc b/Documentation/gsdoc/NSFontPanel.gsdoc index 59fd020dc..2ae6ebbaa 100644 --- a/Documentation/gsdoc/NSFontPanel.gsdoc +++ b/Documentation/gsdoc/NSFontPanel.gsdoc @@ -1,23 +1,33 @@ - - + + NSFontPanel - - - + + + FredKiefer@gmx.de + - $Revision$ - $Date$ + + + n.pero@mi.flashnet.it + + + + System generic panel for selecting and previewing fonts + + 1996 Free Software Foundation, Inc. - NSFontPanel + + Software documentation for the NSFontPanel class + - Gui/NSFontPanel.h + AppKit/NSFontPanel.h NSCoding - - + + sharedFontPanel @@ -40,7 +50,12 @@ panelConvertFont: - aFont + fontObject + + + + + reloadDefaultFontFamilies @@ -58,7 +73,7 @@ setPanelFont: - aFont + fontObject isMultiple: flag diff --git a/Documentation/gsdoc/NSFontPanel.html b/Documentation/gsdoc/NSFontPanel.html index 9ac68a2b6..6a8209e9b 100644 --- a/Documentation/gsdoc/NSFontPanel.html +++ b/Documentation/gsdoc/NSFontPanel.html @@ -1,89 +1,95 @@ - - NSFontPanel - - -[Previous] -[Up] -[Next] -

NSFontPanel

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSFontPanel

-

NSFontPanel

-

Declared in: Gui/NSFontPanel.h

-

Inherits from: NSPanel

-

Conforms to: NSCoding -

-
+ + + NSFontPanel + + +

NSFontPanel

+

Authors

+
+
Fred Kiefer( + FredKiefer@gmx.de + )
+
+
+
Nicola Pero( + n.pero@mi.flashnet.it + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

sharedFontPanel

-+ (NSFontPanel*) sharedFontPanel;
+ System generic panel for selecting and previewing fonts +
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSFontPanel class +

+

NSFontPanel : NSPanel

+ Declared: AppKit/NSFontPanel.h
+ Conform: NSCoding
+

- -


-

sharedFontPanelExists

-+ (BOOL) sharedFontPanelExists;
+

+

sharedFontPanel

+ + (NSFontPanel*) sharedFontPanel;
+

- -


-

Instances Methods

-

accessoryView

-- (NSView*) accessoryView;
+

+
+

sharedFontPanelExists

+ + (BOOL) sharedFontPanelExists;
+

- -


-

isEnabled

-- (BOOL) isEnabled;
+

+
+

accessoryView

+ - (NSView*) accessoryView;
+

- -


-

panelConvertFont:

-- (NSFont*) panelConvertFont: (NSFont*)aFont;
+

+
+

isEnabled

+ - (BOOL) isEnabled;
+

- -


-

setAccessoryView:

-- (void) setAccessoryView: (NSView*)aView;
+

+
+

panelConvertFont:

+ - (NSFont*) panelConvertFont: (NSFont*)fontObject;
+

- -


-

setEnabled:

-- (void) setEnabled: (BOOL)flag;
+

+
+

reloadDefaultFontFamilies

+ - (void) reloadDefaultFontFamilies;
+

- -


-

setPanelFont:isMultiple:

-- (void) setPanelFont: (NSFont*)aFont isMultiple: (BOOL)flag;
+

+
+

setAccessoryView:

+ - (void) setAccessoryView: (NSView*)aView;
+

- -


-

worksWhenModal

-- (BOOL) worksWhenModal;
+

+
+

setEnabled:

+ - (void) setEnabled: (BOOL)flag;
+

- -


- - - +

+
+

setPanelFont:isMultiple:

+ - (void) setPanelFont: (NSFont*)fontObject isMultiple: (BOOL)flag;
+

+ +

+
+

worksWhenModal

+ - (BOOL) worksWhenModal;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSForm.gsdoc b/Documentation/gsdoc/NSForm.gsdoc index a4989e52e..ff2201e6a 100644 --- a/Documentation/gsdoc/NSForm.gsdoc +++ b/Documentation/gsdoc/NSForm.gsdoc @@ -1,23 +1,34 @@ - - + + NSForm - - - + + + ovidiu@net-community.com + - $Revision$ - $Date$ + + Form class, a matrix of text fields with labels + + 1996 Free Software Foundation, Inc. - NSForm + + Software documentation for the NSForm class + - Gui/NSForm.h + AppKit/NSForm.h NSCoding + + + + _setTitleWidthNeedsUpdate: + notification + addEntry: title @@ -26,19 +37,19 @@ cellAtIndex: - entryIndex + index drawCellAtIndex: - entryIndex + index indexOfCellWithTag: - tag + aTag @@ -51,19 +62,19 @@ insertEntry: title atIndex: - entryIndex + index
removeEntryAtIndex: - entryIndex + index selectTextAtIndex: - entryIndex + index @@ -93,25 +104,25 @@ setTextAlignment: - alignment + aMode setTextFont: - font + fontObject setTitleAlignment: - alignment + aMode setTitleFont: - font + fontObject diff --git a/Documentation/gsdoc/NSForm.html b/Documentation/gsdoc/NSForm.html index b89aa892b..1a8ecc375 100644 --- a/Documentation/gsdoc/NSForm.html +++ b/Documentation/gsdoc/NSForm.html @@ -1,130 +1,132 @@ - - NSForm - - -[Previous] -[Up] -[Next] -

NSForm

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSForm

-

NSForm

-

Declared in: Gui/NSForm.h

-

Inherits from: NSMatrix

-

Conforms to: NSCoding -

-
+ + + NSForm + + +

NSForm

+

Authors

+
+
Ovidiu Predescu( + ovidiu@net-community.com + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

addEntry:

-- (NSFormCell*) addEntry: (NSString*)title;
+ Form class, a matrix of text fields with labels +
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSForm class +

+

NSForm : NSMatrix

+ Declared: AppKit/NSForm.h
+ Conform: NSCoding
+

- -


-

cellAtIndex:

-- (id) cellAtIndex: (int)entryIndex;
+

+

_setTitleWidthNeedsUpdate:

+ - (void) _setTitleWidthNeedsUpdate: (NSNotification*)notification;
+

- -


-

drawCellAtIndex:

-- (void) drawCellAtIndex: (int)entryIndex;
+

+
+

addEntry:

+ - (NSFormCell*) addEntry: (NSString*)title;
+

- -


-

indexOfCellWithTag:

-- (int) indexOfCellWithTag: (int)tag;
+

+
+

cellAtIndex:

+ - (id) cellAtIndex: (int)index;
+

- -


-

indexOfSelectedItem

-- (int) indexOfSelectedItem;
+

+
+

drawCellAtIndex:

+ - (void) drawCellAtIndex: (int)index;
+

- -


-

insertEntry:atIndex:

-- (NSFormCell*) insertEntry: (NSString*)title atIndex: (int)entryIndex;
+

+
+

indexOfCellWithTag:

+ - (int) indexOfCellWithTag: (int)aTag;
+

- -


-

removeEntryAtIndex:

-- (void) removeEntryAtIndex: (int)entryIndex;
+

+
+

indexOfSelectedItem

+ - (int) indexOfSelectedItem;
+

- -


-

selectTextAtIndex:

-- (void) selectTextAtIndex: (int)entryIndex;
+

+
+

insertEntry:atIndex:

+ - (NSFormCell*) insertEntry: (NSString*)title atIndex: (int)index;
+

- -


-

setBezeled:

-- (void) setBezeled: (BOOL)flag;
+

+
+

removeEntryAtIndex:

+ - (void) removeEntryAtIndex: (int)index;
+

- -


-

setBordered:

-- (void) setBordered: (BOOL)flag;
+

+
+

selectTextAtIndex:

+ - (void) selectTextAtIndex: (int)index;
+

- -


-

setEntryWidth:

-- (void) setEntryWidth: (float)width;
+

+
+

setBezeled:

+ - (void) setBezeled: (BOOL)flag;
+

- -


-

setInterlineSpacing:

-- (void) setInterlineSpacing: (float)spacing;
+

+
+

setBordered:

+ - (void) setBordered: (BOOL)flag;
+

- -


-

setTextAlignment:

-- (void) setTextAlignment: (int)alignment;
+

+
+

setEntryWidth:

+ - (void) setEntryWidth: (float)width;
+

- -


-

setTextFont:

-- (void) setTextFont: (NSFont*)font;
+

+
+

setInterlineSpacing:

+ - (void) setInterlineSpacing: (float)spacing;
+

- -


-

setTitleAlignment:

-- (void) setTitleAlignment: (NSTextAlignment)alignment;
+

+
+

setTextAlignment:

+ - (void) setTextAlignment: (int)aMode;
+

- -


-

setTitleFont:

-- (void) setTitleFont: (NSFont*)font;
+

+
+

setTextFont:

+ - (void) setTextFont: (NSFont*)fontObject;
+

- -


- - - +

+
+

setTitleAlignment:

+ - (void) setTitleAlignment: (NSTextAlignment)aMode;
+

+ +

+
+

setTitleFont:

+ - (void) setTitleFont: (NSFont*)fontObject;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSFormCell.gsdoc b/Documentation/gsdoc/NSFormCell.gsdoc index 15d1232f8..db45bcf2e 100644 --- a/Documentation/gsdoc/NSFormCell.gsdoc +++ b/Documentation/gsdoc/NSFormCell.gsdoc @@ -1,39 +1,38 @@ - - + + NSFormCell - - - + + + ovidiu@net-community.com + - $Revision$ - $Date$ + + + n.pero@mi.flashnet.it + + + + The cell class for the NSForm control + + 1996, 1999 Free Software Foundation, Inc. - NSFormCell + + Software documentation for the NSFormCell class + - Gui/NSFormCell.h + AppKit/NSFormCell.h NSCoding - - + + attributedTitle - - initTextCell: - aString - - - - - isOpaque - - - setAttributedTitle: anAttributedString @@ -48,13 +47,13 @@ setTitleAlignment: - alignment + mode setTitleFont: - font + fontObject @@ -92,7 +91,7 @@ titleWidth: - aSize + size diff --git a/Documentation/gsdoc/NSFormCell.html b/Documentation/gsdoc/NSFormCell.html index 908a7b6ee..003d894f8 100644 --- a/Documentation/gsdoc/NSFormCell.html +++ b/Documentation/gsdoc/NSFormCell.html @@ -1,118 +1,107 @@ - - NSFormCell - - -[Previous] -[Up] -[Next] -

NSFormCell

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSFormCell

-

NSFormCell

-

Declared in: Gui/NSFormCell.h

-

Inherits from: NSActionCell

-

Conforms to: NSCoding -

-
+ + + NSFormCell + + +

NSFormCell

+

Authors

+
+
Ovidiu Predescu( + ovidiu@net-community.com + )
+
+
+
Nicola Pero( + n.pero@mi.flashnet.it + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

attributedTitle

-- (NSAttributedString*) attributedTitle;
+ The cell class for the NSForm control +
+

Copyright: (C) 1996, 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSFormCell class +

+

NSFormCell : NSActionCell

+ Declared: AppKit/NSFormCell.h
+ Conform: NSCoding
+

- -


-

initTextCell:

-- (id) initTextCell: (NSString*)aString;
+

+

attributedTitle

+ - (NSAttributedString*) attributedTitle;
+

- -


-

isOpaque

-- (BOOL) isOpaque;
+

+
+

setAttributedTitle:

+ - (void) setAttributedTitle: (NSAttributedString*)anAttributedString;
+

- -


-

setAttributedTitle:

-- (void) setAttributedTitle: (NSAttributedString*)anAttributedString;
+

+
+

setTitle:

+ - (void) setTitle: (NSString*)aString;
+

- -


-

setTitle:

-- (void) setTitle: (NSString*)aString;
+

+
+

setTitleAlignment:

+ - (void) setTitleAlignment: (NSTextAlignment)mode;
+

- -


-

setTitleAlignment:

-- (void) setTitleAlignment: (NSTextAlignment)alignment;
+

+
+

setTitleFont:

+ - (void) setTitleFont: (NSFont*)fontObject;
+

- -


-

setTitleFont:

-- (void) setTitleFont: (NSFont*)font;
+

+
+

setTitleWidth:

+ - (void) setTitleWidth: (float)width;
+

- -


-

setTitleWidth:

-- (void) setTitleWidth: (float)width;
+

+
+

setTitleWithMnemonic:

+ - (void) setTitleWithMnemonic: (NSString*)titleWithAmpersand;
+

- -


-

setTitleWithMnemonic:

-- (void) setTitleWithMnemonic: (NSString*)titleWithAmpersand;
+

+
+

title

+ - (NSString*) title;
+

- -


-

title

-- (NSString*) title;
+

+
+

titleAlignment

+ - (NSTextAlignment) titleAlignment;
+

- -


-

titleAlignment

-- (NSTextAlignment) titleAlignment;
+

+
+

titleFont

+ - (NSFont*) titleFont;
+

- -


-

titleFont

-- (NSFont*) titleFont;
+

+
+

titleWidth

+ - (float) titleWidth;
+

- -


-

titleWidth

-- (float) titleWidth;
+

+
+

titleWidth:

+ - (float) titleWidth: (NSSize)size;
+

- -


-

titleWidth:

-- (float) titleWidth: (NSSize)aSize;
- - -
- - - +

+
+ + diff --git a/Documentation/gsdoc/NSGraphicsContext.gsdoc b/Documentation/gsdoc/NSGraphicsContext.gsdoc index 4397a1453..08e77350b 100644 --- a/Documentation/gsdoc/NSGraphicsContext.gsdoc +++ b/Documentation/gsdoc/NSGraphicsContext.gsdoc @@ -1,34 +1,84 @@ - - + + NSGraphicsContext - - + + richard@brainstorm.co.uk + - $Revision$ - $Date$ + + + fedor@gnu.org + + + GNUstep drawing context class. + 1998,1999 Free Software Foundation, Inc. - NSGraphicsContext + + Software documentation for the NSGraphicsContext class + - Gui/NSGraphicsContext.h - NSObject - - + AppKit/NSGraphicsContext.h + + currentContext + + currentContextDrawingToScreen + + + + + graphicsContextWithAttributes: + info + + + + + graphicsContextWithWindow: + aWindow + + + + + restoreGraphicsState + + + + + saveGraphicsState + + + setCurrentContext: context + + setGraphicsState: + graphicsState + + + + + waitAllContexts + + + + + attributes + + + flush @@ -39,6 +89,11 @@ + + graphicsPort + + + isDrawingToScreen @@ -61,5 +116,2082 @@ + + + Software documentation for the + NSGraphicsContext(GNUstep) category + + + AppKit/NSGraphicsContext.h + + + + defaultContextWithInfo: + info + + + + + setDefaultContextClass: + defaultContextClass + + + + + _addDragTypes: + types + toWindow: + win + + + + + _dragInfo + + + + + _dragTypesForWindow: + win + + + + + _postExternalEvent: + event + + + + + _removeDragTypes: + types + fromWindow: + win + + + + + destroyContext + + + + + focusView + + + + + initWithContextInfo: + info + + + + + lockFocusView: + aView + inRect: + rect + + + + + mutableData + + + + + resetUsedFonts + + + + + unlockFocusView: + aView + needsFlush: + flush + + + + + useFont: + fontName + + + + + usedFonts + + + + + + + + Software documentation for the + NSGraphicsContext(NSGraphics) + category + + + AppKit/NSGraphicsContext.h + + + + initializeBackend + + + + + GSAvailableDepthsForScreen: + screen + + + + + GSWDefineAsUserObj + + + + + GSWSetViewIsFlipped: + flipped + + + + + GSWViewIsFlipped + + + + + GSWindowDepthForScreen: + screen + + + + + NSBeep + + + + + NSCopyBitmapFromGState: + srcGstate + : + srcRect + : + destRect + + + + + NSCopyBits: + srcGstate + : + srcRect + : + destPoint + + + + + NSDottedFrameRect: + aRect + + + + + NSDrawBitmap: + rect + : + pixelsWide + : + pixelsHigh + : + bitsPerSample + : + samplesPerPixel + : + bitsPerPixel + : + bytesPerRow + : + isPlanar + : + hasAlpha + : + colorSpaceName + : + data + + + + + NSEraseRect: + aRect + + + + + NSFrameRect: + aRect + + + + + NSFrameRectWithWidth: + aRect + : + frameWidth + + + + + NSHighlightRect: + aRect + + + + + NSReadPixel: + location + + + + + NSRectClip: + aRect + + + + + NSRectClipList: + rects + : + count + + + + + NSRectFill: + aRect + + + + + NSRectFillList: + rects + : + count + + + + + NSRectFillListWithGrays: + rects + : + grays + : + count + + + + + NSRectFillUsingOperation: + aRect + : + op + + + + + + + + Software documentation for the NSGraphicsContext(Ops) + category + + + AppKit/NSGraphicsContext.h + + + + DPSDiscardEventsMatchingMask: + mask + beforeEvent: + limit + + + + + DPSFontDirectory + + + + + DPSGetEventMatchingMask: + mask + beforeDate: + limit + inMode: + mode + dequeue: + flag + + + + + DPSISOLatin1Encoding + + + + + DPSPostEvent: + anEvent + atStart: + flag + + + + + DPSPrintf: + fmt + : + args + + + + + DPSSharedFontDirectory + + + + + DPSStandardEncoding + + + + + DPSWriteData: + buf + : + count + + + + + DPSalphaimage + + + + + DPSarc: + x + : + y + : + r + : + angle1 + : + angle2 + + + + + DPSarcn: + x + : + y + : + r + : + angle1 + : + angle2 + + + + + DPSarct: + x1 + : + y1 + : + x2 + : + y2 + : + r + + + + + DPSarcto: + x1 + : + y1 + : + x2 + : + y2 + : + r + : + xt1 + : + yt1 + : + xt2 + : + yt2 + + + + + DPSashow: + x + : + y + : + s + + + + + DPSawidthshow: + cx + : + cy + : + c + : + ax + : + ay + : + s + + + + + DPScapturegstate: + gst + + + + + DPScapturemouse: + win + + + + + DPScharpath: + s + : + b + + + + + DPSclear + + + + + DPScleartomark + + + + + DPSclip + + + + + DPSclippath + + + + + DPSclosepath + + + + + DPScolorimage + + + + + DPScomposite: + x + : + y + : + w + : + h + : + gstateNum + : + dx + : + dy + : + op + + + + + DPScompositerect: + x + : + y + : + w + : + h + : + op + + + + + DPSconcat: + m + + + + + DPSconcatmatrix + + + + + DPScopy: + n + + + + + DPScopypage + + + + + DPScount: + n + + + + + DPScountscreenlist: + context + : + count + + + + + DPScounttomark: + n + + + + + DPScountwindowlist: + context + : + count + + + + + DPScurrentalpha: + alpha + + + + + DPScurrentcacheparams + + + + + DPScurrentcmykcolor: + c + : + m + : + y + : + k + + + + + DPScurrentdash + + + + + DPScurrentdefaultdepthlimit: + limit + + + + + DPScurrentdrawingfunction: + function + + + + + DPScurrentflat: + flatness + + + + + DPScurrentfont + + + + + DPScurrentgcdrawable: + gc + : + draw + : + x + : + y + + + + + DPScurrentgcdrawablecolor: + gc + : + draw + : + x + : + y + : + colorInfo + + + + + DPScurrentgray: + gray + + + + + DPScurrentgstate: + gst + + + + + DPScurrenthalftone + + + + + DPScurrenthalftonephase: + x + : + y + + + + + DPScurrenthsbcolor: + h + : + s + : + b + + + + + DPScurrentlinecap: + linecap + + + + + DPScurrentlinejoin: + linejoin + + + + + DPScurrentlinewidth: + width + + + + + DPScurrentmatrix + + + + + DPScurrentmiterlimit: + limit + + + + + DPScurrentoffset: + x + : + y + + + + + DPScurrentowner: + win + : + owner + + + + + DPScurrentpoint: + x + : + y + + + + + DPScurrentrgbcolor: + r + : + g + : + b + + + + + DPScurrentscreen + + + + + DPScurrentserverdevice: + serverptr + + + + + DPScurrentstrokeadjust: + b + + + + + DPScurrenttransfer + + + + + DPScurrentwindow: + num + + + + + DPScurrentwindowalpha: + win + : + alpha + + + + + DPScurrentwindowbounds: + num + : + x + : + y + : + w + : + h + + + + + DPScurrentwindowdepth: + win + : + depth + + + + + DPScurrentwindowdepthlimit: + win + : + limit + + + + + DPScurrentwindowdevice: + win + : + windowptr + + + + + DPScurrentwindowlevel: + win + : + level + + + + + DPScurveto: + x1 + : + y1 + : + x2 + : + y2 + : + x3 + : + y3 + + + + + DPSdefaultmatrix + + + + + DPSdefinefont + + + + + DPSdefineuserobject + + + + + DPSdissolve: + x + : + y + : + w + : + h + : + gstateNum + : + dx + : + dy + : + delta + + + + + DPSdocedited: + edited + : + window + + + + + DPSdtransform: + x1 + : + y1 + : + x2 + : + y2 + + + + + DPSdup + + + + + DPSeoclip + + + + + DPSeofill + + + + + DPSeoviewclip + + + + + DPSerasepage + + + + + DPSexch + + + + + DPSexecstack + + + + + DPSexecuserobject: + index + + + + + DPSfill + + + + + DPSfindfont: + name + + + + + DPSfindwindow: + x + : + y + : + op + : + otherWin + : + lx + : + ly + : + winFound + : + didFind + + + + + DPSflattenpath + + + + + DPSflush + + + + + DPSflushwindowrect: + x + : + y + : + w + : + h + : + win + + + + + DPSfrontwindow: + num + + + + + DPSget + + + + + DPSgetboolean: + it + + + + + DPSgetchararray: + size + : + s + + + + + DPSgetfloat: + it + + + + + DPSgetfloatarray: + size + : + a + + + + + DPSgetint: + it + + + + + DPSgetintarray: + size + : + a + + + + + DPSgetstring: + s + + + + + DPSgrestore + + + + + DPSgrestoreall + + + + + DPSgsave + + + + + DPSgstate + + + + + DPShidecursor + + + + + DPSidentmatrix + + + + + DPSidtransform: + x1 + : + y1 + : + x2 + : + y2 + + + + + DPSimage + + + + + DPSimagecursor: + hotx + : + hoty + : + w + : + h + : + colors + : + image + : + cid + + + + + DPSimagemask + + + + + DPSindex: + i + + + + + DPSinitclip + + + + + DPSinitgraphics + + + + + DPSinitmatrix + + + + + DPSinitviewclip + + + + + DPSinvertmatrix + + + + + DPSitransform: + x1 + : + y1 + : + x2 + : + y2 + + + + + DPSkshow: + s + + + + + DPSlineto: + x + : + y + + + + + DPSmakefont + + + + + DPSmark + + + + + DPSmatrix + + + + + DPSminiwindow: + num + + + + + DPSmouselocation: + x + : + y + + + + + DPSmoveto: + x + : + y + + + + + DPSmovewindow: + x + : + y + : + num + + + + + DPSnewpath + + + + + DPSnull + + + + + DPSorderwindow: + op + : + otherWin + : + winNum + + + + + DPSpathbbox: + llx + : + lly + : + urx + : + ury + + + + + DPSpathforall + + + + + DPSplacewindow: + x + : + y + : + w + : + h + : + win + + + + + DPSpop + + + + + DPSput + + + + + DPSrcurveto: + x1 + : + y1 + : + x2 + : + y2 + : + x3 + : + y3 + + + + + DPSreadimage + + + + + DPSrectclip: + x + : + y + : + w + : + h + + + + + DPSrectfill: + x + : + y + : + w + : + h + + + + + DPSrectstroke: + x + : + y + : + w + : + h + + + + + DPSrectviewclip: + x + : + y + : + w + : + h + + + + + DPSreleasemouse + + + + + DPSrestore + + + + + DPSreversepath + + + + + DPSrlineto: + x + : + y + + + + + DPSrmoveto: + x + : + y + + + + + DPSroll: + n + : + j + + + + + DPSrotate: + angle + + + + + DPSsave + + + + + DPSscale: + x + : + y + + + + + DPSscalefont: + size + + + + + DPSscreenlist: + context + : + count + : + windows + + + + + DPSselectfont: + name + : + scale + + + + + DPSsendboolean: + it + + + + + DPSsendchararray: + s + : + size + + + + + DPSsendfloat: + it + + + + + DPSsendfloatarray: + a + : + size + + + + + DPSsendint: + it + + + + + DPSsendintarray: + a + : + size + + + + + DPSsendstring: + s + + + + + DPSsetalpha: + a + + + + + DPSsetautofill: + truth + : + num + + + + + DPSsetbbox: + llx + : + lly + : + urx + : + ury + + + + + DPSsetcmykcolor: + c + : + m + : + y + : + k + + + + + DPSsetcursorcolor: + fr + : + fg + : + fb + : + br + : + bg + : + bb + : + cid + + + + + DPSsetdash: + pat + : + size + : + offset + + + + + DPSsetdefaultdepthlimit: + limit + + + + + DPSsetdrawingfunction: + function + + + + + DPSsetexposurecolor + + + + + DPSsetflat: + flatness + + + + + DPSsetfont: + f + + + + + DPSsetgcdrawable: + gc + : + draw + : + x + : + y + + + + + DPSsetgcdrawablecolor: + gc + : + draw + : + x + : + y + : + colorInfo + + + + + DPSsetgray: + gray + + + + + DPSsetgstate: + gst + + + + + DPSsethalftone + + + + + DPSsethalftonephase: + x + : + y + + + + + DPSsethsbcolor: + h + : + s + : + b + + + + + DPSsetinputfocus: + win + + + + + DPSsetinputstate: + window + : + state + + + + + DPSsetlinecap: + linecap + + + + + DPSsetlinejoin: + linejoin + + + + + DPSsetlinewidth: + width + + + + + DPSsetmatrix + + + + + DPSsetmaxsize: + width + : + height + : + win + + + + + DPSsetminsize: + width + : + height + : + win + + + + + DPSsetmiterlimit: + limit + + + + + DPSsetoffset: + x + : + y + + + + + DPSsetowner: + owner + : + win + + + + + DPSsetresizeincrements: + width + : + height + : + win + + + + + DPSsetrgbactual: + r + : + g + : + b + : + success + + + + + DPSsetrgbcolor: + r + : + g + : + b + + + + + DPSsetscreen + + + + + DPSsetsendexposed: + truth + : + num + + + + + DPSsetstrokeadjust: + b + + + + + DPSsettransfer + + + + + DPSsetwindowdepthlimit: + limit + : + win + + + + + DPSsetwindowlevel: + level + : + win + + + + + DPSsetwindowtype: + type + : + win + + + + + DPSshow: + s + + + + + DPSshowcursor + + + + + DPSshowpage + + + + + DPSstandardcursor: + style + : + cid + + + + + DPSstroke + + + + + DPSstrokepath + + + + + DPSstyleoffsets: + l + : + r + : + t + : + b + : + style + + + + + DPSstylewindow: + style + : + num + + + + + DPStermwindow: + num + + + + + DPStitlewindow: + window_title + : + num + + + + + DPStransform: + x1 + : + y1 + : + x2 + : + y2 + + + + + DPStranslate: + x + : + y + + + + + DPSueofill: + nums + : + n + : + op + : + l + + + + + DPSufill: + nums + : + n + : + ops + : + l + + + + + DPSundefinefont: + name + + + + + DPSundefineuserobject: + index + + + + + DPSupdatewindow: + win + + + + + DPSustroke: + nums + : + n + : + ops + : + l + + + + + DPSustrokepath: + nums + : + n + : + ops + : + l + + + + + DPSviewclip + + + + + DPSviewclippath + + + + + DPSwidthshow: + x + : + y + : + c + : + s + + + + + DPSwindow: + x + : + y + : + w + : + h + : + type + : + num + + + + + DPSwindowdevice: + num + + + + + DPSwindowdeviceround: + num + + + + + DPSwindowlist: + context + : + count + : + windows + + + + + DPSxshow: + s + : + numarray + : + size + + + + + DPSxyshow: + s + : + numarray + : + size + + + + + DPSyshow: + s + : + numarray + : + size + + + + + setFont: + font + + + + + diff --git a/Documentation/gsdoc/NSGraphicsContext.html b/Documentation/gsdoc/NSGraphicsContext.html index 0a0aa9bfd..f8caabd46 100644 --- a/Documentation/gsdoc/NSGraphicsContext.html +++ b/Documentation/gsdoc/NSGraphicsContext.html @@ -1,83 +1,1758 @@ - - NSGraphicsContext - - -[Previous] -[Up] -[Next] -

NSGraphicsContext

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSGraphicsContext

-

NSGraphicsContext

-

Declared in: Gui/NSGraphicsContext.h

-

Inherits from: NSObject

-

Conforms to: NSObject -

-
+ + + NSGraphicsContext + + +

NSGraphicsContext

+

Authors

+
+
Richard Frith-Macdonald( + richard@brainstorm.co.uk + )
+
+
+
Adam Fedor( + fedor@gnu.org + )
+
+
+
+
+GNUstep drawing context class.
+

Copyright: (C) 1998,1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSGraphicsContext class +

+

NSGraphicsContext : NSObject

+ Declared: AppKit/NSGraphicsContext.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

currentContext

-+ (NSGraphicsContext*) currentContext;
+

+

currentContext

+ + (NSGraphicsContext*) currentContext;
+

- -


-

setCurrentContext:

-+ (void) setCurrentContext: (NSGraphicsContext*)context;
+

+
+

currentContextDrawingToScreen

+ + (BOOL) currentContextDrawingToScreen;
+

- -


-

Instances Methods

-

flush

-- (void) flush;
+

+
+

graphicsContextWithAttributes:

+ + (NSGraphicsContext*) graphicsContextWithAttributes: (NSDictionary*)info;
+

- -


-

flushGraphics

-- (void) flushGraphics;
+

+
+

graphicsContextWithWindow:

+ + (NSGraphicsContext*) graphicsContextWithWindow: (NSWindow*)aWindow;
+

- -


-

isDrawingToScreen

-- (BOOL) isDrawingToScreen;
+

+
+

restoreGraphicsState

+ + (void) restoreGraphicsState;
+

- -


-

restoreGraphicsState

-- (void) restoreGraphicsState;
+

+
+

saveGraphicsState

+ + (void) saveGraphicsState;
+

- -


-

saveGraphicsState

-- (void) saveGraphicsState;
+

+
+

setCurrentContext:

+ + (void) setCurrentContext: (NSGraphicsContext*)context;
+

- -


-

wait

-- (void) wait;
+

+
+

setGraphicsState:

+ + (void) setGraphicsState: (int)graphicsState;
+

- -


- - - +

+
+

waitAllContexts

+ + (void) waitAllContexts;
+

+ +

+
+

attributes

+ - (NSDictionary*) attributes;
+

+ +

+
+

flush

+ - (void) flush;
+

+ +

+
+

flushGraphics

+ - (void) flushGraphics;
+

+ +

+
+

graphicsPort

+ - (void*) graphicsPort;
+

+ +

+
+

isDrawingToScreen

+ - (BOOL) isDrawingToScreen;
+

+ +

+
+

restoreGraphicsState

+ - (void) restoreGraphicsState;
+

+ +

+
+

saveGraphicsState

+ - (void) saveGraphicsState;
+

+ +

+
+

wait

+ - (void) wait;
+

+ +

+
+

+ Software documentation for the + NSGraphicsContext(GNUstep) category +

+

NSGraphicsContext(GNUstep)

+ Declared: AppKit/NSGraphicsContext.h
+

+ +

+

defaultContextWithInfo:

+ + (NSGraphicsContext*) defaultContextWithInfo: (NSDictionary*)info;
+

+ +

+
+

setDefaultContextClass:

+ + (void) setDefaultContextClass: (Class)defaultContextClass;
+

+ +

+
+

_addDragTypes:toWindow:

+ - (BOOL) _addDragTypes: (NSArray*)types toWindow: (NSWindow*)win;
+

+ +

+
+

_dragInfo

+ - (id) _dragInfo;
+

+ +

+
+

_dragTypesForWindow:

+ - (NSCountedSet*) _dragTypesForWindow: (NSWindow*)win;
+

+ +

+
+

_postExternalEvent:

+ - (void) _postExternalEvent: (NSEvent*)event;
+

+ +

+
+

_removeDragTypes:fromWindow:

+ - (BOOL) _removeDragTypes: (NSArray*)types fromWindow: (NSWindow*)win;
+

+ +

+
+

destroyContext

+ - (void) destroyContext;
+

+ +

+
+

focusView

+ - (NSView*) focusView;
+

+ +

+
+

initWithContextInfo:

+ - (id) initWithContextInfo: (NSDictionary*)info;
+

+ +

+
+

lockFocusView:inRect:

+ - (void) lockFocusView: (NSView*)aView inRect: (NSRect)rect;
+

+ +

+
+

mutableData

+ - (NSMutableData*) mutableData;
+

+ +

+
+

resetUsedFonts

+ - (void) resetUsedFonts;
+

+ +

+
+

unlockFocusView:needsFlush:

+ - (void) unlockFocusView: (NSView*)aView needsFlush: (BOOL)flush;
+

+ +

+
+

useFont:

+ - (void) useFont: (NSString*)fontName;
+

+ +

+
+

usedFonts

+ - (NSSet*) usedFonts;
+

+ +

+
+

+ Software documentation for the + NSGraphicsContext(NSGraphics) + category +

+

NSGraphicsContext(NSGraphics)

+ Declared: AppKit/NSGraphicsContext.h
+

+ +

+

initializeBackend

+ + (void) initializeBackend;
+

+ +

+
+

GSAvailableDepthsForScreen:

+ - (const NSWindowDepth*) GSAvailableDepthsForScreen: (int)screen;
+

+ +

+
+

GSWDefineAsUserObj

+ - (unsigned int) GSWDefineAsUserObj;
+

+ +

+
+

GSWSetViewIsFlipped:

+ - (void) GSWSetViewIsFlipped: (BOOL)flipped;
+

+ +

+
+

GSWViewIsFlipped

+ - (BOOL) GSWViewIsFlipped;
+

+ +

+
+

GSWindowDepthForScreen:

+ - (NSWindowDepth) GSWindowDepthForScreen: (int)screen;
+

+ +

+
+

NSBeep

+ - (void) NSBeep;
+

+ +

+
+

NSCopyBitmapFromGState:::

+ - (void) NSCopyBitmapFromGState: (int)srcGstate : (NSRect)srcRect : (NSRect)destRect;
+

+ +

+
+

NSCopyBits:::

+ - (void) NSCopyBits: (int)srcGstate : (NSRect)srcRect : (NSPoint)destPoint;
+

+ +

+
+

NSDottedFrameRect:

+ - (void) NSDottedFrameRect: (const NSRect)aRect;
+

+ +

+
+

NSDrawBitmap:::::::::::

+ - (void) NSDrawBitmap: (NSRect)rect : (int)pixelsWide : (int)pixelsHigh : (int)bitsPerSample : (int)samplesPerPixel : (int)bitsPerPixel : (int)bytesPerRow : (BOOL)isPlanar : (BOOL)hasAlpha : (NSString*)colorSpaceName : (const unsigned char*const[5])data;
+

+ +

+
+

NSEraseRect:

+ - (void) NSEraseRect: (NSRect)aRect;
+

+ +

+
+

NSFrameRect:

+ - (void) NSFrameRect: (const NSRect)aRect;
+

+ +

+
+

NSFrameRectWithWidth::

+ - (void) NSFrameRectWithWidth: (const NSRect)aRect : (float)frameWidth;
+

+ +

+
+

NSHighlightRect:

+ - (void) NSHighlightRect: (NSRect)aRect;
+

+ +

+
+

NSReadPixel:

+ - (NSColor*) NSReadPixel: (NSPoint)location;
+

+ +

+
+

NSRectClip:

+ - (void) NSRectClip: (NSRect)aRect;
+

+ +

+
+

NSRectClipList::

+ - (void) NSRectClipList: (const NSRect*)rects : (int)count;
+

+ +

+
+

NSRectFill:

+ - (void) NSRectFill: (NSRect)aRect;
+

+ +

+
+

NSRectFillList::

+ - (void) NSRectFillList: (const NSRect*)rects : (int)count;
+

+ +

+
+

NSRectFillListWithGrays:::

+ - (void) NSRectFillListWithGrays: (const NSRect*)rects : (const float*)grays : (int)count;
+

+ +

+
+

NSRectFillUsingOperation::

+ - (void) NSRectFillUsingOperation: (NSRect)aRect : (NSCompositingOperation)op;
+

+ +

+
+

+ Software documentation for the NSGraphicsContext(Ops) + category +

+

NSGraphicsContext(Ops)

+ Declared: AppKit/NSGraphicsContext.h
+

+ +

+

DPSDiscardEventsMatchingMask:beforeEvent:

+ - (void) DPSDiscardEventsMatchingMask: (unsigned)mask beforeEvent: (NSEvent*)limit;
+

+ +

+
+

DPSFontDirectory

+ - (void) DPSFontDirectory;
+

+ +

+
+

DPSGetEventMatchingMask:beforeDate:inMode:dequeue:

+ - (NSEvent*) DPSGetEventMatchingMask: (unsigned)mask beforeDate: (NSDate*)limit inMode: (NSString*)mode dequeue: (BOOL)flag;
+

+ +

+
+

DPSISOLatin1Encoding

+ - (void) DPSISOLatin1Encoding;
+

+ +

+
+

DPSPostEvent:atStart:

+ - (void) DPSPostEvent: (NSEvent*)anEvent atStart: (BOOL)flag;
+

+ +

+
+

DPSPrintf::

+ - (void) DPSPrintf: (char*)fmt : (va_list)args;
+

+ +

+
+

DPSSharedFontDirectory

+ - (void) DPSSharedFontDirectory;
+

+ +

+
+

DPSStandardEncoding

+ - (void) DPSStandardEncoding;
+

+ +

+
+

DPSWriteData::

+ - (void) DPSWriteData: (char*)buf : (unsigned int)count;
+

+ +

+
+

DPSalphaimage

+ - (void) DPSalphaimage;
+

+ +

+
+

DPSarc:::::

+ - (void) DPSarc: (float)x : (float)y : (float)r : (float)angle1 : (float)angle2;
+

+ +

+
+

DPSarcn:::::

+ - (void) DPSarcn: (float)x : (float)y : (float)r : (float)angle1 : (float)angle2;
+

+ +

+
+

DPSarct:::::

+ - (void) DPSarct: (float)x1 : (float)y1 : (float)x2 : (float)y2 : (float)r;
+

+ +

+
+

DPSarcto:::::::::

+ - (void) DPSarcto: (float)x1 : (float)y1 : (float)x2 : (float)y2 : (float)r : (float*)xt1 : (float*)yt1 : (float*)xt2 : (float*)yt2;
+

+ +

+
+

DPSashow:::

+ - (void) DPSashow: (float)x : (float)y : (const char*)s;
+

+ +

+
+

DPSawidthshow::::::

+ - (void) DPSawidthshow: (float)cx : (float)cy : (int)c : (float)ax : (float)ay : (const char*)s;
+

+ +

+
+

DPScapturegstate:

+ - (void) DPScapturegstate: (int*)gst;
+

+ +

+
+

DPScapturemouse:

+ - (void) DPScapturemouse: (int)win;
+

+ +

+
+

DPScharpath::

+ - (void) DPScharpath: (const char*)s : (int)b;
+

+ +

+
+

DPSclear

+ - (void) DPSclear;
+

+ +

+
+

DPScleartomark

+ - (void) DPScleartomark;
+

+ +

+
+

DPSclip

+ - (void) DPSclip;
+

+ +

+
+

DPSclippath

+ - (void) DPSclippath;
+

+ +

+
+

DPSclosepath

+ - (void) DPSclosepath;
+

+ +

+
+

DPScolorimage

+ - (void) DPScolorimage;
+

+ +

+
+

DPScomposite::::::::

+ - (void) DPScomposite: (float)x : (float)y : (float)w : (float)h : (int)gstateNum : (float)dx : (float)dy : (int)op;
+

+ +

+
+

DPScompositerect:::::

+ - (void) DPScompositerect: (float)x : (float)y : (float)w : (float)h : (int)op;
+

+ +

+
+

DPSconcat:

+ - (void) DPSconcat: (const float*)m;
+

+ +

+
+

DPSconcatmatrix

+ - (void) DPSconcatmatrix;
+

+ +

+
+

DPScopy:

+ - (void) DPScopy: (int)n;
+

+ +

+
+

DPScopypage

+ - (void) DPScopypage;
+

+ +

+
+

DPScount:

+ - (void) DPScount: (int*)n;
+

+ +

+
+

DPScountscreenlist::

+ - (void) DPScountscreenlist: (int)context : (int*)count;
+

+ +

+
+

DPScounttomark:

+ - (void) DPScounttomark: (int*)n;
+

+ +

+
+

DPScountwindowlist::

+ - (void) DPScountwindowlist: (int)context : (int*)count;
+

+ +

+
+

DPScurrentalpha:

+ - (void) DPScurrentalpha: (float*)alpha;
+

+ +

+
+

DPScurrentcacheparams

+ - (void) DPScurrentcacheparams;
+

+ +

+
+

DPScurrentcmykcolor::::

+ - (void) DPScurrentcmykcolor: (float*)c : (float*)m : (float*)y : (float*)k;
+

+ +

+
+

DPScurrentdash

+ - (void) DPScurrentdash;
+

+ +

+
+

DPScurrentdefaultdepthlimit:

+ - (void) DPScurrentdefaultdepthlimit: (int*)limit;
+

+ +

+
+

DPScurrentdrawingfunction:

+ - (void) DPScurrentdrawingfunction: (int*)function;
+

+ +

+
+

DPScurrentflat:

+ - (void) DPScurrentflat: (float*)flatness;
+

+ +

+
+

DPScurrentfont

+ - (void) DPScurrentfont;
+

+ +

+
+

DPScurrentgcdrawable::::

+ - (void) DPScurrentgcdrawable: (void**)gc : (void**)draw : (int*)x : (int*)y;
+

+ +

+
+

DPScurrentgcdrawablecolor:::::

+ - (void) DPScurrentgcdrawablecolor: (void**)gc : (void**)draw : (int*)x : (int*)y : (int*)colorInfo;
+

+ +

+
+

DPScurrentgray:

+ - (void) DPScurrentgray: (float*)gray;
+

+ +

+
+

DPScurrentgstate:

+ - (void) DPScurrentgstate: (int)gst;
+

+ +

+
+

DPScurrenthalftone

+ - (void) DPScurrenthalftone;
+

+ +

+
+

DPScurrenthalftonephase::

+ - (void) DPScurrenthalftonephase: (float*)x : (float*)y;
+

+ +

+
+

DPScurrenthsbcolor:::

+ - (void) DPScurrenthsbcolor: (float*)h : (float*)s : (float*)b;
+

+ +

+
+

DPScurrentlinecap:

+ - (void) DPScurrentlinecap: (int*)linecap;
+

+ +

+
+

DPScurrentlinejoin:

+ - (void) DPScurrentlinejoin: (int*)linejoin;
+

+ +

+
+

DPScurrentlinewidth:

+ - (void) DPScurrentlinewidth: (float*)width;
+

+ +

+
+

DPScurrentmatrix

+ - (void) DPScurrentmatrix;
+

+ +

+
+

DPScurrentmiterlimit:

+ - (void) DPScurrentmiterlimit: (float*)limit;
+

+ +

+
+

DPScurrentoffset::

+ - (void) DPScurrentoffset: (int*)x : (int*)y;
+

+ +

+
+

DPScurrentowner::

+ - (void) DPScurrentowner: (int)win : (int*)owner;
+

+ +

+
+

DPScurrentpoint::

+ - (void) DPScurrentpoint: (float*)x : (float*)y;
+

+ +

+
+

DPScurrentrgbcolor:::

+ - (void) DPScurrentrgbcolor: (float*)r : (float*)g : (float*)b;
+

+ +

+
+

DPScurrentscreen

+ - (void) DPScurrentscreen;
+

+ +

+
+

DPScurrentserverdevice:

+ - (void) DPScurrentserverdevice: (void**)serverptr;
+

+ +

+
+

DPScurrentstrokeadjust:

+ - (void) DPScurrentstrokeadjust: (int*)b;
+

+ +

+
+

DPScurrenttransfer

+ - (void) DPScurrenttransfer;
+

+ +

+
+

DPScurrentwindow:

+ - (void) DPScurrentwindow: (int*)num;
+

+ +

+
+

DPScurrentwindowalpha::

+ - (void) DPScurrentwindowalpha: (int)win : (int*)alpha;
+

+ +

+
+

DPScurrentwindowbounds:::::

+ - (void) DPScurrentwindowbounds: (int)num : (float*)x : (float*)y : (float*)w : (float*)h;
+

+ +

+
+

DPScurrentwindowdepth::

+ - (void) DPScurrentwindowdepth: (int)win : (int*)depth;
+

+ +

+
+

DPScurrentwindowdepthlimit::

+ - (void) DPScurrentwindowdepthlimit: (int)win : (int*)limit;
+

+ +

+
+

DPScurrentwindowdevice::

+ - (void) DPScurrentwindowdevice: (int)win : (void**)windowptr;
+

+ +

+
+

DPScurrentwindowlevel::

+ - (void) DPScurrentwindowlevel: (int)win : (int*)level;
+

+ +

+
+

DPScurveto::::::

+ - (void) DPScurveto: (float)x1 : (float)y1 : (float)x2 : (float)y2 : (float)x3 : (float)y3;
+

+ +

+
+

DPSdefaultmatrix

+ - (void) DPSdefaultmatrix;
+

+ +

+
+

DPSdefinefont

+ - (void) DPSdefinefont;
+

+ +

+
+

DPSdefineuserobject

+ - (void) DPSdefineuserobject;
+

+ +

+
+

DPSdissolve::::::::

+ - (void) DPSdissolve: (float)x : (float)y : (float)w : (float)h : (int)gstateNum : (float)dx : (float)dy : (float)delta;
+

+ +

+
+

DPSdocedited::

+ - (void) DPSdocedited: (int)edited : (int)window;
+

+ +

+
+

DPSdtransform::::

+ - (void) DPSdtransform: (float)x1 : (float)y1 : (float*)x2 : (float*)y2;
+

+ +

+
+

DPSdup

+ - (void) DPSdup;
+

+ +

+
+

DPSeoclip

+ - (void) DPSeoclip;
+

+ +

+
+

DPSeofill

+ - (void) DPSeofill;
+

+ +

+
+

DPSeoviewclip

+ - (void) DPSeoviewclip;
+

+ +

+
+

DPSerasepage

+ - (void) DPSerasepage;
+

+ +

+
+

DPSexch

+ - (void) DPSexch;
+

+ +

+
+

DPSexecstack

+ - (void) DPSexecstack;
+

+ +

+
+

DPSexecuserobject:

+ - (void) DPSexecuserobject: (int)index;
+

+ +

+
+

DPSfill

+ - (void) DPSfill;
+

+ +

+
+

DPSfindfont:

+ - (void) DPSfindfont: (const char*)name;
+

+ +

+
+

DPSfindwindow::::::::

+ - (void) DPSfindwindow: (float)x : (float)y : (int)op : (int)otherWin : (float*)lx : (float*)ly : (int*)winFound : (int*)didFind;
+

+ +

+
+

DPSflattenpath

+ - (void) DPSflattenpath;
+

+ +

+
+

DPSflush

+ - (void) DPSflush;
+

+ +

+
+

DPSflushwindowrect:::::

+ - (void) DPSflushwindowrect: (float)x : (float)y : (float)w : (float)h : (int)win;
+

+ +

+
+

DPSfrontwindow:

+ - (void) DPSfrontwindow: (int*)num;
+

+ +

+
+

DPSget

+ - (void) DPSget;
+

+ +

+
+

DPSgetboolean:

+ - (void) DPSgetboolean: (int*)it;
+

+ +

+
+

DPSgetchararray::

+ - (void) DPSgetchararray: (int)size : (char*)s;
+

+ +

+
+

DPSgetfloat:

+ - (void) DPSgetfloat: (float*)it;
+

+ +

+
+

DPSgetfloatarray::

+ - (void) DPSgetfloatarray: (int)size : (float*)a;
+

+ +

+
+

DPSgetint:

+ - (void) DPSgetint: (int*)it;
+

+ +

+
+

DPSgetintarray::

+ - (void) DPSgetintarray: (int)size : (int*)a;
+

+ +

+
+

DPSgetstring:

+ - (void) DPSgetstring: (char*)s;
+

+ +

+
+

DPSgrestore

+ - (void) DPSgrestore;
+

+ +

+
+

DPSgrestoreall

+ - (void) DPSgrestoreall;
+

+ +

+
+

DPSgsave

+ - (void) DPSgsave;
+

+ +

+
+

DPSgstate

+ - (void) DPSgstate;
+

+ +

+
+

DPShidecursor

+ - (void) DPShidecursor;
+

+ +

+
+

DPSidentmatrix

+ - (void) DPSidentmatrix;
+

+ +

+
+

DPSidtransform::::

+ - (void) DPSidtransform: (float)x1 : (float)y1 : (float*)x2 : (float*)y2;
+

+ +

+
+

DPSimage

+ - (void) DPSimage;
+

+ +

+
+

DPSimagecursor:::::::

+ - (void) DPSimagecursor: (float)hotx : (float)hoty : (float)w : (float)h : (int)colors : (const char*)image : (void**)cid;
+

+ +

+
+

DPSimagemask

+ - (void) DPSimagemask;
+

+ +

+
+

DPSindex:

+ - (void) DPSindex: (int)i;
+

+ +

+
+

DPSinitclip

+ - (void) DPSinitclip;
+

+ +

+
+

DPSinitgraphics

+ - (void) DPSinitgraphics;
+

+ +

+
+

DPSinitmatrix

+ - (void) DPSinitmatrix;
+

+ +

+
+

DPSinitviewclip

+ - (void) DPSinitviewclip;
+

+ +

+
+

DPSinvertmatrix

+ - (void) DPSinvertmatrix;
+

+ +

+
+

DPSitransform::::

+ - (void) DPSitransform: (float)x1 : (float)y1 : (float*)x2 : (float*)y2;
+

+ +

+
+

DPSkshow:

+ - (void) DPSkshow: (const char*)s;
+

+ +

+
+

DPSlineto::

+ - (void) DPSlineto: (float)x : (float)y;
+

+ +

+
+

DPSmakefont

+ - (void) DPSmakefont;
+

+ +

+
+

DPSmark

+ - (void) DPSmark;
+

+ +

+
+

DPSmatrix

+ - (void) DPSmatrix;
+

+ +

+
+

DPSminiwindow:

+ - (void) DPSminiwindow: (int)num;
+

+ +

+
+

DPSmouselocation::

+ - (void) DPSmouselocation: (float*)x : (float*)y;
+

+ +

+
+

DPSmoveto::

+ - (void) DPSmoveto: (float)x : (float)y;
+

+ +

+
+

DPSmovewindow:::

+ - (void) DPSmovewindow: (float)x : (float)y : (int)num;
+

+ +

+
+

DPSnewpath

+ - (void) DPSnewpath;
+

+ +

+
+

DPSnull

+ - (void) DPSnull;
+

+ +

+
+

DPSorderwindow:::

+ - (void) DPSorderwindow: (int)op : (int)otherWin : (int)winNum;
+

+ +

+
+

DPSpathbbox::::

+ - (void) DPSpathbbox: (float*)llx : (float*)lly : (float*)urx : (float*)ury;
+

+ +

+
+

DPSpathforall

+ - (void) DPSpathforall;
+

+ +

+
+

DPSplacewindow:::::

+ - (void) DPSplacewindow: (float)x : (float)y : (float)w : (float)h : (int)win;
+

+ +

+
+

DPSpop

+ - (void) DPSpop;
+

+ +

+
+

DPSput

+ - (void) DPSput;
+

+ +

+
+

DPSrcurveto::::::

+ - (void) DPSrcurveto: (float)x1 : (float)y1 : (float)x2 : (float)y2 : (float)x3 : (float)y3;
+

+ +

+
+

DPSreadimage

+ - (void) DPSreadimage;
+

+ +

+
+

DPSrectclip::::

+ - (void) DPSrectclip: (float)x : (float)y : (float)w : (float)h;
+

+ +

+
+

DPSrectfill::::

+ - (void) DPSrectfill: (float)x : (float)y : (float)w : (float)h;
+

+ +

+
+

DPSrectstroke::::

+ - (void) DPSrectstroke: (float)x : (float)y : (float)w : (float)h;
+

+ +

+
+

DPSrectviewclip::::

+ - (void) DPSrectviewclip: (float)x : (float)y : (float)w : (float)h;
+

+ +

+
+

DPSreleasemouse

+ - (void) DPSreleasemouse;
+

+ +

+
+

DPSrestore

+ - (void) DPSrestore;
+

+ +

+
+

DPSreversepath

+ - (void) DPSreversepath;
+

+ +

+
+

DPSrlineto::

+ - (void) DPSrlineto: (float)x : (float)y;
+

+ +

+
+

DPSrmoveto::

+ - (void) DPSrmoveto: (float)x : (float)y;
+

+ +

+
+

DPSroll::

+ - (void) DPSroll: (int)n : (int)j;
+

+ +

+
+

DPSrotate:

+ - (void) DPSrotate: (float)angle;
+

+ +

+
+

DPSsave

+ - (void) DPSsave;
+

+ +

+
+

DPSscale::

+ - (void) DPSscale: (float)x : (float)y;
+

+ +

+
+

DPSscalefont:

+ - (void) DPSscalefont: (float)size;
+

+ +

+
+

DPSscreenlist:::

+ - (void) DPSscreenlist: (int)context : (int)count : (int*)windows;
+

+ +

+
+

DPSselectfont::

+ - (void) DPSselectfont: (const char*)name : (float)scale;
+

+ +

+
+

DPSsendboolean:

+ - (void) DPSsendboolean: (int)it;
+

+ +

+
+

DPSsendchararray::

+ - (void) DPSsendchararray: (const char*)s : (int)size;
+

+ +

+
+

DPSsendfloat:

+ - (void) DPSsendfloat: (float)it;
+

+ +

+
+

DPSsendfloatarray::

+ - (void) DPSsendfloatarray: (const float*)a : (int)size;
+

+ +

+
+

DPSsendint:

+ - (void) DPSsendint: (int)it;
+

+ +

+
+

DPSsendintarray::

+ - (void) DPSsendintarray: (const int*)a : (int)size;
+

+ +

+
+

DPSsendstring:

+ - (void) DPSsendstring: (const char*)s;
+

+ +

+
+

DPSsetalpha:

+ - (void) DPSsetalpha: (float)a;
+

+ +

+
+

DPSsetautofill::

+ - (void) DPSsetautofill: (int)truth : (int)num;
+

+ +

+
+

DPSsetbbox::::

+ - (void) DPSsetbbox: (float)llx : (float)lly : (float)urx : (float)ury;
+

+ +

+
+

DPSsetcmykcolor::::

+ - (void) DPSsetcmykcolor: (float)c : (float)m : (float)y : (float)k;
+

+ +

+
+

DPSsetcursorcolor:::::::

+ - (void) DPSsetcursorcolor: (float)fr : (float)fg : (float)fb : (float)br : (float)bg : (float)bb : (void*)cid;
+

+ +

+
+

DPSsetdash:::

+ - (void) DPSsetdash: (const float*)pat : (int)size : (float)offset;
+

+ +

+
+

DPSsetdefaultdepthlimit:

+ - (void) DPSsetdefaultdepthlimit: (int)limit;
+

+ +

+
+

DPSsetdrawingfunction:

+ - (void) DPSsetdrawingfunction: (int)function;
+

+ +

+
+

DPSsetexposurecolor

+ - (void) DPSsetexposurecolor;
+

+ +

+
+

DPSsetflat:

+ - (void) DPSsetflat: (float)flatness;
+

+ +

+
+

DPSsetfont:

+ - (void) DPSsetfont: (int)f;
+

+ +

+
+

DPSsetgcdrawable::::

+ - (void) DPSsetgcdrawable: (void*)gc : (void*)draw : (int)x : (int)y;
+

+ +

+
+

DPSsetgcdrawablecolor:::::

+ - (void) DPSsetgcdrawablecolor: (void*)gc : (void*)draw : (int)x : (int)y : (const int*)colorInfo;
+

+ +

+
+

DPSsetgray:

+ - (void) DPSsetgray: (float)gray;
+

+ +

+
+

DPSsetgstate:

+ - (void) DPSsetgstate: (int)gst;
+

+ +

+
+

DPSsethalftone

+ - (void) DPSsethalftone;
+

+ +

+
+

DPSsethalftonephase::

+ - (void) DPSsethalftonephase: (float)x : (float)y;
+

+ +

+
+

DPSsethsbcolor:::

+ - (void) DPSsethsbcolor: (float)h : (float)s : (float)b;
+

+ +

+
+

DPSsetinputfocus:

+ - (void) DPSsetinputfocus: (int)win;
+

+ +

+
+

DPSsetinputstate::

+ - (void) DPSsetinputstate: (int)window : (int)state;
+

+ +

+
+

DPSsetlinecap:

+ - (void) DPSsetlinecap: (int)linecap;
+

+ +

+
+

DPSsetlinejoin:

+ - (void) DPSsetlinejoin: (int)linejoin;
+

+ +

+
+

DPSsetlinewidth:

+ - (void) DPSsetlinewidth: (float)width;
+

+ +

+
+

DPSsetmatrix

+ - (void) DPSsetmatrix;
+

+ +

+
+

DPSsetmaxsize:::

+ - (void) DPSsetmaxsize: (float)width : (float)height : (int)win;
+

+ +

+
+

DPSsetminsize:::

+ - (void) DPSsetminsize: (float)width : (float)height : (int)win;
+

+ +

+
+

DPSsetmiterlimit:

+ - (void) DPSsetmiterlimit: (float)limit;
+

+ +

+
+

DPSsetoffset::

+ - (void) DPSsetoffset: (short int)x : (short int)y;
+

+ +

+
+

DPSsetowner::

+ - (void) DPSsetowner: (int)owner : (int)win;
+

+ +

+
+

DPSsetresizeincrements:::

+ - (void) DPSsetresizeincrements: (float)width : (float)height : (int)win;
+

+ +

+
+

DPSsetrgbactual::::

+ - (void) DPSsetrgbactual: (double)r : (double)g : (double)b : (int*)success;
+

+ +

+
+

DPSsetrgbcolor:::

+ - (void) DPSsetrgbcolor: (float)r : (float)g : (float)b;
+

+ +

+
+

DPSsetscreen

+ - (void) DPSsetscreen;
+

+ +

+
+

DPSsetsendexposed::

+ - (void) DPSsetsendexposed: (int)truth : (int)num;
+

+ +

+
+

DPSsetstrokeadjust:

+ - (void) DPSsetstrokeadjust: (int)b;
+

+ +

+
+

DPSsettransfer

+ - (void) DPSsettransfer;
+

+ +

+
+

DPSsetwindowdepthlimit::

+ - (void) DPSsetwindowdepthlimit: (int)limit : (int)win;
+

+ +

+
+

DPSsetwindowlevel::

+ - (void) DPSsetwindowlevel: (int)level : (int)win;
+

+ +

+
+

DPSsetwindowtype::

+ - (void) DPSsetwindowtype: (int)type : (int)win;
+

+ +

+
+

DPSshow:

+ - (void) DPSshow: (const char*)s;
+

+ +

+
+

DPSshowcursor

+ - (void) DPSshowcursor;
+

+ +

+
+

DPSshowpage

+ - (void) DPSshowpage;
+

+ +

+
+

DPSstandardcursor::

+ - (void) DPSstandardcursor: (int)style : (void**)cid;
+

+ +

+
+

DPSstroke

+ - (void) DPSstroke;
+

+ +

+
+

DPSstrokepath

+ - (void) DPSstrokepath;
+

+ +

+
+

DPSstyleoffsets:::::

+ - (void) DPSstyleoffsets: (float*)l : (float*)r : (float*)t : (float*)b : (int)style;
+

+ +

+
+

DPSstylewindow::

+ - (void) DPSstylewindow: (int)style : (int)num;
+

+ +

+
+

DPStermwindow:

+ - (void) DPStermwindow: (int)num;
+

+ +

+
+

DPStitlewindow::

+ - (void) DPStitlewindow: (const char*)window_title : (int)num;
+

+ +

+
+

DPStransform::::

+ - (void) DPStransform: (float)x1 : (float)y1 : (float*)x2 : (float*)y2;
+

+ +

+
+

DPStranslate::

+ - (void) DPStranslate: (float)x : (float)y;
+

+ +

+
+

DPSueofill::::

+ - (void) DPSueofill: (const char*)nums : (int)n : (const char*)op : (int)l;
+

+ +

+
+

DPSufill::::

+ - (void) DPSufill: (const char*)nums : (int)n : (const char*)ops : (int)l;
+

+ +

+
+

DPSundefinefont:

+ - (void) DPSundefinefont: (const char*)name;
+

+ +

+
+

DPSundefineuserobject:

+ - (void) DPSundefineuserobject: (int)index;
+

+ +

+
+

DPSupdatewindow:

+ - (void) DPSupdatewindow: (int)win;
+

+ +

+
+

DPSustroke::::

+ - (void) DPSustroke: (const char*)nums : (int)n : (const char*)ops : (int)l;
+

+ +

+
+

DPSustrokepath::::

+ - (void) DPSustrokepath: (const char*)nums : (int)n : (const char*)ops : (int)l;
+

+ +

+
+

DPSviewclip

+ - (void) DPSviewclip;
+

+ +

+
+

DPSviewclippath

+ - (void) DPSviewclippath;
+

+ +

+
+

DPSwidthshow::::

+ - (void) DPSwidthshow: (float)x : (float)y : (int)c : (const char*)s;
+

+ +

+
+

DPSwindow::::::

+ - (void) DPSwindow: (float)x : (float)y : (float)w : (float)h : (int)type : (int*)num;
+

+ +

+
+

DPSwindowdevice:

+ - (void) DPSwindowdevice: (int)num;
+

+ +

+
+

DPSwindowdeviceround:

+ - (void) DPSwindowdeviceround: (int)num;
+

+ +

+
+

DPSwindowlist:::

+ - (void) DPSwindowlist: (int)context : (int)count : (int*)windows;
+

+ +

+
+

DPSxshow:::

+ - (void) DPSxshow: (const char*)s : (const float*)numarray : (int)size;
+

+ +

+
+

DPSxyshow:::

+ - (void) DPSxyshow: (const char*)s : (const float*)numarray : (int)size;
+

+ +

+
+

DPSyshow:::

+ - (void) DPSyshow: (const char*)s : (const float*)numarray : (int)size;
+

+ +

+
+

setFont:

+ - (void) setFont: (NSFont*)font;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSHelpManager.gsdoc b/Documentation/gsdoc/NSHelpManager.gsdoc index d3e008051..7426f9feb 100644 --- a/Documentation/gsdoc/NSHelpManager.gsdoc +++ b/Documentation/gsdoc/NSHelpManager.gsdoc @@ -1,23 +1,29 @@ - - + + NSHelpManager - - - + + + ptavares@iname.com + - $Revision$ - $Date$ + + NSHelpManager is the class responsible for managing + context help for the application, and its mapping to the + graphic elements. + + 1999 Free Software Foundation, Inc. - NSHelpManager + + Software documentation for the NSHelpManager class + - Gui/NSHelpManager.h - NSObject - - + AppKit/NSHelpManager.h + + isContextHelpModeActive @@ -49,7 +55,7 @@ setContextHelp: help - forObject: + withObject: object @@ -64,5 +70,46 @@ + + + Software documentation for the + NSApplication(NSHelpManager) + category + + + AppKit/NSHelpManager.h + + + + activateContextHelpMode: + sender + + + + + showHelp: + sender + + + + + + + + Software documentation for the NSBundle(NSHelpManager) + category + + + AppKit/NSHelpManager.h + + + + contextHelpForKey: + key + + + + + diff --git a/Documentation/gsdoc/NSHelpManager.html b/Documentation/gsdoc/NSHelpManager.html index 088bde95d..0aa9631e4 100644 --- a/Documentation/gsdoc/NSHelpManager.html +++ b/Documentation/gsdoc/NSHelpManager.html @@ -1,77 +1,110 @@ - - NSHelpManager - - -[Previous] -[Up] -[Next] -

NSHelpManager

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSHelpManager

-

NSHelpManager

-

Declared in: Gui/NSHelpManager.h

-

Inherits from: NSObject

-

Conforms to: NSObject -

-
+ + + NSHelpManager + + +

NSHelpManager

+

Authors

+
+
Pedro Ivo Andrade Tavares( + ptavares@iname.com + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

isContextHelpModeActive

-+ (BOOL) isContextHelpModeActive;
+ NSHelpManager is the class responsible for managing + context help for the application, and its mapping to the + graphic elements. +
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSHelpManager class +

+

NSHelpManager : NSObject

+ Declared: AppKit/NSHelpManager.h
+

- -


-

setContextHelpModeActive:

-+ (void) setContextHelpModeActive: (BOOL)flag;
+

+

isContextHelpModeActive

+ + (BOOL) isContextHelpModeActive;
+

- -


-

sharedHelpManager

-+ (NSHelpManager*) sharedHelpManager;
+

+
+

setContextHelpModeActive:

+ + (void) setContextHelpModeActive: (BOOL)flag;
+

- -


-

Instances Methods

-

contextHelpForObject:

-- (NSAttributedString*) contextHelpForObject: (id)object;
+

+
+

sharedHelpManager

+ + (NSHelpManager*) sharedHelpManager;
+

- -


-

removeContextHelpForObject:

-- (void) removeContextHelpForObject: (id)object;
+

+
+

contextHelpForObject:

+ - (NSAttributedString*) contextHelpForObject: (id)object;
+

- -


-

setContextHelp:forObject:

-- (void) setContextHelp: (NSAttributedString*)help forObject: (id)object;
+

+
+

removeContextHelpForObject:

+ - (void) removeContextHelpForObject: (id)object;
+

- -


-

showContextHelpForObject:locationHint:

-- (BOOL) showContextHelpForObject: (id)object locationHint: (NSPoint)point;
+

+
+

setContextHelp:withObject:

+ - (void) setContextHelp: (NSAttributedString*)help withObject: (id)object;
+

- -


- - - +

+
+

showContextHelpForObject:locationHint:

+ - (BOOL) showContextHelpForObject: (id)object locationHint: (NSPoint)point;
+

+ +

+
+

+ Software documentation for the + NSApplication(NSHelpManager) + category +

+

NSApplication(NSHelpManager)

+ Declared: AppKit/NSHelpManager.h
+

+ +

+

activateContextHelpMode:

+ - (void) activateContextHelpMode: (id)sender;
+

+ +

+
+

showHelp:

+ - (void) showHelp: (id)sender;
+

+ +

+
+

+ Software documentation for the NSBundle(NSHelpManager) + category +

+

NSBundle(NSHelpManager)

+ Declared: AppKit/NSHelpManager.h
+

+ +

+

contextHelpForKey:

+ - (NSAttributedString*) contextHelpForKey: (NSString*)key;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSImage.gsdoc b/Documentation/gsdoc/NSImage.gsdoc index 74b823057..52d9d064d 100644 --- a/Documentation/gsdoc/NSImage.gsdoc +++ b/Documentation/gsdoc/NSImage.gsdoc @@ -1,23 +1,27 @@ - - + + NSImage - - - + + + fedor@colorado.edu + - $Revision$ - $Date$ + Load, manipulate and display images + 1996 Free Software Foundation, Inc. - NSImage + + Software documentation for the NSImage class + - Gui/NSImage.h + AppKit/NSImage.h NSCoding - - + NSCopying + + canInitWithPasteboard: pasteboard @@ -31,7 +35,7 @@ imageNamed: - name + aName @@ -50,6 +54,19 @@ + + TIFFRepresentation + + + + + TIFFRepresentationUsingCompression: + comp + factor: + aFloat + + + addRepresentation: imageRep @@ -58,7 +75,7 @@ addRepresentations: - imageReps + imageRepArray @@ -91,8 +108,30 @@ compositeToPoint: aPoint + fromRect: + srcRect operation: op + fraction: + delta + + + + + compositeToPoint: + aPoint + operation: + op + + + + + compositeToPoint: + aPoint + operation: + op + fraction: + delta @@ -119,15 +158,41 @@ + + drawAtPoint: + point + fromRect: + srcRect + operation: + op + fraction: + delta + + + + + drawInRect: + dstRect + fromRect: + srcRect + operation: + op + fraction: + delta + + + drawRepresentation: imageRep + inRect: + aRect initByReferencingFile: - filename + fileName @@ -139,7 +204,13 @@ initWithContentsOfFile: - filename + fileName + + + + + initWithContentsOfURL: + anURL @@ -194,7 +265,7 @@ lockFocusOnRepresentation: - imageRepresentation + imageRep @@ -278,7 +349,7 @@ setName: - aString + string @@ -311,19 +382,6 @@ - - TIFFRepresentation - - - - - TIFFRepresentationUsingCompression: - comp - factor: - aFloat - - - unlockFocus @@ -334,13 +392,43 @@ - - imageDidNotDraw: - sender + + + + + Software documentation for the + NSBundle(NSImageAdditions) category + + + AppKit/NSImage.h + + + + pathForImageResource: + name -
+ +
+ + + Software documentation for the GSImageDelegateProtocol + protocol + + + AppKit/NSImage.h + + + + imageDidNotDraw: + sender + inRect: + aRect + + + +
diff --git a/Documentation/gsdoc/NSImage.html b/Documentation/gsdoc/NSImage.html index 5f0fc9d72..6534d08dc 100644 --- a/Documentation/gsdoc/NSImage.html +++ b/Documentation/gsdoc/NSImage.html @@ -1,365 +1,413 @@ - - NSImage - - -[Previous] -[Up] -[Next] -

NSImage

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSImage

-

NSImage

-

Declared in: Gui/NSImage.h

-

Inherits from: NSObject

-

Conforms to: NSCoding -

-
+ + + NSImage + + +

NSImage

+

Authors

+
+
Adam Fedor( + fedor@colorado.edu + )
+
+
+
+
+Load, manipulate and display images
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSImage class +

+

NSImage : NSObject

+ Declared: AppKit/NSImage.h
+ Conform: NSCoding
+ Conform: NSCopying
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

canInitWithPasteboard:

-+ (BOOL) canInitWithPasteboard: (NSPasteboard*)pasteboard;
+

+

canInitWithPasteboard:

+ + (BOOL) canInitWithPasteboard: (NSPasteboard*)pasteboard;
+

- -


-

imageFileTypes

-+ (NSArray*) imageFileTypes;
+

+
+

imageFileTypes

+ + (NSArray*) imageFileTypes;
+

- -


-

imageNamed:

-+ (id) imageNamed: (NSString*)name;
+

+
+

imageNamed:

+ + (id) imageNamed: (NSString*)aName;
+

- -


-

imagePasteboardTypes

-+ (NSArray*) imagePasteboardTypes;
+

+
+

imagePasteboardTypes

+ + (NSArray*) imagePasteboardTypes;
+

- -


-

imageUnfilteredFileTypes

-+ (NSArray*) imageUnfilteredFileTypes;
+

+
+

imageUnfilteredFileTypes

+ + (NSArray*) imageUnfilteredFileTypes;
+

- -


-

imageUnfilteredPasteboardTypes

-+ (NSArray*) imageUnfilteredPasteboardTypes;
+

+
+

imageUnfilteredPasteboardTypes

+ + (NSArray*) imageUnfilteredPasteboardTypes;
+

- -


-

Instances Methods

-

addRepresentation:

-- (void) addRepresentation: (NSImageRep*)imageRep;
+

+
+

TIFFRepresentation

+ - (NSData*) TIFFRepresentation;
+

- -


-

addRepresentations:

-- (void) addRepresentations: (NSArray*)imageReps;
+

+
+

TIFFRepresentationUsingCompression:factor:

+ - (NSData*) TIFFRepresentationUsingCompression: (NSTIFFCompression)comp factor: (float)aFloat;
+

- -


-

backgroundColor

-- (NSColor*) backgroundColor;
+

+
+

addRepresentation:

+ - (void) addRepresentation: (NSImageRep*)imageRep;
+

- -


-

bestRepresentationForDevice:

-- (NSImageRep*) bestRepresentationForDevice: (NSDictionary*)deviceDescription;
+

+
+

addRepresentations:

+ - (void) addRepresentations: (NSArray*)imageRepArray;
+

- -


-

cacheDepthMatchesImageDepth

-- (BOOL) cacheDepthMatchesImageDepth;
+

+
+

backgroundColor

+ - (NSColor*) backgroundColor;
+

- -


-

compositeToPoint:fromRect:operation:

-- (void) compositeToPoint: (NSPoint)aPoint fromRect: (NSRect)aRect operation: (NSCompositingOperation)op;
+

+
+

bestRepresentationForDevice:

+ - (NSImageRep*) bestRepresentationForDevice: (NSDictionary*)deviceDescription;
+

- -


-

compositeToPoint:operation:

-- (void) compositeToPoint: (NSPoint)aPoint operation: (NSCompositingOperation)op;
+

+
+

cacheDepthMatchesImageDepth

+ - (BOOL) cacheDepthMatchesImageDepth;
+

- -


-

delegate

-- (id) delegate;
+

+
+

compositeToPoint:fromRect:operation:

+ - (void) compositeToPoint: (NSPoint)aPoint fromRect: (NSRect)aRect operation: (NSCompositingOperation)op;
+

- -


-

dissolveToPoint:fraction:

-- (void) dissolveToPoint: (NSPoint)aPoint fraction: (float)aFloat;
+

+
+

compositeToPoint:fromRect:operation:fraction:

+ - (void) compositeToPoint: (NSPoint)aPoint fromRect: (NSRect)srcRect operation: (NSCompositingOperation)op fraction: (float)delta;
+

- -


-

dissolveToPoint:fromRect:fraction:

-- (void) dissolveToPoint: (NSPoint)aPoint fromRect: (NSRect)aRect fraction: (float)aFloat;
+

+
+

compositeToPoint:operation:

+ - (void) compositeToPoint: (NSPoint)aPoint operation: (NSCompositingOperation)op;
+

- -


-

drawRepresentation:

-- (BOOL) drawRepresentation: (NSImageRep*)imageRep;
+

+
+

compositeToPoint:operation:fraction:

+ - (void) compositeToPoint: (NSPoint)aPoint operation: (NSCompositingOperation)op fraction: (float)delta;
+

- -


-

initByReferencingFile:

-- (id) initByReferencingFile: (NSString*)filename;
+

+
+

delegate

+ - (id) delegate;
+

- -


-

initWithBitmapHandle:

-- (id) initWithBitmapHandle: (void*)bitmap;
+

+
+

dissolveToPoint:fraction:

+ - (void) dissolveToPoint: (NSPoint)aPoint fraction: (float)aFloat;
+

- -


-

initWithContentsOfFile:

-- (id) initWithContentsOfFile: (NSString*)filename;
+

+
+

dissolveToPoint:fromRect:fraction:

+ - (void) dissolveToPoint: (NSPoint)aPoint fromRect: (NSRect)aRect fraction: (float)aFloat;
+

- -


-

initWithData:

-- (id) initWithData: (NSData*)data;
+

+
+

drawAtPoint:fromRect:operation:fraction:

+ - (void) drawAtPoint: (NSPoint)point fromRect: (NSRect)srcRect operation: (NSCompositingOperation)op fraction: (float)delta;
+

- -


-

initWithIconHandle:

-- (id) initWithIconHandle: (void*)icon;
+

+
+

drawInRect:fromRect:operation:fraction:

+ - (void) drawInRect: (NSRect)dstRect fromRect: (NSRect)srcRect operation: (NSCompositingOperation)op fraction: (float)delta;
+

- -


-

initWithPasteboard:

-- (id) initWithPasteboard: (NSPasteboard*)pasteboard;
+

+
+

drawRepresentation:inRect:

+ - (BOOL) drawRepresentation: (NSImageRep*)imageRep inRect: (NSRect)aRect;
+

- -


-

initWithSize:

-- (id) initWithSize: (NSSize)aSize;
+

+
+

initByReferencingFile:

+ - (id) initByReferencingFile: (NSString*)fileName;
+

- -


-

isCachedSeparately

-- (BOOL) isCachedSeparately;
+

+
+

initWithBitmapHandle:

+ - (id) initWithBitmapHandle: (void*)bitmap;
+

- -


-

isDataRetained

-- (BOOL) isDataRetained;
+

+
+

initWithContentsOfFile:

+ - (id) initWithContentsOfFile: (NSString*)fileName;
+

- -


-

isFlipped

-- (BOOL) isFlipped;
+

+
+

initWithContentsOfURL:

+ - (id) initWithContentsOfURL: (NSURL*)anURL;
+

- -


-

isValid

-- (BOOL) isValid;
+

+
+

initWithData:

+ - (id) initWithData: (NSData*)data;
+

- -


-

lockFocus

-- (void) lockFocus;
+

+
+

initWithIconHandle:

+ - (id) initWithIconHandle: (void*)icon;
+

- -


-

lockFocusOnRepresentation:

-- (void) lockFocusOnRepresentation: (NSImageRep*)imageRepresentation;
+

+
+

initWithPasteboard:

+ - (id) initWithPasteboard: (NSPasteboard*)pasteboard;
+

- -


-

matchesOnMultipleResolution

-- (BOOL) matchesOnMultipleResolution;
+

+
+

initWithSize:

+ - (id) initWithSize: (NSSize)aSize;
+

- -


-

name

-- (NSString*) name;
+

+
+

isCachedSeparately

+ - (BOOL) isCachedSeparately;
+

- -


-

prefersColorMatch

-- (BOOL) prefersColorMatch;
+

+
+

isDataRetained

+ - (BOOL) isDataRetained;
+

- -


-

recache

-- (void) recache;
+

+
+

isFlipped

+ - (BOOL) isFlipped;
+

- -


-

removeRepresentation:

-- (void) removeRepresentation: (NSImageRep*)imageRep;
+

+
+

isValid

+ - (BOOL) isValid;
+

- -


-

representations

-- (NSArray*) representations;
+

+
+

lockFocus

+ - (void) lockFocus;
+

- -


-

scalesWhenResized

-- (BOOL) scalesWhenResized;
+

+
+

lockFocusOnRepresentation:

+ - (void) lockFocusOnRepresentation: (NSImageRep*)imageRep;
+

- -


-

setBackgroundColor:

-- (void) setBackgroundColor: (NSColor*)aColor;
+

+
+

matchesOnMultipleResolution

+ - (BOOL) matchesOnMultipleResolution;
+

- -


-

setCacheDepthMatchesImageDepth:

-- (void) setCacheDepthMatchesImageDepth: (BOOL)flag;
+

+
+

name

+ - (NSString*) name;
+

- -


-

setCachedSeparately:

-- (void) setCachedSeparately: (BOOL)flag;
+

+
+

prefersColorMatch

+ - (BOOL) prefersColorMatch;
+

- -


-

setDataRetained:

-- (void) setDataRetained: (BOOL)flag;
+

+
+

recache

+ - (void) recache;
+

- -


-

setDelegate:

-- (void) setDelegate: (id)anObject;
+

+
+

removeRepresentation:

+ - (void) removeRepresentation: (NSImageRep*)imageRep;
+

- -


-

setFlipped:

-- (void) setFlipped: (BOOL)flag;
+

+
+

representations

+ - (NSArray*) representations;
+

- -


-

setMatchesOnMultipleResolution:

-- (void) setMatchesOnMultipleResolution: (BOOL)flag;
+

+
+

scalesWhenResized

+ - (BOOL) scalesWhenResized;
+

- -


-

setName:

-- (BOOL) setName: (NSString*)aString;
+

+
+

setBackgroundColor:

+ - (void) setBackgroundColor: (NSColor*)aColor;
+

- -


-

setPrefersColorMatch:

-- (void) setPrefersColorMatch: (BOOL)flag;
+

+
+

setCacheDepthMatchesImageDepth:

+ - (void) setCacheDepthMatchesImageDepth: (BOOL)flag;
+

- -


-

setScalesWhenResized:

-- (void) setScalesWhenResized: (BOOL)flag;
+

+
+

setCachedSeparately:

+ - (void) setCachedSeparately: (BOOL)flag;
+

- -


-

setSize:

-- (void) setSize: (NSSize)aSize;
+

+
+

setDataRetained:

+ - (void) setDataRetained: (BOOL)flag;
+

- -


-

setUsesEPSOnResolutionMismatch:

-- (void) setUsesEPSOnResolutionMismatch: (BOOL)flag;
+

+
+

setDelegate:

+ - (void) setDelegate: (id)anObject;
+

- -


-

size

-- (NSSize) size;
+

+
+

setFlipped:

+ - (void) setFlipped: (BOOL)flag;
+

- -


-

TIFFRepresentation

-- (NSData*) TIFFRepresentation;
+

+
+

setMatchesOnMultipleResolution:

+ - (void) setMatchesOnMultipleResolution: (BOOL)flag;
+

- -


-

TIFFRepresentationUsingCompression:factor:

-- (NSData*) TIFFRepresentationUsingCompression: (NSTIFFCompression)comp factor: (float)aFloat;
+

+
+

setName:

+ - (BOOL) setName: (NSString*)string;
+

- -


-

unlockFocus

-- (void) unlockFocus;
+

+
+

setPrefersColorMatch:

+ - (void) setPrefersColorMatch: (BOOL)flag;
+

- -


-

usesEPSOnResolutionMismatch

-- (BOOL) usesEPSOnResolutionMismatch;
+

+
+

setScalesWhenResized:

+ - (void) setScalesWhenResized: (BOOL)flag;
+

- -


-

imageDidNotDraw:

-- (NSImage*) imageDidNotDraw: (id)sender;
+

+
+

setSize:

+ - (void) setSize: (NSSize)aSize;
+

- -


- - - +

+
+

setUsesEPSOnResolutionMismatch:

+ - (void) setUsesEPSOnResolutionMismatch: (BOOL)flag;
+

+ +

+
+

size

+ - (NSSize) size;
+

+ +

+
+

unlockFocus

+ - (void) unlockFocus;
+

+ +

+
+

usesEPSOnResolutionMismatch

+ - (BOOL) usesEPSOnResolutionMismatch;
+

+ +

+
+

+ Software documentation for the + NSBundle(NSImageAdditions) category +

+

NSBundle(NSImageAdditions)

+ Declared: AppKit/NSImage.h
+

+ +

+

pathForImageResource:

+ - (NSString*) pathForImageResource: (NSString*)name;
+

+ +

+
+

+ Software documentation for the GSImageDelegateProtocol + protocol +

+

GSImageDelegateProtocol

+ Declared: AppKit/NSImage.h
+

+ +

+

imageDidNotDraw:inRect:

+ - (NSImage*) imageDidNotDraw: (id)sender inRect: (NSRect)aRect;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSImageCell.gsdoc b/Documentation/gsdoc/NSImageCell.gsdoc index accad028a..5b61adf20 100644 --- a/Documentation/gsdoc/NSImageCell.gsdoc +++ b/Documentation/gsdoc/NSImageCell.gsdoc @@ -1,23 +1,25 @@ - - + + NSImageCell - - - + + + jagapen@smithlab.chem.wisc.edu + - $Revision$ - $Date$ + The image cell class + 1999 Free Software Foundation, Inc. - NSImageCell + + Software documentation for the NSImageCell class + - Gui/NSImageCell.h - NSCopying - - + AppKit/NSImageCell.h + + imageAlignment @@ -35,13 +37,13 @@ setImageAlignment: - alignment + anAlignment setImageFrameStyle: - frameStyle + aFrameStyle diff --git a/Documentation/gsdoc/NSImageCell.html b/Documentation/gsdoc/NSImageCell.html index 34829dfad..917bb3839 100644 --- a/Documentation/gsdoc/NSImageCell.html +++ b/Documentation/gsdoc/NSImageCell.html @@ -1,70 +1,63 @@ - - NSImageCell - - -[Previous] -[Up] -[Next] -

NSImageCell

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSImageCell

-

NSImageCell

-

Declared in: Gui/NSImageCell.h

-

Inherits from: NSCell

-

Conforms to: NSCopying -

-
+ + + NSImageCell + + +

NSImageCell

+

Authors

+
+
Jonathan Gapen( + jagapen@smithlab.chem.wisc.edu + )
+
+
+
+
+The image cell class
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSImageCell class +

+

NSImageCell : NSCell

+ Declared: AppKit/NSImageCell.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

imageAlignment

-- (NSImageAlignment) imageAlignment;
+

+

imageAlignment

+ - (NSImageAlignment) imageAlignment;
+

- -


-

imageFrameStyle

-- (NSImageFrameStyle) imageFrameStyle;
+

+
+

imageFrameStyle

+ - (NSImageFrameStyle) imageFrameStyle;
+

- -


-

imageScaling

-- (NSImageScaling) imageScaling;
+

+
+

imageScaling

+ - (NSImageScaling) imageScaling;
+

- -


-

setImageAlignment:

-- (void) setImageAlignment: (NSImageAlignment)alignment;
+

+
+

setImageAlignment:

+ - (void) setImageAlignment: (NSImageAlignment)anAlignment;
+

- -


-

setImageFrameStyle:

-- (void) setImageFrameStyle: (NSImageFrameStyle)frameStyle;
+

+
+

setImageFrameStyle:

+ - (void) setImageFrameStyle: (NSImageFrameStyle)aFrameStyle;
+

- -


-

setImageScaling:

-- (void) setImageScaling: (NSImageScaling)scaling;
+

+
+

setImageScaling:

+ - (void) setImageScaling: (NSImageScaling)scaling;
+

- -


- - - +

+
+ + diff --git a/Documentation/gsdoc/NSImageRep.gsdoc b/Documentation/gsdoc/NSImageRep.gsdoc index b6622d193..a4b93bb5a 100644 --- a/Documentation/gsdoc/NSImageRep.gsdoc +++ b/Documentation/gsdoc/NSImageRep.gsdoc @@ -1,23 +1,29 @@ - - + + NSImageRep - - - + + + fedor@colorado.edu + - $Revision$ - $Date$ + + Abstract representation of an image. + + 1996 Free Software Foundation, Inc. - NSImageRep + + Software documentation for the NSImageRep class + - Gui/NSImageRep.h + AppKit/NSImageRep.h NSCoding - - + NSCopying + + canInitWithData: data @@ -64,6 +70,12 @@ + + imageRepWithContentsOfURL: + anURL + + + imageRepWithPasteboard: pasteboard @@ -76,6 +88,12 @@ + + imageRepsWithContentsOfURL: + anURL + + + imageRepsWithPasteboard: pasteboard @@ -132,7 +150,7 @@ drawInRect: - rect + aRect @@ -170,7 +188,7 @@ setColorSpaceName: - string + aString diff --git a/Documentation/gsdoc/NSImageRep.html b/Documentation/gsdoc/NSImageRep.html index 350992d63..75e949d78 100644 --- a/Documentation/gsdoc/NSImageRep.html +++ b/Documentation/gsdoc/NSImageRep.html @@ -1,233 +1,241 @@ - - NSImageRep - - -[Previous] -[Up] -[Next] -

NSImageRep

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSImageRep

-

NSImageRep

-

Declared in: Gui/NSImageRep.h

-

Inherits from: NSObject

-

Conforms to: NSCoding -

-
+ + + NSImageRep + + +

NSImageRep

+

Authors

+
+
Adam Fedor( + fedor@colorado.edu + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

canInitWithData:

-+ (BOOL) canInitWithData: (NSData*)data;
+ Abstract representation of an image. +
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSImageRep class +

+

NSImageRep : NSObject

+ Declared: AppKit/NSImageRep.h
+ Conform: NSCoding
+ Conform: NSCopying
+

- -


-

canInitWithPasteboard:

-+ (BOOL) canInitWithPasteboard: (NSPasteboard*)pasteboard;
+

+

canInitWithData:

+ + (BOOL) canInitWithData: (NSData*)data;
+

- -


-

imageFileTypes

-+ (NSArray*) imageFileTypes;
+

+
+

canInitWithPasteboard:

+ + (BOOL) canInitWithPasteboard: (NSPasteboard*)pasteboard;
+

- -


-

imagePasteboardTypes

-+ (NSArray*) imagePasteboardTypes;
+

+
+

imageFileTypes

+ + (NSArray*) imageFileTypes;
+

- -


-

imageRepClassForData:

-+ (Class) imageRepClassForData: (NSData*)data;
+

+
+

imagePasteboardTypes

+ + (NSArray*) imagePasteboardTypes;
+

- -


-

imageRepClassForFileType:

-+ (Class) imageRepClassForFileType: (NSString*)type;
+

+
+

imageRepClassForData:

+ + (Class) imageRepClassForData: (NSData*)data;
+

- -


-

imageRepClassForPasteboardType:

-+ (Class) imageRepClassForPasteboardType: (NSString*)type;
+

+
+

imageRepClassForFileType:

+ + (Class) imageRepClassForFileType: (NSString*)type;
+

- -


-

imageRepWithContentsOfFile:

-+ (id) imageRepWithContentsOfFile: (NSString*)filename;
+

+
+

imageRepClassForPasteboardType:

+ + (Class) imageRepClassForPasteboardType: (NSString*)type;
+

- -


-

imageRepWithPasteboard:

-+ (id) imageRepWithPasteboard: (NSPasteboard*)pasteboard;
+

+
+

imageRepWithContentsOfFile:

+ + (id) imageRepWithContentsOfFile: (NSString*)filename;
+

- -


-

imageRepsWithContentsOfFile:

-+ (NSArray*) imageRepsWithContentsOfFile: (NSString*)filename;
+

+
+

imageRepWithContentsOfURL:

+ + (id) imageRepWithContentsOfURL: (NSURL*)anURL;
+

- -


-

imageRepsWithPasteboard:

-+ (NSArray*) imageRepsWithPasteboard: (NSPasteboard*)pasteboard;
+

+
+

imageRepWithPasteboard:

+ + (id) imageRepWithPasteboard: (NSPasteboard*)pasteboard;
+

- -


-

imageUnfilteredFileTypes

-+ (NSArray*) imageUnfilteredFileTypes;
+

+
+

imageRepsWithContentsOfFile:

+ + (NSArray*) imageRepsWithContentsOfFile: (NSString*)filename;
+

- -


-

imageUnfilteredPasteboardTypes

-+ (NSArray*) imageUnfilteredPasteboardTypes;
+

+
+

imageRepsWithContentsOfURL:

+ + (NSArray*) imageRepsWithContentsOfURL: (NSURL*)anURL;
+

- -


-

registerImageRepClass:

-+ (void) registerImageRepClass: (Class)imageRepClass;
+

+
+

imageRepsWithPasteboard:

+ + (NSArray*) imageRepsWithPasteboard: (NSPasteboard*)pasteboard;
+

- -


-

registeredImageRepClasses

-+ (NSArray*) registeredImageRepClasses;
+

+
+

imageUnfilteredFileTypes

+ + (NSArray*) imageUnfilteredFileTypes;
+

- -


-

unregisterImageRepClass:

-+ (void) unregisterImageRepClass: (Class)imageRepClass;
+

+
+

imageUnfilteredPasteboardTypes

+ + (NSArray*) imageUnfilteredPasteboardTypes;
+

- -


-

Instances Methods

-

bitsPerSample

-- (int) bitsPerSample;
+

+
+

registerImageRepClass:

+ + (void) registerImageRepClass: (Class)imageRepClass;
+

- -


-

colorSpaceName

-- (NSString*) colorSpaceName;
+

+
+

registeredImageRepClasses

+ + (NSArray*) registeredImageRepClasses;
+

- -


-

draw

-- (BOOL) draw;
+

+
+

unregisterImageRepClass:

+ + (void) unregisterImageRepClass: (Class)imageRepClass;
+

- -


-

drawAtPoint:

-- (BOOL) drawAtPoint: (NSPoint)aPoint;
+

+
+

bitsPerSample

+ - (int) bitsPerSample;
+

- -


-

drawInRect:

-- (BOOL) drawInRect: (NSRect)rect;
+

+
+

colorSpaceName

+ - (NSString*) colorSpaceName;
+

- -


-

hasAlpha

-- (BOOL) hasAlpha;
+

+
+

draw

+ - (BOOL) draw;
+

- -


-

isOpaque

-- (BOOL) isOpaque;
+

+
+

drawAtPoint:

+ - (BOOL) drawAtPoint: (NSPoint)aPoint;
+

- -


-

pixelsHigh

-- (int) pixelsHigh;
+

+
+

drawInRect:

+ - (BOOL) drawInRect: (NSRect)aRect;
+

- -


-

pixelsWide

-- (int) pixelsWide;
+

+
+

hasAlpha

+ - (BOOL) hasAlpha;
+

- -


-

setAlpha:

-- (void) setAlpha: (BOOL)flag;
+

+
+

isOpaque

+ - (BOOL) isOpaque;
+

- -


-

setBitsPerSample:

-- (void) setBitsPerSample: (int)anInt;
+

+
+

pixelsHigh

+ - (int) pixelsHigh;
+

- -


-

setColorSpaceName:

-- (void) setColorSpaceName: (NSString*)string;
+

+
+

pixelsWide

+ - (int) pixelsWide;
+

- -


-

setOpaque:

-- (void) setOpaque: (BOOL)flag;
+

+
+

setAlpha:

+ - (void) setAlpha: (BOOL)flag;
+

- -


-

setPixelsHigh:

-- (void) setPixelsHigh: (int)anInt;
+

+
+

setBitsPerSample:

+ - (void) setBitsPerSample: (int)anInt;
+

- -


-

setPixelsWide:

-- (void) setPixelsWide: (int)anInt;
+

+
+

setColorSpaceName:

+ - (void) setColorSpaceName: (NSString*)aString;
+

- -


-

setSize:

-- (void) setSize: (NSSize)aSize;
+

+
+

setOpaque:

+ - (void) setOpaque: (BOOL)flag;
+

- -


-

size

-- (NSSize) size;
+

+
+

setPixelsHigh:

+ - (void) setPixelsHigh: (int)anInt;
+

- -


- - - +

+
+

setPixelsWide:

+ - (void) setPixelsWide: (int)anInt;
+

+ +

+
+

setSize:

+ - (void) setSize: (NSSize)aSize;
+

+ +

+
+

size

+ - (NSSize) size;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSImageView.gsdoc b/Documentation/gsdoc/NSImageView.gsdoc index 24038f4c8..73e417592 100644 --- a/Documentation/gsdoc/NSImageView.gsdoc +++ b/Documentation/gsdoc/NSImageView.gsdoc @@ -1,23 +1,29 @@ - - + + NSImageView - - - + + + ovidiu@net-community.com + - $Revision$ - $Date$ + + + jagapen@smithlab.chem.wisc.edu + + + 1996 Free Software Foundation, Inc. - NSImageView + + Software documentation for the NSImageView class + - Gui/NSImageView.h - NSCoding - - + AppKit/NSImageView.h + + image @@ -57,13 +63,13 @@ setImageAlignment: - alignment + align setImageFrameStyle: - frameStyle + style diff --git a/Documentation/gsdoc/NSImageView.html b/Documentation/gsdoc/NSImageView.html index 56b87df2a..46bc9918a 100644 --- a/Documentation/gsdoc/NSImageView.html +++ b/Documentation/gsdoc/NSImageView.html @@ -1,94 +1,90 @@ - - NSImageView - - -[Previous] -[Up] -[Next] -

NSImageView

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSImageView

-

NSImageView

-

Declared in: Gui/NSImageView.h

-

Inherits from: NSControl

-

Conforms to: NSCoding -

-
+ + + NSImageView + + +

NSImageView

+

Authors

+
+
Ovidiu Predescu( + ovidiu@net-community.com + )
+
+
+
Jonathan Gapen( + jagapen@smithlab.chem.wisc.edu + )
+
+
+
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSImageView class +

+

NSImageView : NSControl

+ Declared: AppKit/NSImageView.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

image

-- (NSImage*) image;
+

+

image

+ - (NSImage*) image;
+

- -


-

imageAlignment

-- (NSImageAlignment) imageAlignment;
+

+
+

imageAlignment

+ - (NSImageAlignment) imageAlignment;
+

- -


-

imageFrameStyle

-- (NSImageFrameStyle) imageFrameStyle;
+

+
+

imageFrameStyle

+ - (NSImageFrameStyle) imageFrameStyle;
+

- -


-

imageScaling

-- (NSImageScaling) imageScaling;
+

+
+

imageScaling

+ - (NSImageScaling) imageScaling;
+

- -


-

isEditable

-- (BOOL) isEditable;
+

+
+

isEditable

+ - (BOOL) isEditable;
+

- -


-

setEditable:

-- (void) setEditable: (BOOL)flag;
+

+
+

setEditable:

+ - (void) setEditable: (BOOL)flag;
+

- -


-

setImage:

-- (void) setImage: (NSImage*)image;
+

+
+

setImage:

+ - (void) setImage: (NSImage*)image;
+

- -


-

setImageAlignment:

-- (void) setImageAlignment: (NSImageAlignment)alignment;
+

+
+

setImageAlignment:

+ - (void) setImageAlignment: (NSImageAlignment)align;
+

- -


-

setImageFrameStyle:

-- (void) setImageFrameStyle: (NSImageFrameStyle)frameStyle;
+

+
+

setImageFrameStyle:

+ - (void) setImageFrameStyle: (NSImageFrameStyle)style;
+

- -


-

setImageScaling:

-- (void) setImageScaling: (NSImageScaling)scaling;
+

+
+

setImageScaling:

+ - (void) setImageScaling: (NSImageScaling)scaling;
+

- -


- - - +

+
+ + diff --git a/Documentation/gsdoc/NSInputManager.gsdoc b/Documentation/gsdoc/NSInputManager.gsdoc index f3fb5743b..089a160e3 100644 --- a/Documentation/gsdoc/NSInputManager.gsdoc +++ b/Documentation/gsdoc/NSInputManager.gsdoc @@ -1,31 +1,63 @@ - - + + NSInputManager - - - + + + FredKiefer@gmx.de + - $Revision$ - $Date$ + 2001 Free Software Foundation, Inc. - NSInputManager + + Software documentation for the NSInputManager class + - Gui/NSInputManager.h + AppKit/NSInputManager.h NSTextInput - - + + currentInputManager + + cycleToNextInputLanguage: + sender + + + + + cycleToNextInputServerInLanguage: + sender + + + + + handleMouseEvent: + theMouseEvent + + + + + image + + + initWithName: inputServerName + host: + hostName + + + + + language @@ -35,14 +67,31 @@ - markedTextSelectionChanged: - aRange + markedTextAbandoned: + client - markedTextWillBeAbandoned: - sender + markedTextSelectionChanged: + newSel + client: + client + + + + + server + + + + + wantsToDelayTextChangeNotifications + + + + + wantsToHandleMouseEvents @@ -53,5 +102,83 @@ + + + Software documentation for the NSTextInput protocol + + + AppKit/NSInputManager.h + + + + attributedSubstringFromRange: + theRange + + + + + characterIndexForPoint: + thePoint + + + + + conversationIdentifier + + + + + doCommandBySelector: + aSelector + + + + + firstRectForCharacterRange: + theRange + + + + + hasMarkedText + + + + + insertText: + aString + + + + + markedRange + + + + + selectedRange + + + + + setMarkedText: + aString + selectedRange: + selRange + + + + + unmarkText + + + + + validAttributesForMarkedText + + + + + diff --git a/Documentation/gsdoc/NSInputManager.html b/Documentation/gsdoc/NSInputManager.html index 3e082e6d1..d67f03d68 100644 --- a/Documentation/gsdoc/NSInputManager.html +++ b/Documentation/gsdoc/NSInputManager.html @@ -1,71 +1,190 @@ - - NSInputManager - - -[Previous] -[Up] -[Next] -

NSInputManager

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSInputManager

-

NSInputManager

-

Declared in: Gui/NSInputManager.h

-

Inherits from: NSObject

-

Conforms to: NSTextInput -

-
+ + + NSInputManager + + +

NSInputManager

+

Authors

+
+
Fred Kiefer( + FredKiefer@gmx.de + )
+
+
+
+

Copyright: (C) 2001 Free Software Foundation, Inc.

+

+ Software documentation for the NSInputManager class +

+

NSInputManager : NSObject

+ Declared: AppKit/NSInputManager.h
+ Conform: NSTextInput
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

currentInputManager

-+ (NSInputManager*) currentInputManager;
+

+

currentInputManager

+ + (NSInputManager*) currentInputManager;
+

- -


-

Instances Methods

-

initWithName:

-- (NSInputManager*) initWithName: (NSString*)inputServerName;
+

+
+

cycleToNextInputLanguage:

+ + (void) cycleToNextInputLanguage: (id)sender;
+

- -


-

localizedInputManagerName

-- (NSString*) localizedInputManagerName;
+

+
+

cycleToNextInputServerInLanguage:

+ + (void) cycleToNextInputServerInLanguage: (id)sender;
+

- -


-

markedTextSelectionChanged:

-- (void) markedTextSelectionChanged: (NSRange)aRange;
+

+
+

handleMouseEvent:

+ - (BOOL) handleMouseEvent: (NSEvent*)theMouseEvent;
+

- -


-

markedTextWillBeAbandoned:

-- (void) markedTextWillBeAbandoned: (id)sender;
+

+
+

image

+ - (NSImage*) image;
+

- -


-

wantsToInterpretAllKeystrokes

-- (BOOL) wantsToInterpretAllKeystrokes;
+

+
+

initWithName:host:

+ - (NSInputManager*) initWithName: (NSString*)inputServerName host: (NSString*)hostName;
+

- -


- - - +

+
+

language

+ - (NSString*) language;
+

+ +

+
+

localizedInputManagerName

+ - (NSString*) localizedInputManagerName;
+

+ +

+
+

markedTextAbandoned:

+ - (void) markedTextAbandoned: (id)client;
+

+ +

+
+

markedTextSelectionChanged:client:

+ - (void) markedTextSelectionChanged: (NSRange)newSel client: (id)client;
+

+ +

+
+

server

+ - (NSInputServer*) server;
+

+ +

+
+

wantsToDelayTextChangeNotifications

+ - (BOOL) wantsToDelayTextChangeNotifications;
+

+ +

+
+

wantsToHandleMouseEvents

+ - (BOOL) wantsToHandleMouseEvents;
+

+ +

+
+

wantsToInterpretAllKeystrokes

+ - (BOOL) wantsToInterpretAllKeystrokes;
+

+ +

+
+

+ Software documentation for the NSTextInput protocol +

+

NSTextInput

+ Declared: AppKit/NSInputManager.h
+

+ +

+

attributedSubstringFromRange:

+ - (NSAttributedString*) attributedSubstringFromRange: (NSRange)theRange;
+

+ +

+
+

characterIndexForPoint:

+ - (unsigned int) characterIndexForPoint: (NSPoint)thePoint;
+

+ +

+
+

conversationIdentifier

+ - (long) conversationIdentifier;
+

+ +

+
+

doCommandBySelector:

+ - (void) doCommandBySelector: (SEL)aSelector;
+

+ +

+
+

firstRectForCharacterRange:

+ - (NSRect) firstRectForCharacterRange: (NSRange)theRange;
+

+ +

+
+

hasMarkedText

+ - (BOOL) hasMarkedText;
+

+ +

+
+

insertText:

+ - (void) insertText: (id)aString;
+

+ +

+
+

markedRange

+ - (NSRange) markedRange;
+

+ +

+
+

selectedRange

+ - (NSRange) selectedRange;
+

+ +

+
+

setMarkedText:selectedRange:

+ - (void) setMarkedText: (id)aString selectedRange: (NSRange)selRange;
+

+ +

+
+

unmarkText

+ - (void) unmarkText;
+

+ +

+
+

validAttributesForMarkedText

+ - (NSArray*) validAttributesForMarkedText;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSInputServer.gsdoc b/Documentation/gsdoc/NSInputServer.gsdoc index 02b0582e7..8c186fbbb 100644 --- a/Documentation/gsdoc/NSInputServer.gsdoc +++ b/Documentation/gsdoc/NSInputServer.gsdoc @@ -1,30 +1,105 @@ - - + + NSInputServer - - - + + + FredKiefer@gmx.de + - $Revision$ - $Date$ + 2001 Free Software Foundation, Inc. - NSInputServer + + Software documentation for the NSInputServer class + - Gui/NSInputServer.h - NSObject + AppKit/NSInputServer.h + NSInputServerMouseTracker + NSInputServiceProvider + + + + initWithDelegate: + aDelegate + name: + name + + + + + + Software documentation for the + NSInputServerMouseTracker protocol + + + AppKit/NSInputServer.h + + + + mouseDownOnCharacterIndex: + index + atCoordinate: + point + withModifier: + flags + client: + sender + + + + + mouseDraggedOnCharacterIndex: + index + atCoordinate: + point + withModifier: + flags + client: + sender + + + + + mouseUpOnCharacterIndex: + index + atCoordinate: + point + withModifier: + flags + client: + sender + + + + + + + + Software documentation for the NSInputServiceProvider + protocol + + + AppKit/NSInputServer.h + + + + activeConversationChanged: + sender + toNewConversation: + newConversation + + + activeConversationWillChange: sender - oldConversation: - conv - newConversation: - new + fromOldConversation: + oldConversation @@ -34,72 +109,55 @@ - cancelInput: + doCommandBySelector: + aSelector + client: sender - conversation: - conv - doCommandBySelector: - aSelector - sender: + inputClientBecomeActive: sender - conversation: - conv - - + + inputClientDisabled: + sender + + + + + inputClientEnabled: + sender + + + + + inputClientResignActive: + sender insertText: - aString - sender: + aString + client: + sender + + + + + markedTextAbandoned: sender - conversation: - conv markedTextSelectionChanged: - aRange - sender: - sender - conversation: - conv - - - - - markedTextWillBeAbandoned: - sender - conversation: - conv - - - - - senderDidBecomeActive: - sender - - - - - senderDidResignActive: - sender - - - - - setActivated: - flag - sender: + newSelection + client: sender @@ -110,12 +168,22 @@ + + wantsToDelayTextChangeNotifications + + + + + wantsToHandleMouseEvents + + + wantsToInterpretAllKeystrokes -
+
diff --git a/Documentation/gsdoc/NSInputServer.html b/Documentation/gsdoc/NSInputServer.html index 04bcd14c1..6c085f9ce 100644 --- a/Documentation/gsdoc/NSInputServer.html +++ b/Documentation/gsdoc/NSInputServer.html @@ -1,112 +1,159 @@ - - NSInputServer - - -[Previous] -[Up] -[Next] -

NSInputServer

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSInputServer

-

NSInputServer

-

Declared in: Gui/NSInputServer.h

-

Inherits from: NSObject

-

Conforms to: NSObject -

-
+ + + NSInputServer + + +

NSInputServer

+

Authors

+
+
Fred Kiefer( + FredKiefer@gmx.de + )
+
+
+
+

Copyright: (C) 2001 Free Software Foundation, Inc.

+

+ Software documentation for the NSInputServer class +

+

NSInputServer : NSObject

+ Declared: AppKit/NSInputServer.h
+ Conform: NSInputServerMouseTracker
+ Conform: NSInputServiceProvider
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

activeConversationWillChange:oldConversation:newConversation:

-- (void) activeConversationWillChange: (id)sender oldConversation: (long)conv newConversation: (long)new;
+

+

initWithDelegate:name:

+ - (id) initWithDelegate: (id)aDelegate name: (NSString*)name;
+

- -


-

canBeDisabled

-- (BOOL) canBeDisabled;
+

+
+

+ Software documentation for the + NSInputServerMouseTracker protocol +

+

NSInputServerMouseTracker

+ Declared: AppKit/NSInputServer.h
+

- -


-

cancelInput:conversation:

-- (void) cancelInput: (id)sender conversation: (long)conv;
+

+

mouseDownOnCharacterIndex:atCoordinate:withModifier:client:

+ - (BOOL) mouseDownOnCharacterIndex: (unsigned)index atCoordinate: (NSPoint)point withModifier: (unsigned int)flags client: (id)sender;
+

- -


-

doCommandBySelector:sender:conversation:

-- (void) doCommandBySelector: (SEL)aSelector sender: (id)sender conversation: (long)conv;
+

+
+

mouseDraggedOnCharacterIndex:atCoordinate:withModifier:client:

+ - (BOOL) mouseDraggedOnCharacterIndex: (unsigned)index atCoordinate: (NSPoint)point withModifier: (unsigned int)flags client: (id)sender;
+

- -


-

-- (id) ;
+

+
+

mouseUpOnCharacterIndex:atCoordinate:withModifier:client:

+ - (void) mouseUpOnCharacterIndex: (unsigned)index atCoordinate: (NSPoint)point withModifier: (unsigned int)flags client: (id)sender;
+

- -


-

insertText:sender:conversation:

-- (void) insertText: (NSString*)aString sender: (id)sender conversation: (long)conv;
+

+
+

+ Software documentation for the NSInputServiceProvider + protocol +

+

NSInputServiceProvider

+ Declared: AppKit/NSInputServer.h
+

- -


-

markedTextSelectionChanged:sender:conversation:

-- (void) markedTextSelectionChanged: (NSRange)aRange sender: (id)sender conversation: (long)conv;
+

+

activeConversationChanged:toNewConversation:

+ - (void) activeConversationChanged: (id)sender toNewConversation: (long)newConversation;
+

- -


-

markedTextWillBeAbandoned:conversation:

-- (void) markedTextWillBeAbandoned: (id)sender conversation: (long)conv;
+

+
+

activeConversationWillChange:fromOldConversation:

+ - (void) activeConversationWillChange: (id)sender fromOldConversation: (long)oldConversation;
+

- -


-

senderDidBecomeActive:

-- (void) senderDidBecomeActive: (id)sender;
+

+
+

canBeDisabled

+ - (BOOL) canBeDisabled;
+

- -


-

senderDidResignActive:

-- (void) senderDidResignActive: (id)sender;
+

+
+

doCommandBySelector:client:

+ - (void) doCommandBySelector: (SEL)aSelector client: (id)sender;
+

- -


-

setActivated:sender:

-- (void) setActivated: (BOOL)flag sender: (id)sender;
+

+
+

inputClientBecomeActive:

+ - (void) inputClientBecomeActive: (id)sender;
+

- -


-

terminate:

-- (void) terminate: (id)sender;
+

+
+

inputClientDisabled:

+ - (void) inputClientDisabled: (id)sender;
+

- -


-

wantsToInterpretAllKeystrokes

-- (BOOL) wantsToInterpretAllKeystrokes;
+

+
+

inputClientEnabled:

+ - (void) inputClientEnabled: (id)sender;
+

- -


- - - +

+
+

inputClientResignActive:

+ - (void) inputClientResignActive: (id)sender;
+

+ +

+
+

insertText:client:

+ - (void) insertText: (id)aString client: (id)sender;
+

+ +

+
+

markedTextAbandoned:

+ - (void) markedTextAbandoned: (id)sender;
+

+ +

+
+

markedTextSelectionChanged:client:

+ - (void) markedTextSelectionChanged: (NSRange)newSelection client: (id)sender;
+

+ +

+
+

terminate:

+ - (void) terminate: (id)sender;
+

+ +

+
+

wantsToDelayTextChangeNotifications

+ - (BOOL) wantsToDelayTextChangeNotifications;
+

+ +

+
+

wantsToHandleMouseEvents

+ - (BOOL) wantsToHandleMouseEvents;
+

+ +

+
+

wantsToInterpretAllKeystrokes

+ - (BOOL) wantsToInterpretAllKeystrokes;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSLayoutManager.gsdoc b/Documentation/gsdoc/NSLayoutManager.gsdoc index f8a6e4db3..41afb9e25 100644 --- a/Documentation/gsdoc/NSLayoutManager.gsdoc +++ b/Documentation/gsdoc/NSLayoutManager.gsdoc @@ -1,26 +1,33 @@ - - + + NSLayoutManager - - - + + + jagapen@smithlab.chem.wisc.edu + - $Revision$ - $Date$ + + + mhanni@sprintmail.com + + + The text layout manager class + 1999 Free Software Foundation, Inc. - NSLayoutManager + + Software documentation for the NSLayoutManager class + - Gui/NSLayoutManager.h - NSObject - - + AppKit/NSLayoutManager.h + + addTextContainer: - aTextContainer + obj @@ -37,9 +44,9 @@ - + characterIndexForGlyphAtIndex: - glyphIndex + glyphIndex @@ -58,41 +65,13 @@ deleteGlyphsInRange: - glyphRange - - - - - drawBackgroundForGlyphRange: - glyphRange - - - - - drawGlyphsForGlyphRange: - glyphRange + aRange drawsOutsideLineFragmentForGlyphAtIndex: - glyphIndex - - - - - drawUnderlineForGlyphRange: - glyphRange - underlineType: - underlineType - baselineOffset: - baselineOffset - lineFragmentRect: - lineRect - lineFragmentGlyphRange: - lineGlyphRange - containerOrigin: - containerOrigin + glyphIndex @@ -111,58 +90,47 @@ - - firstTextView - - - - + firstUnlaidCharacterIndex - + firstUnlaidGlyphIndex - - fractionOfDistanceThroughGlyphForPoint: - aPoint - inTextContainer: - aTextContainer - - - getFirstUnlaidCharacterIndex: - charIndex + charIndex glyphIndex: - glyphIndex + glyphIndex - + getGlyphs: glyphArray + range: + glyphRange glyphAtIndex: - glyphIndex + index glyphAtIndex: - glyphIndex + index isValidIndex: flag - + glyphIndexForPoint: aPoint inTextContainer: @@ -170,7 +138,7 @@ - + glyphIndexForPoint: aPoint inTextContainer: @@ -192,7 +160,7 @@ glyphRangeForBoundingRectWithoutAdditionalLayout: bounds inTextContainer: - container + aTextContainer @@ -210,11 +178,6 @@ - - hyphenationFactor - - - init @@ -224,73 +187,63 @@ insertGlyph: aGlyph atGlyphIndex: - glyphIndex + glyphIndex characterIndex: - charIndex + charIndex insertTextContainer: aTextContainer + atIndex: + index intAttribute: - attributeTag + attribute forGlyphAtIndex: - glyphIndex + glyphIndex invalidateDisplayForCharacterRange: - charRange + aRange invalidateDisplayForGlyphRange: - glyphRange + aRange invalidateGlyphsForCharacterRange: - charRange + aRange changeInLength: lengthChange actualCharacterRange: - actualCharRange + actualRange invalidateLayoutForCharacterRange: - charRange + aRange isSoft: flag actualCharacterRange: - actualCharRange - - - - - isValidGlyphIndex: - glyphIndex - - - - - layoutManagerOwnsFirstResponderInWindow: - aWindow + actualRange lineFragmentRectForGlyphAtIndex: - glyphIndex + glyphIndex effectiveRange: lineFragmentRange @@ -298,7 +251,7 @@ lineFragmentUsedRectForGlyphAtIndex: - glyphIndex + glyphIndex effectiveRange: lineFragmentRange @@ -306,24 +259,24 @@ locationForGlyphAtIndex: - glyphIndex + glyphIndex notShownAttributeForGlyphAtIndex: - glyphIndex + glyphIndex - + numberOfGlyphs rangeOfNominallySpacedGlyphsContainingIndex: - glyphIndex + glyphIndex @@ -331,9 +284,11 @@ rectArrayForCharacterRange: charRange withinSelectedCharacterRange: - selCharRange + selChareRange inTextContainer: aTextContainer + rectCount: + rectCount @@ -341,21 +296,25 @@ rectArrayForGlyphRange: glyphRange withinSelectedGlyphRange: - selGlyphRange + selectedGlyphRange inTextContainer: aTextContainer + rectCount: + rectCount removeTextContainerAtIndex: - index + index replaceGlyphAtIndex: - glyphIndex + index + withGlyph: + newGlyph @@ -365,23 +324,11 @@ - - rulerAccessoryViewForTextView: - aTextView - paragraphStyle: - paraStyle - ruler: - aRulerView - enabled: - flag - - - - - rulerMarkersForTextView: - aTextView - paragraphStyle: - paraStyle + + setAttachmentSize: + attachmentSize + forGlyphRange: + glyphRange @@ -393,15 +340,15 @@ setCharacterIndex: - charIndex + charIndex forGlyphAtIndex: - glyphIndex + glyphIndex setDelegate: - anObject + aDelegate @@ -409,7 +356,7 @@ setDrawsOutsideLineFragment: flag forGlyphAtIndex: - glyphIndex + glyphIndex @@ -423,19 +370,13 @@ - - setHyphenationFactor: - factor - - - setIntAttribute: - attributeTag + attribute value: anInt forGlyphAtIndex: - glyphIndex + glyphIndex @@ -444,6 +385,8 @@ fragmentRect forGlyphRange: glyphRange + usedRect: + usedRect @@ -459,7 +402,7 @@ setNotShownAttribute: flag forGlyphAtIndex: - glyphIndex + glyphIndex @@ -478,12 +421,14 @@ setTextContainer: aTextContainer + forGlyphRange: + glyphRange setTextStorage: - textStorage + aTextStorage @@ -493,16 +438,6 @@ - - showAttachmentCell: - cell - inRect: - rect - characterIndex: - attachmentIndex; - - - showsControlCharacters @@ -521,21 +456,21 @@ textContainerChangedGeometry: - aTextContainer + aContainer textContainerChangedTextView: - aTextContainer + aContainer textContainerForGlyphAtIndex: - glyphIndex + glyphIndex effectiveRange: - effectiveGlyphRange + effectiveRange @@ -553,13 +488,124 @@ textStorage: aTextStorage edited: - mask + mask range: range changeInLength: lengthChange invalidatedRange: - invalidatedCharRange + invalidatedRange + + + + + usedRectForTextContainer: + container + + + + + usesScreenFonts + + + + + + + + Software documentation for the + NSLayoutManager(NSTextViewSupport) + category + + + AppKit/NSLayoutManager.h + + + + _charIndexForInsertionPointMovingFromY: + position + bestX: + wanted + up: + upFlag + textContainer: + tc + + + + + drawBackgroundForGlyphRange: + glyphsToShow + atPoint: + origin + + + + + drawGlyphsForGlyphRange: + glyphsToShow + atPoint: + origin + + + + + drawUnderlineForGlyphRange: + glyphRange + underlineType: + underlineVal + baselineOffset: + baselineOffset + lineFragmentRect: + lineRect + lineFragmentGlyphRange: + lineGlyphRange + containerOrigin: + containerOrigin + + + + + firstTextView + + + + + hyphenationFactor + + + + + layoutManagerOwnsFirstResponderInWindow: + window + + + + + rulerAccessoryViewForTextView: + view + paragraphStyle: + style + ruler: + ruler + enabled: + isEnabled + + + + + rulerMarkersForTextView: + view + paragraphStyle: + style + ruler: + ruler + + + + + setHyphenationFactor: + factor @@ -572,7 +618,7 @@ underlineGlyphRange: glyphRange underlineType: - underlineType + underlineVal lineFragmentRect: lineRect lineFragmentGlyphRange: @@ -582,32 +628,35 @@ - - usedRectForTextContainer: - aTextContainer - - - - - usesScreenFonts - - - + + + + + Software documentation for the + NSObject(NSLayoutManagerDelegate) + category + + + AppKit/NSLayoutManager.h + + layoutManager: - aLayoutManager + layoutManager didCompleteLayoutForTextContainer: - aTextContainer + textContainer + atEnd: + layoutFinishedFlag layoutManagerDidInvalidateLayout: - aLayoutManager + sender -
+
diff --git a/Documentation/gsdoc/NSLayoutManager.html b/Documentation/gsdoc/NSLayoutManager.html index 4cc9e1d9d..ecc407bc4 100644 --- a/Documentation/gsdoc/NSLayoutManager.html +++ b/Documentation/gsdoc/NSLayoutManager.html @@ -1,532 +1,544 @@ - - NSLayoutManager - - -[Previous] -[Up] -[Next] -

NSLayoutManager

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSLayoutManager

-

NSLayoutManager

-

Declared in: Gui/NSLayoutManager.h

-

Inherits from: NSObject

-

Conforms to: NSObject -

-
- - -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

addTextContainer:

-- (void) addTextContainer: (NSTextContainer*)aTextContainer;
- - -
-

backgroundLayoutEnabled

-- (BOOL) backgroundLayoutEnabled;
- - -
-

boundingRectForGlyphRange:inTextContainer:

-- (NSRect) boundingRectForGlyphRange: (NSRange)glyphRange inTextContainer: (NSTextContainer*)aTextContainer;
- - -
-

characterIndexForGlyphAtIndex:

-- (unsigned int) characterIndexForGlyphAtIndex: (unsigned int)glyphIndex;
- - -
-

characterRangeForGlyphRange:actualGlyphRange:

-- (NSRange) characterRangeForGlyphRange: (NSRange)glyphRange actualGlyphRange: (NSRange*)actualGlyphRange;
- - -
-

delegate

-- (id) delegate;
- - -
-

deleteGlyphsInRange:

-- (void) deleteGlyphsInRange: (NSRange)glyphRange;
- - -
-

drawBackgroundForGlyphRange:

-- (void) drawBackgroundForGlyphRange: (NSRange)glyphRange;
- - -
-

drawGlyphsForGlyphRange:

-- (void) drawGlyphsForGlyphRange: (NSRange)glyphRange;
- - -
-

drawsOutsideLineFragmentForGlyphAtIndex:

-- (BOOL) drawsOutsideLineFragmentForGlyphAtIndex: (unsigned int)glyphIndex;
- - -
-

drawUnderlineForGlyphRange:underlineType:baselineOffset:lineFragmentRect:lineFragmentGlyphRange:containerOrigin:

-- (void) drawUnderlineForGlyphRange: (NSRange)glyphRange underlineType: (int)underlineType baselineOffset: (float)baselineOffset lineFragmentRect: (NSRect)lineRect lineFragmentGlyphRange: (NSRange)lineGlyphRange containerOrigin: (NSPoint)containerOrigin;
- - -
-

extraLineFragmentRect

-- (NSRect) extraLineFragmentRect;
- - -
-

extraLineFragmentTextContainer

-- (NSTextContainer*) extraLineFragmentTextContainer;
- - -
-

extraLineFragmentUsedRect

-- (NSRect) extraLineFragmentUsedRect;
- - -
-

firstTextView

-- (NSTextView*) firstTextView;
- - -
-

firstUnlaidCharacterIndex

-- (unsigned int) firstUnlaidCharacterIndex;
- - -
-

firstUnlaidGlyphIndex

-- (unsigned int) firstUnlaidGlyphIndex;
- - -
-

fractionOfDistanceThroughGlyphForPoint:inTextContainer:

-- (float) fractionOfDistanceThroughGlyphForPoint: (NSPoint)aPoint inTextContainer: (NSTextContainer*)aTextContainer;
- - -
-

getFirstUnlaidCharacterIndex:glyphIndex:

-- (void) getFirstUnlaidCharacterIndex: (unsigned int*)charIndex glyphIndex: (unsigned int*)glyphIndex;
- - -
-

getGlyphs:

-- (unsigned int) getGlyphs: (NSGlyph*)glyphArray;
- - -
-

glyphAtIndex:

-- (NSGlyph) glyphAtIndex: (unsigned int)glyphIndex;
- - -
-

glyphAtIndex:isValidIndex:

-- (NSGlyph) glyphAtIndex: (unsigned int)glyphIndex isValidIndex: (BOOL*)flag;
- - -
-

glyphIndexForPoint:inTextContainer:

-- (unsigned int) glyphIndexForPoint: (NSPoint)aPoint inTextContainer: (NSTextContainer*)aTextContainer;
- - -
-

glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:

-- (unsigned int) glyphIndexForPoint: (NSPoint)aPoint inTextContainer: (NSTextContainer*)aTextContainer fractionOfDistanceThroughGlyph: (float*)partialFraction;
- - -
-

glyphRangeForBoundingRect:inTextContainer:

-- (NSRange) glyphRangeForBoundingRect: (NSRect)aRect inTextContainer: (NSTextContainer*)aTextContainer;
- - -
-

glyphRangeForBoundingRectWithoutAdditionalLayout:inTextContainer:

-- (NSRange) glyphRangeForBoundingRectWithoutAdditionalLayout: (NSRect)bounds inTextContainer: (NSTextContainer*)container;
- - -
-

glyphRangeForCharacterRange:actualCharacterRange:

-- (NSRange) glyphRangeForCharacterRange: (NSRange)charRange actualCharacterRange: (NSRange*)actualCharRange;
- - -
-

glyphRangeForTextContainer:

-- (NSRange) glyphRangeForTextContainer: (NSTextContainer*)aTextContainer;
- - -
-

hyphenationFactor

-- (float) hyphenationFactor;
- - -
-

init

-- (id) init;
- - -
-

insertGlyph:atGlyphIndex:characterIndex:

-- (void) insertGlyph: (NSGlyph)aGlyph atGlyphIndex: (unsigned int)glyphIndex characterIndex: (unsigned int)charIndex;
- - -
-

insertTextContainer:

-- (void) insertTextContainer: (NSTextContainer*)aTextContainer;
- - -
-

intAttribute:forGlyphAtIndex:

-- (int) intAttribute: (int)attributeTag forGlyphAtIndex: (unsigned int)glyphIndex;
- - -
-

invalidateDisplayForCharacterRange:

-- (void) invalidateDisplayForCharacterRange: (NSRange)charRange;
- - -
-

invalidateDisplayForGlyphRange:

-- (void) invalidateDisplayForGlyphRange: (NSRange)glyphRange;
- - -
-

invalidateGlyphsForCharacterRange:changeInLength:actualCharacterRange:

-- (void) invalidateGlyphsForCharacterRange: (NSRange)charRange changeInLength: (int)lengthChange actualCharacterRange: (NSRange*)actualCharRange;
- - -
-

invalidateLayoutForCharacterRange:isSoft:actualCharacterRange:

-- (void) invalidateLayoutForCharacterRange: (NSRange)charRange isSoft: (BOOL)flag actualCharacterRange: (NSRange*)actualCharRange;
- - -
-

isValidGlyphIndex:

-- (BOOL) isValidGlyphIndex: (unsigned int)glyphIndex;
- - -
-

layoutManagerOwnsFirstResponderInWindow:

-- (BOOL) layoutManagerOwnsFirstResponderInWindow: (NSWindow*)aWindow;
- - -
-

lineFragmentRectForGlyphAtIndex:effectiveRange:

-- (NSRect) lineFragmentRectForGlyphAtIndex: (unsigned int)glyphIndex effectiveRange: (NSRange*)lineFragmentRange;
- - -
-

lineFragmentUsedRectForGlyphAtIndex:effectiveRange:

-- (NSRect) lineFragmentUsedRectForGlyphAtIndex: (unsigned int)glyphIndex effectiveRange: (NSRange*)lineFragmentRange;
- - -
-

locationForGlyphAtIndex:

-- (NSPoint) locationForGlyphAtIndex: (unsigned int)glyphIndex;
- - -
-

notShownAttributeForGlyphAtIndex:

-- (BOOL) notShownAttributeForGlyphAtIndex: (unsigned int)glyphIndex;
- - -
-

numberOfGlyphs

-- (unsigned int) numberOfGlyphs;
- - -
-

rangeOfNominallySpacedGlyphsContainingIndex:

-- (NSRange) rangeOfNominallySpacedGlyphsContainingIndex: (unsigned int)glyphIndex;
- - -
-

rectArrayForCharacterRange:withinSelectedCharacterRange:inTextContainer:

-- (NSRect*) rectArrayForCharacterRange: (NSRange)charRange withinSelectedCharacterRange: (NSRange)selCharRange inTextContainer: (NSTextContainer*)aTextContainer;
- - -
-

rectArrayForGlyphRange:withinSelectedGlyphRange:inTextContainer:

-- (NSRect*) rectArrayForGlyphRange: (NSRange)glyphRange withinSelectedGlyphRange: (NSRange)selGlyphRange inTextContainer: (NSTextContainer*)aTextContainer;
- - -
-

removeTextContainerAtIndex:

-- (void) removeTextContainerAtIndex: (unsigned int)index;
- - -
-

replaceGlyphAtIndex:

-- (void) replaceGlyphAtIndex: (unsigned int)glyphIndex;
- - -
-

replaceTextStorage:

-- (void) replaceTextStorage: (NSTextStorage*)newTextStorage;
- - -
-

rulerAccessoryViewForTextView:paragraphStyle:ruler:enabled:

-- (NSView*) rulerAccessoryViewForTextView: (NSTextView*)aTextView paragraphStyle: (NSParagraphStyle*)paraStyle ruler: (NSRulerView *)aRulerView enabled: (BOOL)flag;
- - -
-

rulerMarkersForTextView:paragraphStyle:

-- (NSArray*) rulerMarkersForTextView: (NSTextView*)aTextView paragraphStyle: (NSParagraphStyle*)paraStyle;
- - -
-

setBackgroundLayoutEnabled:

-- (void) setBackgroundLayoutEnabled: (BOOL)flag;
- - -
-

setCharacterIndex:forGlyphAtIndex:

-- (void) setCharacterIndex: (unsigned int)charIndex forGlyphAtIndex: (unsigned int)glyphIndex;
- - -
-

setDelegate:

-- (void) setDelegate: (id)anObject;
- - -
-

setDrawsOutsideLineFragment:forGlyphAtIndex:

-- (void) setDrawsOutsideLineFragment: (BOOL)flag forGlyphAtIndex: (unsigned int)glyphIndex;
- - -
-

setExtraLineFragmentRect:usedRect:textContainer:

-- (void) setExtraLineFragmentRect: (NSRect)aRect usedRect: (NSRect)usedRect textContainer: (NSTextContainer*)aTextContainer;
- - -
-

setHyphenationFactor:

-- (void) setHyphenationFactor: (float)factor;
- - -
-

setIntAttribute:value:forGlyphAtIndex:

-- (void) setIntAttribute: (int)attributeTag value: (int)anInt forGlyphAtIndex: (unsigned int)glyphIndex;
- - -
-

setLineFragmentRect:forGlyphRange:

-- (void) setLineFragmentRect: (NSRect)fragmentRect forGlyphRange: (NSRange)glyphRange;
- - -
-

setLocation:forStartOfGlyphRange:

-- (void) setLocation: (NSPoint)aPoint forStartOfGlyphRange: (NSRange)glyphRange;
- - -
-

setNotShownAttribute:forGlyphAtIndex:

-- (void) setNotShownAttribute: (BOOL)flag forGlyphAtIndex: (unsigned int)glyphIndex;
- - -
-

setShowsControlCharacters:

-- (void) setShowsControlCharacters: (BOOL)flag;
- - -
-

setShowsInvisibleCharacters:

-- (void) setShowsInvisibleCharacters: (BOOL)flag;
- - -
-

setTextContainer:

-- (void) setTextContainer: (NSTextContainer*)aTextContainer;
- - -
-

setTextStorage:

-- (void) setTextStorage: (NSTextStorage*)textStorage;
- - -
-

setUsesScreenFonts:

-- (void) setUsesScreenFonts: (BOOL)flag;
- - -
-

showAttachmentCell:inRect:characterIndex:

-- (void) showAttachmentCell: (NSCell*)cell inRect: (NSRect)rect characterIndex: (unsigned int)attachmentIndex;;
- - -
-

showsControlCharacters

-- (BOOL) showsControlCharacters;
- - -
-

showsInvisibleCharacters

-- (BOOL) showsInvisibleCharacters;
- - -
-

substituteFontForFont:

-- (NSFont*) substituteFontForFont: (NSFont*)originalFont;
- - -
-

textContainerChangedGeometry:

-- (void) textContainerChangedGeometry: (NSTextContainer*)aTextContainer;
- - -
-

textContainerChangedTextView:

-- (void) textContainerChangedTextView: (NSTextContainer*)aTextContainer;
- - -
-

textContainerForGlyphAtIndex:effectiveRange:

-- (NSTextContainer*) textContainerForGlyphAtIndex: (unsigned int)glyphIndex effectiveRange: (NSRange*)effectiveGlyphRange;
- - -
-

textContainers

-- (NSArray*) textContainers;
- - -
-

textStorage

-- (NSTextStorage*) textStorage;
- - -
-

textStorage:edited:range:changeInLength:invalidatedRange:

-- (void) textStorage: (NSTextStorage*)aTextStorage edited: (unsigned int)mask range: (NSRange)range changeInLength: (int)lengthChange invalidatedRange: (NSRange)invalidatedCharRange;
- - -
-

textViewForBeginningOfSelection

-- (NSTextView*) textViewForBeginningOfSelection;
- - -
-

underlineGlyphRange:underlineType:lineFragmentRect:lineFragmentGlyphRange:containerOrigin:

-- (void) underlineGlyphRange: (NSRange)glyphRange underlineType: (int)underlineType lineFragmentRect: (NSRect)lineRect lineFragmentGlyphRange: (NSRange)lineGlyphRange containerOrigin: (NSPoint)containerOrigin;
- - -
-

usedRectForTextContainer:

-- (NSRect) usedRectForTextContainer: (NSTextContainer*)aTextContainer;
- - -
-

usesScreenFonts

-- (BOOL) usesScreenFonts;
- - -
-

layoutManager:didCompleteLayoutForTextContainer:

-- (void) layoutManager: (NSLayoutManager*)aLayoutManager didCompleteLayoutForTextContainer: (NSTextContainer*)aTextContainer;
- - -
-

layoutManagerDidInvalidateLayout:

-- (void) layoutManagerDidInvalidateLayout: (NSLayoutManager*)aLayoutManager;
- - -
- - - + + + NSLayoutManager + + +

NSLayoutManager

+

Authors

+
+
Jonathan Gapen( + jagapen@smithlab.chem.wisc.edu + )
+
+
+
Michael Hanni( + mhanni@sprintmail.com + )
+
+
+
+
+The text layout manager class
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSLayoutManager class +

+

NSLayoutManager : NSObject

+ Declared: AppKit/NSLayoutManager.h
+

+ +

+

addTextContainer:

+ - (void) addTextContainer: (NSTextContainer*)obj;
+

+ +

+
+

backgroundLayoutEnabled

+ - (BOOL) backgroundLayoutEnabled;
+

+ +

+
+

boundingRectForGlyphRange:inTextContainer:

+ - (NSRect) boundingRectForGlyphRange: (NSRange)glyphRange inTextContainer: (NSTextContainer*)aTextContainer;
+

+ +

+
+

characterIndexForGlyphAtIndex:

+ - (unsigned) characterIndexForGlyphAtIndex: (unsigned)glyphIndex;
+

+ +

+
+

characterRangeForGlyphRange:actualGlyphRange:

+ - (NSRange) characterRangeForGlyphRange: (NSRange)glyphRange actualGlyphRange: (NSRange*)actualGlyphRange;
+

+ +

+
+

delegate

+ - (id) delegate;
+

+ +

+
+

deleteGlyphsInRange:

+ - (void) deleteGlyphsInRange: (NSRange)aRange;
+

+ +

+
+

drawsOutsideLineFragmentForGlyphAtIndex:

+ - (BOOL) drawsOutsideLineFragmentForGlyphAtIndex: (unsigned)glyphIndex;
+

+ +

+
+

extraLineFragmentRect

+ - (NSRect) extraLineFragmentRect;
+

+ +

+
+

extraLineFragmentTextContainer

+ - (NSTextContainer*) extraLineFragmentTextContainer;
+

+ +

+
+

extraLineFragmentUsedRect

+ - (NSRect) extraLineFragmentUsedRect;
+

+ +

+
+

firstUnlaidCharacterIndex

+ - (unsigned) firstUnlaidCharacterIndex;
+

+ +

+
+

firstUnlaidGlyphIndex

+ - (unsigned) firstUnlaidGlyphIndex;
+

+ +

+
+

getFirstUnlaidCharacterIndex:glyphIndex:

+ - (void) getFirstUnlaidCharacterIndex: (unsigned*)charIndex glyphIndex: (unsigned*)glyphIndex;
+

+ +

+
+

getGlyphs:range:

+ - (unsigned) getGlyphs: (NSGlyph*)glyphArray range: (NSRange)glyphRange;
+

+ +

+
+

glyphAtIndex:

+ - (NSGlyph) glyphAtIndex: (unsigned)index;
+

+ +

+
+

glyphAtIndex:isValidIndex:

+ - (NSGlyph) glyphAtIndex: (unsigned)index isValidIndex: (BOOL*)flag;
+

+ +

+
+

glyphIndexForPoint:inTextContainer:

+ - (unsigned) glyphIndexForPoint: (NSPoint)aPoint inTextContainer: (NSTextContainer*)aTextContainer;
+

+ +

+
+

glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:

+ - (unsigned) glyphIndexForPoint: (NSPoint)aPoint inTextContainer: (NSTextContainer*)aTextContainer fractionOfDistanceThroughGlyph: (float*)partialFraction;
+

+ +

+
+

glyphRangeForBoundingRect:inTextContainer:

+ - (NSRange) glyphRangeForBoundingRect: (NSRect)aRect inTextContainer: (NSTextContainer*)aTextContainer;
+

+ +

+
+

glyphRangeForBoundingRectWithoutAdditionalLayout:inTextContainer:

+ - (NSRange) glyphRangeForBoundingRectWithoutAdditionalLayout: (NSRect)bounds inTextContainer: (NSTextContainer*)aTextContainer;
+

+ +

+
+

glyphRangeForCharacterRange:actualCharacterRange:

+ - (NSRange) glyphRangeForCharacterRange: (NSRange)charRange actualCharacterRange: (NSRange*)actualCharRange;
+

+ +

+
+

glyphRangeForTextContainer:

+ - (NSRange) glyphRangeForTextContainer: (NSTextContainer*)aTextContainer;
+

+ +

+
+

init

+ - (id) init;
+

+ +

+
+

insertGlyph:atGlyphIndex:characterIndex:

+ - (void) insertGlyph: (NSGlyph)aGlyph atGlyphIndex: (unsigned)glyphIndex characterIndex: (unsigned)charIndex;
+

+ +

+
+

insertTextContainer:atIndex:

+ - (void) insertTextContainer: (NSTextContainer*)aTextContainer atIndex: (unsigned)index;
+

+ +

+
+

intAttribute:forGlyphAtIndex:

+ - (int) intAttribute: (int)attribute forGlyphAtIndex: (unsigned)glyphIndex;
+

+ +

+
+

invalidateDisplayForCharacterRange:

+ - (void) invalidateDisplayForCharacterRange: (NSRange)aRange;
+

+ +

+
+

invalidateDisplayForGlyphRange:

+ - (void) invalidateDisplayForGlyphRange: (NSRange)aRange;
+

+ +

+
+

invalidateGlyphsForCharacterRange:changeInLength:actualCharacterRange:

+ - (void) invalidateGlyphsForCharacterRange: (NSRange)aRange changeInLength: (int)lengthChange actualCharacterRange: (NSRange*)actualRange;
+

+ +

+
+

invalidateLayoutForCharacterRange:isSoft:actualCharacterRange:

+ - (void) invalidateLayoutForCharacterRange: (NSRange)aRange isSoft: (BOOL)flag actualCharacterRange: (NSRange*)actualRange;
+

+ +

+
+

lineFragmentRectForGlyphAtIndex:effectiveRange:

+ - (NSRect) lineFragmentRectForGlyphAtIndex: (unsigned)glyphIndex effectiveRange: (NSRange*)lineFragmentRange;
+

+ +

+
+

lineFragmentUsedRectForGlyphAtIndex:effectiveRange:

+ - (NSRect) lineFragmentUsedRectForGlyphAtIndex: (unsigned)glyphIndex effectiveRange: (NSRange*)lineFragmentRange;
+

+ +

+
+

locationForGlyphAtIndex:

+ - (NSPoint) locationForGlyphAtIndex: (unsigned)glyphIndex;
+

+ +

+
+

notShownAttributeForGlyphAtIndex:

+ - (BOOL) notShownAttributeForGlyphAtIndex: (unsigned)glyphIndex;
+

+ +

+
+

numberOfGlyphs

+ - (unsigned) numberOfGlyphs;
+

+ +

+
+

rangeOfNominallySpacedGlyphsContainingIndex:

+ - (NSRange) rangeOfNominallySpacedGlyphsContainingIndex: (unsigned)glyphIndex;
+

+ +

+
+

rectArrayForCharacterRange:withinSelectedCharacterRange:inTextContainer:rectCount:

+ - (NSRect*) rectArrayForCharacterRange: (NSRange)charRange withinSelectedCharacterRange: (NSRange)selChareRange inTextContainer: (NSTextContainer*)aTextContainer rectCount: (unsigned*)rectCount;
+

+ +

+
+

rectArrayForGlyphRange:withinSelectedGlyphRange:inTextContainer:rectCount:

+ - (NSRect*) rectArrayForGlyphRange: (NSRange)glyphRange withinSelectedGlyphRange: (NSRange)selectedGlyphRange inTextContainer: (NSTextContainer*)aTextContainer rectCount: (unsigned*)rectCount;
+

+ +

+
+

removeTextContainerAtIndex:

+ - (void) removeTextContainerAtIndex: (unsigned)index;
+

+ +

+
+

replaceGlyphAtIndex:withGlyph:

+ - (void) replaceGlyphAtIndex: (unsigned)index withGlyph: (NSGlyph)newGlyph;
+

+ +

+
+

replaceTextStorage:

+ - (void) replaceTextStorage: (NSTextStorage*)newTextStorage;
+

+ +

+
+

setAttachmentSize:forGlyphRange:

+ - (void) setAttachmentSize: (NSSize)attachmentSize forGlyphRange: (NSRange)glyphRange;
+

+ +

+
+

setBackgroundLayoutEnabled:

+ - (void) setBackgroundLayoutEnabled: (BOOL)flag;
+

+ +

+
+

setCharacterIndex:forGlyphAtIndex:

+ - (void) setCharacterIndex: (unsigned)charIndex forGlyphAtIndex: (unsigned)glyphIndex;
+

+ +

+
+

setDelegate:

+ - (void) setDelegate: (id)aDelegate;
+

+ +

+
+

setDrawsOutsideLineFragment:forGlyphAtIndex:

+ - (void) setDrawsOutsideLineFragment: (BOOL)flag forGlyphAtIndex: (unsigned)glyphIndex;
+

+ +

+
+

setExtraLineFragmentRect:usedRect:textContainer:

+ - (void) setExtraLineFragmentRect: (NSRect)aRect usedRect: (NSRect)usedRect textContainer: (NSTextContainer*)aTextContainer;
+

+ +

+
+

setIntAttribute:value:forGlyphAtIndex:

+ - (void) setIntAttribute: (int)attribute value: (int)anInt forGlyphAtIndex: (unsigned)glyphIndex;
+

+ +

+
+

setLineFragmentRect:forGlyphRange:usedRect:

+ - (void) setLineFragmentRect: (NSRect)fragmentRect forGlyphRange: (NSRange)glyphRange usedRect: (NSRect)usedRect;
+

+ +

+
+

setLocation:forStartOfGlyphRange:

+ - (void) setLocation: (NSPoint)aPoint forStartOfGlyphRange: (NSRange)glyphRange;
+

+ +

+
+

setNotShownAttribute:forGlyphAtIndex:

+ - (void) setNotShownAttribute: (BOOL)flag forGlyphAtIndex: (unsigned)glyphIndex;
+

+ +

+
+

setShowsControlCharacters:

+ - (void) setShowsControlCharacters: (BOOL)flag;
+

+ +

+
+

setShowsInvisibleCharacters:

+ - (void) setShowsInvisibleCharacters: (BOOL)flag;
+

+ +

+
+

setTextContainer:forGlyphRange:

+ - (void) setTextContainer: (NSTextContainer*)aTextContainer forGlyphRange: (NSRange)glyphRange;
+

+ +

+
+

setTextStorage:

+ - (void) setTextStorage: (NSTextStorage*)aTextStorage;
+

+ +

+
+

setUsesScreenFonts:

+ - (void) setUsesScreenFonts: (BOOL)flag;
+

+ +

+
+

showsControlCharacters

+ - (BOOL) showsControlCharacters;
+

+ +

+
+

showsInvisibleCharacters

+ - (BOOL) showsInvisibleCharacters;
+

+ +

+
+

substituteFontForFont:

+ - (NSFont*) substituteFontForFont: (NSFont*)originalFont;
+

+ +

+
+

textContainerChangedGeometry:

+ - (void) textContainerChangedGeometry: (NSTextContainer*)aContainer;
+

+ +

+
+

textContainerChangedTextView:

+ - (void) textContainerChangedTextView: (NSTextContainer*)aContainer;
+

+ +

+
+

textContainerForGlyphAtIndex:effectiveRange:

+ - (NSTextContainer*) textContainerForGlyphAtIndex: (unsigned)glyphIndex effectiveRange: (NSRange*)effectiveRange;
+

+ +

+
+

textContainers

+ - (NSArray*) textContainers;
+

+ +

+
+

textStorage

+ - (NSTextStorage*) textStorage;
+

+ +

+
+

textStorage:edited:range:changeInLength:invalidatedRange:

+ - (void) textStorage: (NSTextStorage*)aTextStorage edited: (unsigned)mask range: (NSRange)range changeInLength: (int)lengthChange invalidatedRange: (NSRange)invalidatedRange;
+

+ +

+
+

usedRectForTextContainer:

+ - (NSRect) usedRectForTextContainer: (NSTextContainer*)container;
+

+ +

+
+

usesScreenFonts

+ - (BOOL) usesScreenFonts;
+

+ +

+
+

+ Software documentation for the + NSLayoutManager(NSTextViewSupport) + category +

+

NSLayoutManager(NSTextViewSupport)

+ Declared: AppKit/NSLayoutManager.h
+

+ +

+

_charIndexForInsertionPointMovingFromY:bestX:up:textContainer:

+ - (unsigned) _charIndexForInsertionPointMovingFromY: (float)position bestX: (float)wanted up: (BOOL)upFlag textContainer: (NSTextContainer*)tc;
+

+ +

+
+

drawBackgroundForGlyphRange:atPoint:

+ - (void) drawBackgroundForGlyphRange: (NSRange)glyphsToShow atPoint: (NSPoint)origin;
+

+ +

+
+

drawGlyphsForGlyphRange:atPoint:

+ - (void) drawGlyphsForGlyphRange: (NSRange)glyphsToShow atPoint: (NSPoint)origin;
+

+ +

+
+

drawUnderlineForGlyphRange:underlineType:baselineOffset:lineFragmentRect:lineFragmentGlyphRange:containerOrigin:

+ - (void) drawUnderlineForGlyphRange: (NSRange)glyphRange underlineType: (int)underlineVal baselineOffset: (float)baselineOffset lineFragmentRect: (NSRect)lineRect lineFragmentGlyphRange: (NSRange)lineGlyphRange containerOrigin: (NSPoint)containerOrigin;
+

+ +

+
+

firstTextView

+ - (NSTextView*) firstTextView;
+

+ +

+
+

hyphenationFactor

+ - (float) hyphenationFactor;
+

+ +

+
+

layoutManagerOwnsFirstResponderInWindow:

+ - (BOOL) layoutManagerOwnsFirstResponderInWindow: (NSWindow*)window;
+

+ +

+
+

rulerAccessoryViewForTextView:paragraphStyle:ruler:enabled:

+ - (NSView*) rulerAccessoryViewForTextView: (NSTextView*)view paragraphStyle: (NSParagraphStyle*)style ruler: (NSRulerView*)ruler enabled: (BOOL)isEnabled;
+

+ +

+
+

rulerMarkersForTextView:paragraphStyle:ruler:

+ - (NSArray*) rulerMarkersForTextView: (NSTextView*)view paragraphStyle: (NSParagraphStyle*)style ruler: (NSRulerView*)ruler;
+

+ +

+
+

setHyphenationFactor:

+ - (void) setHyphenationFactor: (float)factor;
+

+ +

+
+

textViewForBeginningOfSelection

+ - (NSTextView*) textViewForBeginningOfSelection;
+

+ +

+
+

underlineGlyphRange:underlineType:lineFragmentRect:lineFragmentGlyphRange:containerOrigin:

+ - (void) underlineGlyphRange: (NSRange)glyphRange underlineType: (int)underlineVal lineFragmentRect: (NSRect)lineRect lineFragmentGlyphRange: (NSRange)lineGlyphRange containerOrigin: (NSPoint)containerOrigin;
+

+ +

+
+

+ Software documentation for the + NSObject(NSLayoutManagerDelegate) + category +

+

NSObject(NSLayoutManagerDelegate)

+ Declared: AppKit/NSLayoutManager.h
+

+ +

+

layoutManager:didCompleteLayoutForTextContainer:atEnd:

+ - (void) layoutManager: (NSLayoutManager*)layoutManager didCompleteLayoutForTextContainer: (NSTextContainer*)textContainer atEnd: (BOOL)layoutFinishedFlag;
+

+ +

+
+

layoutManagerDidInvalidateLayout:

+ - (void) layoutManagerDidInvalidateLayout: (NSLayoutManager*)sender;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSMatrix.gsdoc b/Documentation/gsdoc/NSMatrix.gsdoc index 0522de1d4..5291e835b 100644 --- a/Documentation/gsdoc/NSMatrix.gsdoc +++ b/Documentation/gsdoc/NSMatrix.gsdoc @@ -1,29 +1,48 @@ - - + + NSMatrix - - - + + + ovidiu@net-community.com + - $Revision$ - $Date$ + Matrix class for grouping controls + 1996, 1997, 1999 Free Software Foundation, Inc. - NSMatrix + + Software documentation for the NSMatrix class + - Gui/NSMatrix.h + AppKit/NSMatrix.h NSCoding + + + + cellClass + + + setCellClass: + classId + + + acceptsFirstMouse: theEvent + + action + + + addColumn @@ -31,7 +50,7 @@ addColumnWithCells: - newCells + cellArray @@ -42,7 +61,7 @@ addRowWithCells: - newCells + cellArray @@ -113,6 +132,11 @@ + + deselectSelectedCell + + + doubleAction @@ -144,6 +168,8 @@ getNumberOfRows: rowCount + columns: + columnCount @@ -152,6 +178,18 @@ row column: column + forPoint: + point + + + + + getRow: + row + column: + column + ofCell: + aCell @@ -177,11 +215,11 @@ mode: aMode cellClass: - factoryId + class numberOfRows: - numRows + rowsHigh numberOfColumns: - numColumns + colsWide @@ -191,11 +229,11 @@ mode: aMode prototype: - aCell + prototype numberOfRows: - numRows + rowsHigh numberOfColumns: - numColumns + colsWide @@ -209,7 +247,7 @@ insertColumn: column withCells: - newCells + cellArray @@ -223,7 +261,7 @@ insertRow: row withCells: - newCells + cellArray @@ -314,7 +352,7 @@ removeColumn: - column + col @@ -326,7 +364,9 @@ renewRows: - newRows + r + columns: + c @@ -417,9 +457,15 @@ + + setAction: + sel + + + setAllowsEmptySelection: - flag + f @@ -437,37 +483,37 @@ setBackgroundColor: - aColor + c setCellBackgroundColor: - aColor + c setCellClass: - aClass + class setCellSize: - aSize + size setDelegate: - anObject + object setDoubleAction: - aSelector + sel @@ -479,19 +525,19 @@ setDrawsCellBackground: - flag + f setErrorAction: - aSelector + sel setIntercellSpacing: - aSize + size @@ -544,6 +590,8 @@ endPos anchor: anchorPos + highlight: + flag @@ -576,7 +624,7 @@ sortUsingFunction: - comparator + comparator context: context @@ -595,19 +643,19 @@ textDidBeginEditing: - notification + aNotification textDidChange: - notification + aNotification textDidEndEditing: - notification + aNotification @@ -619,7 +667,7 @@ textShouldEndEditing: - textObject + aTextObject diff --git a/Documentation/gsdoc/NSMatrix.html b/Documentation/gsdoc/NSMatrix.html index fd78ec280..6af085cc8 100644 --- a/Documentation/gsdoc/NSMatrix.html +++ b/Documentation/gsdoc/NSMatrix.html @@ -1,616 +1,646 @@ - - NSMatrix - - -[Previous] -[Up] -[Next] -

NSMatrix

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSMatrix

-

NSMatrix

-

Declared in: Gui/NSMatrix.h

-

Inherits from: NSControl

-

Conforms to: NSCoding -

-
- - -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

acceptsFirstMouse:

-- (BOOL) acceptsFirstMouse: (NSEvent*)theEvent;
- - -
-

addColumn

-- (void) addColumn;
- - -
-

addColumnWithCells:

-- (void) addColumnWithCells: (NSArray*)newCells;
- - -
-

addRow

-- (void) addRow;
- - -
-

addRowWithCells:

-- (void) addRowWithCells: (NSArray*)newCells;
- - -
-

allowsEmptySelection

-- (BOOL) allowsEmptySelection;
- - -
-

autosizesCells

-- (BOOL) autosizesCells;
- - -
-

backgroundColor

-- (NSColor*) backgroundColor;
- - -
-

cellAtRow:column:

-- (id) cellAtRow: (int)row column: (int)column;
- - -
-

cellBackgroundColor

-- (NSColor*) cellBackgroundColor;
- - -
-

cellClass

-- (Class) cellClass;
- - -
-

cellFrameAtRow:column:

-- (NSRect) cellFrameAtRow: (int)row column: (int)column;
- - -
-

cellSize

-- (NSSize) cellSize;
- - -
-

cellWithTag:

-- (id) cellWithTag: (int)anInt;
- - -
-

cells

-- (NSArray*) cells;
- - -
-

delegate

-- (id) delegate;
- - -
-

deselectAllCells

-- (void) deselectAllCells;
- - -
-

doubleAction

-- (SEL) doubleAction;
- - -
-

drawCellAtRow:column:

-- (void) drawCellAtRow: (int)row column: (int)column;
- - -
-

drawsBackground

-- (BOOL) drawsBackground;
- - -
-

drawsCellBackground

-- (BOOL) drawsCellBackground;
- - -
-

errorAction

-- (SEL) errorAction;
- - -
-

getNumberOfRows:

-- (void) getNumberOfRows: (int*)rowCount;
- - -
-

getRow:column:

-- (BOOL) getRow: (int*)row column: (int*)column;
- - -
-

highlightCell:atRow:column:

-- (void) highlightCell: (BOOL)flag atRow: (int)row column: (int)column;
- - -
-

initWithFrame:

-- (id) initWithFrame: (NSRect)frameRect;
- - -
-

initWithFrame:mode:cellClass:numberOfRows:numberOfColumns:

-- (id) initWithFrame: (NSRect)frameRect mode: (int)aMode cellClass: (Class)factoryId numberOfRows: (int)numRows numberOfColumns: (int)numColumns;
- - -
-

initWithFrame:mode:prototype:numberOfRows:numberOfColumns:

-- (id) initWithFrame: (NSRect)frameRect mode: (int)aMode prototype: (NSCell*)aCell numberOfRows: (int)numRows numberOfColumns: (int)numColumns;
- - -
-

insertColumn:

-- (void) insertColumn: (int)column;
- - -
-

insertColumn:withCells:

-- (void) insertColumn: (int)column withCells: (NSArray*)newCells;
- - -
-

insertRow:

-- (void) insertRow: (int)row;
- - -
-

insertRow:withCells:

-- (void) insertRow: (int)row withCells: (NSArray*)newCells;
- - -
-

intercellSpacing

-- (NSSize) intercellSpacing;
- - -
-

isAutoscroll

-- (BOOL) isAutoscroll;
- - -
-

isSelectionByRect

-- (BOOL) isSelectionByRect;
- - -
-

keyCell

-- (id) keyCell;
- - -
-

makeCellAtRow:column:

-- (NSCell*) makeCellAtRow: (int)row column: (int)column;
- - -
-

mode

-- (NSMatrixMode) mode;
- - -
-

mouseDown:

-- (void) mouseDown: (NSEvent*)theEvent;
- - -
-

mouseDownFlags

-- (int) mouseDownFlags;
- - -
-

nextText

-- (id) nextText;
- - -
-

numberOfColumns

-- (int) numberOfColumns;
- - -
-

numberOfRows

-- (int) numberOfRows;
- - -
-

performKeyEquivalent:

-- (BOOL) performKeyEquivalent: (NSEvent*)theEvent;
- - -
-

previousText

-- (id) previousText;
- - -
-

prototype

-- (id) prototype;
- - -
-

putCell:atRow:column:

-- (void) putCell: (NSCell*)newCell atRow: (int)row column: (int)column;
- - -
-

removeColumn:

-- (void) removeColumn: (int)column;
- - -
-

removeRow:

-- (void) removeRow: (int)row;
- - -
-

renewRows:

-- (void) renewRows: (int)newRows;
- - -
-

resetCursorRects

-- (void) resetCursorRects;
- - -
-

scrollCellToVisibleAtRow:column:

-- (void) scrollCellToVisibleAtRow: (int)row column: (int)column;
- - -
-

selectAll:

-- (void) selectAll: (id)sender;
- - -
-

selectCellAtRow:column:

-- (void) selectCellAtRow: (int)row column: (int)column;
- - -
-

selectCellWithTag:

-- (BOOL) selectCellWithTag: (int)anInt;
- - -
-

selectText:

-- (void) selectText: (id)sender;
- - -
-

selectTextAtRow:column:

-- (id) selectTextAtRow: (int)row column: (int)column;
- - -
-

selectedCell

-- (id) selectedCell;
- - -
-

selectedCells

-- (NSArray*) selectedCells;
- - -
-

selectedColumn

-- (int) selectedColumn;
- - -
-

selectedRow

-- (int) selectedRow;
- - -
-

sendAction

-- (BOOL) sendAction;
- - -
-

sendAction:to:forAllCells:

-- (void) sendAction: (SEL)aSelector to: (id)anObject forAllCells: (BOOL)flag;
- - -
-

sendDoubleAction

-- (void) sendDoubleAction;
- - -
-

setAllowsEmptySelection:

-- (void) setAllowsEmptySelection: (BOOL)flag;
- - -
-

setAutoscroll:

-- (void) setAutoscroll: (BOOL)flag;
- - -
-

setAutosizesCells:

-- (void) setAutosizesCells: (BOOL)flag;
- - -
-

setBackgroundColor:

-- (void) setBackgroundColor: (NSColor*)aColor;
- - -
-

setCellBackgroundColor:

-- (void) setCellBackgroundColor: (NSColor*)aColor;
- - -
-

setCellClass:

-- (void) setCellClass: (Class)aClass;
- - -
-

setCellSize:

-- (void) setCellSize: (NSSize)aSize;
- - -
-

setDelegate:

-- (void) setDelegate: (id)anObject;
- - -
-

setDoubleAction:

-- (void) setDoubleAction: (SEL)aSelector;
- - -
-

setDrawsBackground:

-- (void) setDrawsBackground: (BOOL)flag;
- - -
-

setDrawsCellBackground:

-- (void) setDrawsCellBackground: (BOOL)flag;
- - -
-

setErrorAction:

-- (void) setErrorAction: (SEL)aSelector;
- - -
-

setIntercellSpacing:

-- (void) setIntercellSpacing: (NSSize)aSize;
- - -
-

setKeyCell:

-- (void) setKeyCell: (NSCell*)aCell;
- - -
-

setMode:

-- (void) setMode: (NSMatrixMode)aMode;
- - -
-

setNextText:

-- (void) setNextText: (id)anObject;
- - -
-

setPreviousText:

-- (void) setPreviousText: (id)anObject;
- - -
-

setPrototype:

-- (void) setPrototype: (NSCell*)aCell;
- - -
-

setScrollable:

-- (void) setScrollable: (BOOL)flag;
- - -
-

setSelectionByRect:

-- (void) setSelectionByRect: (BOOL)flag;
- - -
-

setSelectionFrom:to:anchor:

-- (void) setSelectionFrom: (int)startPos to: (int)endPos anchor: (int)anchorPos;
- - -
-

setState:atRow:column:

-- (void) setState: (int)value atRow: (int)row column: (int)column;
- - -
-

setTabKeyTraversesCells:

-- (void) setTabKeyTraversesCells: (BOOL)flag;
- - -
-

setValidateSize:

-- (void) setValidateSize: (BOOL)flag;
- - -
-

sizeToCells

-- (void) sizeToCells;
- - -
-

sortUsingFunction:context:

-- (void) sortUsingFunction: (int(*)(id,id,void*))comparator context: (void*)context;
- - -
-

sortUsingSelector:

-- (void) sortUsingSelector: (SEL)comparator;
- - -
-

tabKeyTraversesCells

-- (BOOL) tabKeyTraversesCells;
- - -
-

textDidBeginEditing:

-- (void) textDidBeginEditing: (NSNotification*)notification;
- - -
-

textDidChange:

-- (void) textDidChange: (NSNotification*)notification;
- - -
-

textDidEndEditing:

-- (void) textDidEndEditing: (NSNotification*)notification;
- - -
-

textShouldBeginEditing:

-- (BOOL) textShouldBeginEditing: (NSText*)textObject;
- - -
-

textShouldEndEditing:

-- (BOOL) textShouldEndEditing: (NSText*)textObject;
- - -
- - - + + + NSMatrix + + +

NSMatrix

+

Authors

+
+
Ovidiu Predescu( + ovidiu@net-community.com + )
+
+
+
+
+Matrix class for grouping controls
+

Copyright: (C) 1996, 1997, 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSMatrix class +

+

NSMatrix : NSControl

+ Declared: AppKit/NSMatrix.h
+ Conform: NSCoding
+

+ +

+

cellClass

+ + (Class) cellClass;
+

+ +

+
+

setCellClass:

+ + (void) setCellClass: (Class)classId;
+

+ +

+
+

acceptsFirstMouse:

+ - (BOOL) acceptsFirstMouse: (NSEvent*)theEvent;
+

+ +

+
+

action

+ - (SEL) action;
+

+ +

+
+

addColumn

+ - (void) addColumn;
+

+ +

+
+

addColumnWithCells:

+ - (void) addColumnWithCells: (NSArray*)cellArray;
+

+ +

+
+

addRow

+ - (void) addRow;
+

+ +

+
+

addRowWithCells:

+ - (void) addRowWithCells: (NSArray*)cellArray;
+

+ +

+
+

allowsEmptySelection

+ - (BOOL) allowsEmptySelection;
+

+ +

+
+

autosizesCells

+ - (BOOL) autosizesCells;
+

+ +

+
+

backgroundColor

+ - (NSColor*) backgroundColor;
+

+ +

+
+

cellAtRow:column:

+ - (id) cellAtRow: (int)row column: (int)column;
+

+ +

+
+

cellBackgroundColor

+ - (NSColor*) cellBackgroundColor;
+

+ +

+
+

cellClass

+ - (Class) cellClass;
+

+ +

+
+

cellFrameAtRow:column:

+ - (NSRect) cellFrameAtRow: (int)row column: (int)column;
+

+ +

+
+

cellSize

+ - (NSSize) cellSize;
+

+ +

+
+

cellWithTag:

+ - (id) cellWithTag: (int)anInt;
+

+ +

+
+

cells

+ - (NSArray*) cells;
+

+ +

+
+

delegate

+ - (id) delegate;
+

+ +

+
+

deselectAllCells

+ - (void) deselectAllCells;
+

+ +

+
+

deselectSelectedCell

+ - (void) deselectSelectedCell;
+

+ +

+
+

doubleAction

+ - (SEL) doubleAction;
+

+ +

+
+

drawCellAtRow:column:

+ - (void) drawCellAtRow: (int)row column: (int)column;
+

+ +

+
+

drawsBackground

+ - (BOOL) drawsBackground;
+

+ +

+
+

drawsCellBackground

+ - (BOOL) drawsCellBackground;
+

+ +

+
+

errorAction

+ - (SEL) errorAction;
+

+ +

+
+

getNumberOfRows:columns:

+ - (void) getNumberOfRows: (int*)rowCount columns: (int*)columnCount;
+

+ +

+
+

getRow:column:forPoint:

+ - (BOOL) getRow: (int*)row column: (int*)column forPoint: (NSPoint)point;
+

+ +

+
+

getRow:column:ofCell:

+ - (BOOL) getRow: (int*)row column: (int*)column ofCell: (NSCell*)aCell;
+

+ +

+
+

highlightCell:atRow:column:

+ - (void) highlightCell: (BOOL)flag atRow: (int)row column: (int)column;
+

+ +

+
+

initWithFrame:

+ - (id) initWithFrame: (NSRect)frameRect;
+

+ +

+
+

initWithFrame:mode:cellClass:numberOfRows:numberOfColumns:

+ - (id) initWithFrame: (NSRect)frameRect mode: (int)aMode cellClass: (Class)class numberOfRows: (int)rowsHigh numberOfColumns: (int)colsWide;
+

+ +

+
+

initWithFrame:mode:prototype:numberOfRows:numberOfColumns:

+ - (id) initWithFrame: (NSRect)frameRect mode: (int)aMode prototype: (NSCell*)prototype numberOfRows: (int)rowsHigh numberOfColumns: (int)colsWide;
+

+ +

+
+

insertColumn:

+ - (void) insertColumn: (int)column;
+

+ +

+
+

insertColumn:withCells:

+ - (void) insertColumn: (int)column withCells: (NSArray*)cellArray;
+

+ +

+
+

insertRow:

+ - (void) insertRow: (int)row;
+

+ +

+
+

insertRow:withCells:

+ - (void) insertRow: (int)row withCells: (NSArray*)cellArray;
+

+ +

+
+

intercellSpacing

+ - (NSSize) intercellSpacing;
+

+ +

+
+

isAutoscroll

+ - (BOOL) isAutoscroll;
+

+ +

+
+

isSelectionByRect

+ - (BOOL) isSelectionByRect;
+

+ +

+
+

keyCell

+ - (id) keyCell;
+

+ +

+
+

makeCellAtRow:column:

+ - (NSCell*) makeCellAtRow: (int)row column: (int)column;
+

+ +

+
+

mode

+ - (NSMatrixMode) mode;
+

+ +

+
+

mouseDown:

+ - (void) mouseDown: (NSEvent*)theEvent;
+

+ +

+
+

mouseDownFlags

+ - (int) mouseDownFlags;
+

+ +

+
+

nextText

+ - (id) nextText;
+

+ +

+
+

numberOfColumns

+ - (int) numberOfColumns;
+

+ +

+
+

numberOfRows

+ - (int) numberOfRows;
+

+ +

+
+

performKeyEquivalent:

+ - (BOOL) performKeyEquivalent: (NSEvent*)theEvent;
+

+ +

+
+

previousText

+ - (id) previousText;
+

+ +

+
+

prototype

+ - (id) prototype;
+

+ +

+
+

putCell:atRow:column:

+ - (void) putCell: (NSCell*)newCell atRow: (int)row column: (int)column;
+

+ +

+
+

removeColumn:

+ - (void) removeColumn: (int)col;
+

+ +

+
+

removeRow:

+ - (void) removeRow: (int)row;
+

+ +

+
+

renewRows:columns:

+ - (void) renewRows: (int)r columns: (int)c;
+

+ +

+
+

resetCursorRects

+ - (void) resetCursorRects;
+

+ +

+
+

scrollCellToVisibleAtRow:column:

+ - (void) scrollCellToVisibleAtRow: (int)row column: (int)column;
+

+ +

+
+

selectAll:

+ - (void) selectAll: (id)sender;
+

+ +

+
+

selectCellAtRow:column:

+ - (void) selectCellAtRow: (int)row column: (int)column;
+

+ +

+
+

selectCellWithTag:

+ - (BOOL) selectCellWithTag: (int)anInt;
+

+ +

+
+

selectText:

+ - (void) selectText: (id)sender;
+

+ +

+
+

selectTextAtRow:column:

+ - (id) selectTextAtRow: (int)row column: (int)column;
+

+ +

+
+

selectedCell

+ - (id) selectedCell;
+

+ +

+
+

selectedCells

+ - (NSArray*) selectedCells;
+

+ +

+
+

selectedColumn

+ - (int) selectedColumn;
+

+ +

+
+

selectedRow

+ - (int) selectedRow;
+

+ +

+
+

sendAction

+ - (BOOL) sendAction;
+

+ +

+
+

sendAction:to:forAllCells:

+ - (void) sendAction: (SEL)aSelector to: (id)anObject forAllCells: (BOOL)flag;
+

+ +

+
+

sendDoubleAction

+ - (void) sendDoubleAction;
+

+ +

+
+

setAction:

+ - (void) setAction: (SEL)sel;
+

+ +

+
+

setAllowsEmptySelection:

+ - (void) setAllowsEmptySelection: (BOOL)f;
+

+ +

+
+

setAutoscroll:

+ - (void) setAutoscroll: (BOOL)flag;
+

+ +

+
+

setAutosizesCells:

+ - (void) setAutosizesCells: (BOOL)flag;
+

+ +

+
+

setBackgroundColor:

+ - (void) setBackgroundColor: (NSColor*)c;
+

+ +

+
+

setCellBackgroundColor:

+ - (void) setCellBackgroundColor: (NSColor*)c;
+

+ +

+
+

setCellClass:

+ - (void) setCellClass: (Class)class;
+

+ +

+
+

setCellSize:

+ - (void) setCellSize: (NSSize)size;
+

+ +

+
+

setDelegate:

+ - (void) setDelegate: (id)object;
+

+ +

+
+

setDoubleAction:

+ - (void) setDoubleAction: (SEL)sel;
+

+ +

+
+

setDrawsBackground:

+ - (void) setDrawsBackground: (BOOL)flag;
+

+ +

+
+

setDrawsCellBackground:

+ - (void) setDrawsCellBackground: (BOOL)f;
+

+ +

+
+

setErrorAction:

+ - (void) setErrorAction: (SEL)sel;
+

+ +

+
+

setIntercellSpacing:

+ - (void) setIntercellSpacing: (NSSize)size;
+

+ +

+
+

setKeyCell:

+ - (void) setKeyCell: (NSCell*)aCell;
+

+ +

+
+

setMode:

+ - (void) setMode: (NSMatrixMode)aMode;
+

+ +

+
+

setNextText:

+ - (void) setNextText: (id)anObject;
+

+ +

+
+

setPreviousText:

+ - (void) setPreviousText: (id)anObject;
+

+ +

+
+

setPrototype:

+ - (void) setPrototype: (NSCell*)aCell;
+

+ +

+
+

setScrollable:

+ - (void) setScrollable: (BOOL)flag;
+

+ +

+
+

setSelectionByRect:

+ - (void) setSelectionByRect: (BOOL)flag;
+

+ +

+
+

setSelectionFrom:to:anchor:highlight:

+ - (void) setSelectionFrom: (int)startPos to: (int)endPos anchor: (int)anchorPos highlight: (BOOL)flag;
+

+ +

+
+

setState:atRow:column:

+ - (void) setState: (int)value atRow: (int)row column: (int)column;
+

+ +

+
+

setTabKeyTraversesCells:

+ - (void) setTabKeyTraversesCells: (BOOL)flag;
+

+ +

+
+

setValidateSize:

+ - (void) setValidateSize: (BOOL)flag;
+

+ +

+
+

sizeToCells

+ - (void) sizeToCells;
+

+ +

+
+

sortUsingFunction:context:

+ - (void) sortUsingFunction: (int (*)(id element1,id element2,void*userData))comparator context: (void*)context;
+

+ +

+
+

sortUsingSelector:

+ - (void) sortUsingSelector: (SEL)comparator;
+

+ +

+
+

tabKeyTraversesCells

+ - (BOOL) tabKeyTraversesCells;
+

+ +

+
+

textDidBeginEditing:

+ - (void) textDidBeginEditing: (NSNotification*)aNotification;
+

+ +

+
+

textDidChange:

+ - (void) textDidChange: (NSNotification*)aNotification;
+

+ +

+
+

textDidEndEditing:

+ - (void) textDidEndEditing: (NSNotification*)aNotification;
+

+ +

+
+

textShouldBeginEditing:

+ - (BOOL) textShouldBeginEditing: (NSText*)textObject;
+

+ +

+
+

textShouldEndEditing:

+ - (BOOL) textShouldEndEditing: (NSText*)aTextObject;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSMenu.gsdoc b/Documentation/gsdoc/NSMenu.gsdoc index 008d9e760..84e9c6538 100644 --- a/Documentation/gsdoc/NSMenu.gsdoc +++ b/Documentation/gsdoc/NSMenu.gsdoc @@ -1,28 +1,61 @@ - - + + NSMenu - - - + + + FredKiefer@gmx.de + - $Revision$ - $Date$ + + + khelekir@encomix.es + + + + + mhanni@sprintmail.com + + + + + far@ix.netcom.com + + + + + ovidiu@net-community.com + + + 1999 Free Software Foundation, Inc. - NSMenu + + Software documentation for the NSMenu class + - Gui/NSMenu.h + AppKit/NSMenu.h NSCoding - - + NSCopying + + menuZone + + popUpContextMenu: + menu + withEvent: + event + forView: + view + + + setMenuZone: zone @@ -55,11 +88,6 @@ - - contextMenuRepresentation - - - helpRequested: event @@ -113,6 +141,8 @@ insertItem: newItem + atIndex: + index @@ -122,7 +152,9 @@ action: aSelector keyEquivalent: - keyEquiv + charCode + atIndex: + index @@ -216,12 +248,6 @@ - - setContextMenuRepresentation: - menuRep - - - setMenuChangedMessagesEnabled: flag @@ -248,15 +274,9 @@ - - setTearOffMenuRepresentation: - menuRep - - - setTitle: - aString + aTitle @@ -276,11 +296,6 @@ - - tearOffMenuRepresentation - - - title @@ -293,5 +308,102 @@ + + + Software documentation for the NSMenu(GNUstepExtra) + category + + + AppKit/NSMenu.h + + + + _ownedByPopUp + + + + + _rightMouseDisplay: + theEvent + + + + + _setOwnedByPopUp: + popUp + + + + + close + + + + + closeTransient + + + + + display + + + + + displayTransient + + + + + isFollowTransient + + + + + isPartlyOffScreen + + + + + nestedCheckOffScreen + + + + + nestedSetFrameOrigin: + aPoint + + + + + shiftOnScreen + + + + + window + + + + + + + + Software documentation for the + NSObject(NSMenuActionResponder) + category + + + AppKit/NSMenu.h + + + + validateMenuItem: + aMenuItem + + + + + diff --git a/Documentation/gsdoc/NSMenu.html b/Documentation/gsdoc/NSMenu.html index 3c6dab8f5..bc3e59f20 100644 --- a/Documentation/gsdoc/NSMenu.html +++ b/Documentation/gsdoc/NSMenu.html @@ -1,311 +1,408 @@ - - NSMenu - - -[Previous] -[Up] -[Next] -

NSMenu

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSMenu

-

NSMenu

-

Declared in: Gui/NSMenu.h

-

Inherits from: NSObject

-

Conforms to: NSCoding -

-
+ + + NSMenu + + +

NSMenu

+

Authors

+
+
Fred Kiefer( + FredKiefer@gmx.de + )
+
+
+
David Lazaro Saz( + khelekir@encomix.es + )
+
+
+
Michael Hanni( + mhanni@sprintmail.com + )
+
+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
Ovidiu Predescu( + ovidiu@net-community.com + )
+
+
+
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSMenu class +

+

NSMenu : NSObject

+ Declared: AppKit/NSMenu.h
+ Conform: NSCoding
+ Conform: NSCopying
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

menuZone

-+ (NSZone*) menuZone;
+

+

menuZone

+ + (NSZone*) menuZone;
+

- -


-

setMenuZone:

-+ (void) setMenuZone: (NSZone*)zone;
+

+
+

popUpContextMenu:withEvent:forView:

+ + (void) popUpContextMenu: (NSMenu*)menu withEvent: (NSEvent*)event forView: (NSView*)view;
+

- -


-

Instances Methods

-

addItem:

-- (void) addItem: (id<NSMenuItem>)newItem;
+

+
+

setMenuZone:

+ + (void) setMenuZone: (NSZone*)zone;
+

- -


-

addItemWithTitle:action:keyEquivalent:

-- (id<NSMenuItem>) addItemWithTitle: (NSString*)aString action: (SEL)aSelector keyEquivalent: (NSString*)keyEquiv;
+

+
+

addItem:

+ - (void) addItem: (id)newItem;
+

- -


-

attachedMenu

-- (NSMenu*) attachedMenu;
+

+
+

addItemWithTitle:action:keyEquivalent:

+ - (id) addItemWithTitle: (NSString*)aString action: (SEL)aSelector keyEquivalent: (NSString*)keyEquiv;
+

- -


-

autoenablesItems

-- (BOOL) autoenablesItems;
+

+
+

attachedMenu

+ - (NSMenu*) attachedMenu;
+

- -


-

contextMenuRepresentation

-- (id) contextMenuRepresentation;
+

+
+

autoenablesItems

+ - (BOOL) autoenablesItems;
+

- -


-

helpRequested:

-- (void) helpRequested: (NSEvent*)event;
+

+
+

helpRequested:

+ - (void) helpRequested: (NSEvent*)event;
+

- -


-

indexOfItem:

-- (int) indexOfItem: (id<NSMenuItem>)anObject;
+

+
+

indexOfItem:

+ - (int) indexOfItem: (id)anObject;
+

- -


-

indexOfItemWithRepresentedObject:

-- (int) indexOfItemWithRepresentedObject: (id)anObject;
+

+
+

indexOfItemWithRepresentedObject:

+ - (int) indexOfItemWithRepresentedObject: (id)anObject;
+

- -


-

indexOfItemWithSubmenu:

-- (int) indexOfItemWithSubmenu: (NSMenu*)anObject;
+

+
+

indexOfItemWithSubmenu:

+ - (int) indexOfItemWithSubmenu: (NSMenu*)anObject;
+

- -


-

indexOfItemWithTag:

-- (int) indexOfItemWithTag: (int)aTag;
+

+
+

indexOfItemWithTag:

+ - (int) indexOfItemWithTag: (int)aTag;
+

- -


-

indexOfItemWithTarget:andAction:

-- (int) indexOfItemWithTarget: (id)anObject andAction: (SEL)actionSelector;
+

+
+

indexOfItemWithTarget:andAction:

+ - (int) indexOfItemWithTarget: (id)anObject andAction: (SEL)actionSelector;
+

- -


-

indexOfItemWithTitle:

-- (int) indexOfItemWithTitle: (NSString*)aTitle;
+

+
+

indexOfItemWithTitle:

+ - (int) indexOfItemWithTitle: (NSString*)aTitle;
+

- -


-

initWithTitle:

-- (id) initWithTitle: (NSString*)aTitle;
+

+
+

initWithTitle:

+ - (id) initWithTitle: (NSString*)aTitle;
+

- -


-

insertItem:

-- (void) insertItem: (id<NSMenuItem>)newItem;
+

+
+

insertItem:atIndex:

+ - (void) insertItem: (id)newItem atIndex: (int)index;
+

- -


-

insertItemWithTitle:action:keyEquivalent:

-- (id<NSMenuItem>) insertItemWithTitle: (NSString*)aString action: (SEL)aSelector keyEquivalent: (NSString*)keyEquiv;
+

+
+

insertItemWithTitle:action:keyEquivalent:atIndex:

+ - (id) insertItemWithTitle: (NSString*)aString action: (SEL)aSelector keyEquivalent: (NSString*)charCode atIndex: (unsigned int)index;
+

- -


-

isAttached

-- (BOOL) isAttached;
+

+
+

isAttached

+ - (BOOL) isAttached;
+

- -


-

isTornOff

-- (BOOL) isTornOff;
+

+
+

isTornOff

+ - (BOOL) isTornOff;
+

- -


-

itemArray

-- (NSArray*) itemArray;
+

+
+

itemArray

+ - (NSArray*) itemArray;
+

- -


-

itemAtIndex:

-- (id<NSMenuItem>) itemAtIndex: (int)index;
+

+
+

itemAtIndex:

+ - (id) itemAtIndex: (int)index;
+

- -


-

itemChanged:

-- (void) itemChanged: (id<NSMenuItem>)anObject;
+

+
+

itemChanged:

+ - (void) itemChanged: (id)anObject;
+

- -


-

itemWithTag:

-- (id<NSMenuItem>) itemWithTag: (int)aTag;
+

+
+

itemWithTag:

+ - (id) itemWithTag: (int)aTag;
+

- -


-

itemWithTitle:

-- (id<NSMenuItem>) itemWithTitle: (NSString*)aString;
+

+
+

itemWithTitle:

+ - (id) itemWithTitle: (NSString*)aString;
+

- -


-

locationForSubmenu:

-- (NSPoint) locationForSubmenu: (NSMenu*)aSubmenu;
+

+
+

locationForSubmenu:

+ - (NSPoint) locationForSubmenu: (NSMenu*)aSubmenu;
+

- -


-

menuChangedMessagesEnabled

-- (BOOL) menuChangedMessagesEnabled;
+

+
+

menuChangedMessagesEnabled

+ - (BOOL) menuChangedMessagesEnabled;
+

- -


-

menuRepresentation

-- (id) menuRepresentation;
+

+
+

menuRepresentation

+ - (id) menuRepresentation;
+

- -


-

numberOfItems

-- (int) numberOfItems;
+

+
+

numberOfItems

+ - (int) numberOfItems;
+

- -


-

performActionForItemAtIndex:

-- (void) performActionForItemAtIndex: (int)index;
+

+
+

performActionForItemAtIndex:

+ - (void) performActionForItemAtIndex: (int)index;
+

- -


-

performKeyEquivalent:

-- (BOOL) performKeyEquivalent: (NSEvent*)theEvent;
+

+
+

performKeyEquivalent:

+ - (BOOL) performKeyEquivalent: (NSEvent*)theEvent;
+

- -


-

removeItem:

-- (void) removeItem: (id<NSMenuItem>)anItem;
+

+
+

removeItem:

+ - (void) removeItem: (id)anItem;
+

- -


-

removeItemAtIndex:

-- (void) removeItemAtIndex: (int)index;
+

+
+

removeItemAtIndex:

+ - (void) removeItemAtIndex: (int)index;
+

- -


-

setAutoenablesItems:

-- (void) setAutoenablesItems: (BOOL)flag;
+

+
+

setAutoenablesItems:

+ - (void) setAutoenablesItems: (BOOL)flag;
+

- -


-

setContextMenuRepresentation:

-- (void) setContextMenuRepresentation: (id)menuRep;
+

+
+

setMenuChangedMessagesEnabled:

+ - (void) setMenuChangedMessagesEnabled: (BOOL)flag;
+

- -


-

setMenuChangedMessagesEnabled:

-- (void) setMenuChangedMessagesEnabled: (BOOL)flag;
+

+
+

setMenuRepresentation:

+ - (void) setMenuRepresentation: (id)menuRep;
+

- -


-

setMenuRepresentation:

-- (void) setMenuRepresentation: (id)menuRep;
+

+
+

setSubmenu:forItem:

+ - (void) setSubmenu: (NSMenu*)aMenu forItem: (id)anItem;
+

- -


-

setSubmenu:forItem:

-- (void) setSubmenu: (NSMenu*)aMenu forItem: (id<NSMenuItem>)anItem;
+

+
+

setSupermenu:

+ - (void) setSupermenu: (NSMenu*)supermenu;
+

- -


-

setSupermenu:

-- (void) setSupermenu: (NSMenu*)supermenu;
+

+
+

setTitle:

+ - (void) setTitle: (NSString*)aTitle;
+

- -


-

setTearOffMenuRepresentation:

-- (void) setTearOffMenuRepresentation: (id)menuRep;
+

+
+

sizeToFit

+ - (void) sizeToFit;
+

- -


-

setTitle:

-- (void) setTitle: (NSString*)aString;
+

+
+

submenuAction:

+ - (void) submenuAction: (id)sender;
+

- -


-

sizeToFit

-- (void) sizeToFit;
+

+
+

supermenu

+ - (NSMenu*) supermenu;
+

- -


-

submenuAction:

-- (void) submenuAction: (id)sender;
+

+
+

title

+ - (NSString*) title;
+

- -


-

supermenu

-- (NSMenu*) supermenu;
+

+
+

update

+ - (void) update;
+

- -


-

tearOffMenuRepresentation

-- (id) tearOffMenuRepresentation;
+

+
+

+ Software documentation for the NSMenu(GNUstepExtra) + category +

+

NSMenu(GNUstepExtra)

+ Declared: AppKit/NSMenu.h
+

- -


-

title

-- (NSString*) title;
+

+

_ownedByPopUp

+ - (BOOL) _ownedByPopUp;
+

- -


-

update

-- (void) update;
+

+
+

_rightMouseDisplay:

+ - (void) _rightMouseDisplay: (NSEvent*)theEvent;
+

- -


- - - +

+
+

_setOwnedByPopUp:

+ - (void) _setOwnedByPopUp: (NSPopUpButtonCell*)popUp;
+

+ +

+
+

close

+ - (void) close;
+

+ +

+
+

closeTransient

+ - (void) closeTransient;
+

+ +

+
+

display

+ - (void) display;
+

+ +

+
+

displayTransient

+ - (void) displayTransient;
+

+ +

+
+

isFollowTransient

+ - (BOOL) isFollowTransient;
+

+ +

+
+

isPartlyOffScreen

+ - (BOOL) isPartlyOffScreen;
+

+ +

+
+

nestedCheckOffScreen

+ - (void) nestedCheckOffScreen;
+

+ +

+
+

nestedSetFrameOrigin:

+ - (void) nestedSetFrameOrigin: (NSPoint)aPoint;
+

+ +

+
+

shiftOnScreen

+ - (void) shiftOnScreen;
+

+ +

+
+

window

+ - (NSWindow*) window;
+

+ +

+
+

+ Software documentation for the + NSObject(NSMenuActionResponder) + category +

+

NSObject(NSMenuActionResponder)

+ Declared: AppKit/NSMenu.h
+

+ +

+

validateMenuItem:

+ - (BOOL) validateMenuItem: (NSMenuItem*)aMenuItem;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSMenuItem.gsdoc b/Documentation/gsdoc/NSMenuItem.gsdoc index 92f01ded8..87a426bf4 100644 --- a/Documentation/gsdoc/NSMenuItem.gsdoc +++ b/Documentation/gsdoc/NSMenuItem.gsdoc @@ -1,23 +1,260 @@ - - + + NSMenuItem - - - + + ovidiu@net-community.com - $Revision$ - $Date$ + + khelekir@encomix.es + + The menu cell class. + (C) 1996 Free Software Foundation, Inc. - NSMenuItem - - Gui/NSMenuItem.h + + Software documentation for the NSMenuItem protocol + + + + + + + separatorItem - + + + setUsesUserKeyEquivalents: + flag + + + + + usesUserKeyEquivalents + + + + + action + + + + + hasSubmenu + + + + + image + + + + + initWithTitle: + aString + action: + aSelector + keyEquivalent: + charCode + + + + + isEnabled + + + + + isSeparatorItem + + + + + keyEquivalent + + + + + keyEquivalentModifierMask + + + + + menu + + + + + mixedStateImage + + + + + mnemonic + + + + + mnemonicLocation + + + + + offStateImage + + + + + onStateImage + + + + + representedObject + + + + + setAction: + aSelector + + + + + setEnabled: + flag + + + + + setImage: + menuImage + + + + + setKeyEquivalent: + aKeyEquivalent + + + + + setKeyEquivalentModifierMask: + mask + + + + + setMenu: + menu + + + + + setMixedStateImage: + image + + + + + setMnemonicLocation: + location + + + + + setOffStateImage: + image + + + + + setOnStateImage: + image + + + + + setRepresentedObject: + anObject + + + + + setState: + state + + + + + setSubmenu: + submenu + + + + + setTag: + anInt + + + + + setTarget: + anObject + + + + + setTitle: + aString + + + + + setTitleWithMnemonic: + stringWithAmpersand + + + + + state + + + + + submenu + + + + + tag + + + + + target + + + + + title + + + + + userKeyEquivalent + + + + + userKeyEquivalentModifierMask + + + + diff --git a/Documentation/gsdoc/NSMenuItem.html b/Documentation/gsdoc/NSMenuItem.html index accae4b6c..46571c951 100644 --- a/Documentation/gsdoc/NSMenuItem.html +++ b/Documentation/gsdoc/NSMenuItem.html @@ -2,30 +2,279 @@ NSMenuItem -[Previous] -[Up] -[Next]

NSMenuItem

Authors

-
Richard Frith-Macdonald +
Ovidiu Predescu +
+
David Lazaro Saz
-

Version: $Revision$

-

Date: $Date$

-

NSMenuItem

-

NSMenuItem

-

Declared in: Gui/NSMenuItem.h

-

Inherits from: NSObject

+
The menu cell class.
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSMenuItem protocol +

+

NSMenuItem Protocol

+

Declared in:


+ + +
+

separatorItem

++ (id<NSMenuItem>) separatorItem;
+ -

Instance Variables

-
    -
-

Methods

-
    -
+
+

setUsesUserKeyEquivalents:

++ (void) setUsesUserKeyEquivalents: (BOOL)flag;
+ + +
+

usesUserKeyEquivalents

++ (BOOL) usesUserKeyEquivalents;
+ + +
+

action

+- (SEL) action;
+ + +
+

hasSubmenu

+- (BOOL) hasSubmenu;
+ + +
+

image

+- (NSImage*) image;
+ + +
+

initWithTitle:action:keyEquivalent:

+- (id) initWithTitle: (NSString*)aString action: (SEL)aSelector keyEquivalent: (NSString*)charCode;
+ + +
+

isEnabled

+- (BOOL) isEnabled;
+ + +
+

isSeparatorItem

+- (BOOL) isSeparatorItem;
+ + +
+

keyEquivalent

+- (NSString*) keyEquivalent;
+ + +
+

keyEquivalentModifierMask

+- (unsigned int) keyEquivalentModifierMask;
+ + +
+

menu

+- (NSMenu*) menu;
+ + +
+

mixedStateImage

+- (NSImage*) mixedStateImage;
+ + +
+

mnemonic

+- (NSString*) mnemonic;
+ + +
+

mnemonicLocation

+- (unsigned) mnemonicLocation;
+ + +
+

offStateImage

+- (NSImage*) offStateImage;
+ + +
+

onStateImage

+- (NSImage*) onStateImage;
+ + +
+

representedObject

+- (id) representedObject;
+ + +
+

setAction:

+- (void) setAction: (SEL)aSelector;
+ + +
+

setEnabled:

+- (void) setEnabled: (BOOL)flag;
+ + +
+

setImage:

+- (void) setImage: (NSImage*)menuImage;
+ + +
+

setKeyEquivalent:

+- (void) setKeyEquivalent: (NSString*)aKeyEquivalent;
+ + +
+

setKeyEquivalentModifierMask:

+- (void) setKeyEquivalentModifierMask: (unsigned int)mask;
+ + +
+

setMenu:

+- (void) setMenu: (NSMenu*)menu;
+ + +
+

setMixedStateImage:

+- (void) setMixedStateImage: (NSImage*)image;
+ + +
+

setMnemonicLocation:

+- (void) setMnemonicLocation: (unsigned)location;
+ + +
+

setOffStateImage:

+- (void) setOffStateImage: (NSImage*)image;
+ + +
+

setOnStateImage:

+- (void) setOnStateImage: (NSImage*)image;
+ + +
+

setRepresentedObject:

+- (void) setRepresentedObject: (id)anObject;
+ + +
+

setState:

+- (void) setState: (int)state;
+ + +
+

setSubmenu:

+- (void) setSubmenu: (NSMenu*)submenu;
+ + +
+

setTag:

+- (void) setTag: (int)anInt;
+ + +
+

setTarget:

+- (void) setTarget: (id)anObject;
+ + +
+

setTitle:

+- (void) setTitle: (NSString*)aString;
+ + +
+

setTitleWithMnemonic:

+- (void) setTitleWithMnemonic: (NSString*)stringWithAmpersand;
+ + +
+

state

+- (int) state;
+ + +
+

submenu

+- (NSMenu*) submenu;
+ + +
+

tag

+- (int) tag;
+ + +
+

target

+- (id) target;
+ + +
+

title

+- (NSString*) title;
+ + +
+

userKeyEquivalent

+- (NSString*) userKeyEquivalent;
+ + +
+

userKeyEquivalentModifierMask

+- (unsigned int) userKeyEquivalentModifierMask;
+ + +
diff --git a/Documentation/gsdoc/NSMenuItemCell.gsdoc b/Documentation/gsdoc/NSMenuItemCell.gsdoc index e19b7f4df..e8a3354e9 100644 --- a/Documentation/gsdoc/NSMenuItemCell.gsdoc +++ b/Documentation/gsdoc/NSMenuItemCell.gsdoc @@ -1,23 +1,26 @@ - - + + NSMenuItemCell - - - + + + mhanni@sprintmail.com + - $Revision$ - $Date$ + 1999 Free Software Foundation, Inc. - NSMenuItemCell + + Software documentation for the NSMenuItemCell class + - Gui/NSMenuItemCell.h + AppKit/NSMenuItemCell.h + NSCopying NSCoding - - + + calcSize @@ -26,36 +29,48 @@ drawBorderAndBackgroundWithFrame: cellFrame + inView: + controlView drawImageWithFrame: cellFrame + inView: + controlView drawKeyEquivalentWithFrame: cellFrame + inView: + controlView drawSeparatorItemWithFrame: cellFrame + inView: + controlView drawStateImageWithFrame: cellFrame + inView: + controlView drawTitleWithFrame: cellFrame + inView: + controlView @@ -96,11 +111,6 @@ - - needsDisplay - - - needsSizing @@ -124,12 +134,6 @@ - - setNeedsDisplay: - flag - - - setNeedsSizing: flag diff --git a/Documentation/gsdoc/NSMenuItemCell.html b/Documentation/gsdoc/NSMenuItemCell.html index 7b56711ba..7a8a1c286 100644 --- a/Documentation/gsdoc/NSMenuItemCell.html +++ b/Documentation/gsdoc/NSMenuItemCell.html @@ -1,184 +1,165 @@ - - NSMenuItemCell - - -[Previous] -[Up] -[Next] -

NSMenuItemCell

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSMenuItemCell

-

NSMenuItemCell

-

Declared in: Gui/NSMenuItemCell.h

-

Inherits from: NSButtonCell

-

Conforms to: NSCoding -

-
+ + + NSMenuItemCell + + +

NSMenuItemCell

+

Authors

+
+
Michael Hanni( + mhanni@sprintmail.com + )
+
+
+
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSMenuItemCell class +

+

NSMenuItemCell : NSButtonCell

+ Declared: AppKit/NSMenuItemCell.h
+ Conform: NSCopying
+ Conform: NSCoding
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

calcSize

-- (void) calcSize;
+

+

calcSize

+ - (void) calcSize;
+

- -


-

drawBorderAndBackgroundWithFrame:

-- (void) drawBorderAndBackgroundWithFrame: (NSRect)cellFrame;
+

+
+

drawBorderAndBackgroundWithFrame:inView:

+ - (void) drawBorderAndBackgroundWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
+

- -


-

drawImageWithFrame:

-- (void) drawImageWithFrame: (NSRect)cellFrame;
+

+
+

drawImageWithFrame:inView:

+ - (void) drawImageWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
+

- -


-

drawKeyEquivalentWithFrame:

-- (void) drawKeyEquivalentWithFrame: (NSRect)cellFrame;
+

+
+

drawKeyEquivalentWithFrame:inView:

+ - (void) drawKeyEquivalentWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
+

- -


-

drawSeparatorItemWithFrame:

-- (void) drawSeparatorItemWithFrame: (NSRect)cellFrame;
+

+
+

drawSeparatorItemWithFrame:inView:

+ - (void) drawSeparatorItemWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
+

- -


-

drawStateImageWithFrame:

-- (void) drawStateImageWithFrame: (NSRect)cellFrame;
+

+
+

drawStateImageWithFrame:inView:

+ - (void) drawStateImageWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
+

- -


-

drawTitleWithFrame:

-- (void) drawTitleWithFrame: (NSRect)cellFrame;
+

+
+

drawTitleWithFrame:inView:

+ - (void) drawTitleWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
+

- -


-

imageRectForBounds:

-- (NSRect) imageRectForBounds: (NSRect)cellFrame;
+

+
+

imageRectForBounds:

+ - (NSRect) imageRectForBounds: (NSRect)cellFrame;
+

- -


-

imageWidth

-- (float) imageWidth;
+

+
+

imageWidth

+ - (float) imageWidth;
+

- -


-

isHighlighted

-- (BOOL) isHighlighted;
+

+
+

isHighlighted

+ - (BOOL) isHighlighted;
+

- -


-

keyEquivalentRectForBounds:

-- (NSRect) keyEquivalentRectForBounds: (NSRect)cellFrame;
+

+
+

keyEquivalentRectForBounds:

+ - (NSRect) keyEquivalentRectForBounds: (NSRect)cellFrame;
+

- -


-

keyEquivalentWidth

-- (float) keyEquivalentWidth;
+

+
+

keyEquivalentWidth

+ - (float) keyEquivalentWidth;
+

- -


-

menuItem

-- (NSMenuItem*) menuItem;
+

+
+

menuItem

+ - (NSMenuItem*) menuItem;
+

- -


-

menuView

-- (NSMenuView*) menuView;
+

+
+

menuView

+ - (NSMenuView*) menuView;
+

- -


-

needsDisplay

-- (BOOL) needsDisplay;
+

+
+

needsSizing

+ - (BOOL) needsSizing;
+

- -


-

needsSizing

-- (BOOL) needsSizing;
+

+
+

setHighlighted:

+ - (void) setHighlighted: (BOOL)flag;
+

- -


-

setHighlighted:

-- (void) setHighlighted: (BOOL)flag;
+

+
+

setMenuItem:

+ - (void) setMenuItem: (NSMenuItem*)item;
+

- -


-

setMenuItem:

-- (void) setMenuItem: (NSMenuItem*)item;
+

+
+

setMenuView:

+ - (void) setMenuView: (NSMenuView*)menuView;
+

- -


-

setMenuView:

-- (void) setMenuView: (NSMenuView*)menuView;
+

+
+

setNeedsSizing:

+ - (void) setNeedsSizing: (BOOL)flag;
+

- -


-

setNeedsDisplay:

-- (void) setNeedsDisplay: (BOOL)flag;
+

+
+

stateImageRectForBounds:

+ - (NSRect) stateImageRectForBounds: (NSRect)cellFrame;
+

- -


-

setNeedsSizing:

-- (void) setNeedsSizing: (BOOL)flag;
+

+
+

stateImageWidth

+ - (float) stateImageWidth;
+

- -


-

stateImageRectForBounds:

-- (NSRect) stateImageRectForBounds: (NSRect)cellFrame;
+

+
+

titleRectForBounds:

+ - (NSRect) titleRectForBounds: (NSRect)cellFrame;
+

- -


-

stateImageWidth

-- (float) stateImageWidth;
+

+
+

titleWidth

+ - (float) titleWidth;
+

- -


-

titleRectForBounds:

-- (NSRect) titleRectForBounds: (NSRect)cellFrame;
- - -
-

titleWidth

-- (float) titleWidth;
- - -
- - - +

+
+ + diff --git a/Documentation/gsdoc/NSMenuView.gsdoc b/Documentation/gsdoc/NSMenuView.gsdoc index f4f549664..bbc6cf413 100644 --- a/Documentation/gsdoc/NSMenuView.gsdoc +++ b/Documentation/gsdoc/NSMenuView.gsdoc @@ -1,28 +1,46 @@ - - + + NSMenuView - - - + + + FredKiefer@gmx.de + - $Revision$ - $Date$ + + + khelekir@encomix.es + + + + + mhanni@sprintmail.com + + + 1999 Free Software Foundation, Inc. - NSMenuView + + Software documentation for the NSMenuView class + - Gui/NSMenuView.h + AppKit/NSMenuView.h NSCoding - - + + menuBarHeight + + attachSubmenuForItemAtIndex: + index + + + attachedMenu @@ -33,12 +51,6 @@ - - attachSubmenuForItemAtIndex: - index - - - detachSubmenu @@ -75,6 +87,11 @@ + + initAsTearOff + + + innerRect @@ -217,7 +234,7 @@ setWindowFrameForAttachingToRect: screenRect onScreen: - screen + screen preferredEdge: edge popUpSelectedItem: diff --git a/Documentation/gsdoc/NSMenuView.html b/Documentation/gsdoc/NSMenuView.html index 502787ccf..238c52ff3 100644 --- a/Documentation/gsdoc/NSMenuView.html +++ b/Documentation/gsdoc/NSMenuView.html @@ -1,281 +1,288 @@ - - NSMenuView - - -[Previous] -[Up] -[Next] -

NSMenuView

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSMenuView

-

NSMenuView

-

Declared in: Gui/NSMenuView.h

-

Inherits from: NSView

-

Conforms to: NSCoding -

-
+ + + NSMenuView + + +

NSMenuView

+

Authors

+
+
Fred Kiefer( + FredKiefer@gmx.de + )
+
+
+
David Lazaro Saz( + khelekir@encomix.es + )
+
+
+
Michael Hanni( + mhanni@sprintmail.com + )
+
+
+
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSMenuView class +

+

NSMenuView : NSView

+ Declared: AppKit/NSMenuView.h
+ Conform: NSCoding
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

menuBarHeight

-+ (float) menuBarHeight;
+

+

menuBarHeight

+ + (float) menuBarHeight;
+

- -


-

Instances Methods

-

attachedMenu

-- (NSMenu*) attachedMenu;
+

+
+

attachSubmenuForItemAtIndex:

+ - (void) attachSubmenuForItemAtIndex: (int)index;
+

- -


-

attachedMenuView

-- (NSMenuView*) attachedMenuView;
+

+
+

attachedMenu

+ - (NSMenu*) attachedMenu;
+

- -


-

attachSubmenuForItemAtIndex:

-- (void) attachSubmenuForItemAtIndex: (int)index;
+

+
+

attachedMenuView

+ - (NSMenuView*) attachedMenuView;
+

- -


-

detachSubmenu

-- (void) detachSubmenu;
+

+
+

detachSubmenu

+ - (void) detachSubmenu;
+

- -


-

font

-- (NSFont*) font;
+

+
+

font

+ - (NSFont*) font;
+

- -


-

highlightedItemIndex

-- (int) highlightedItemIndex;
+

+
+

highlightedItemIndex

+ - (int) highlightedItemIndex;
+

- -


-

horizontalEdgePadding

-- (float) horizontalEdgePadding;
+

+
+

horizontalEdgePadding

+ - (float) horizontalEdgePadding;
+

- -


-

imageAndTitleOffset

-- (float) imageAndTitleOffset;
+

+
+

imageAndTitleOffset

+ - (float) imageAndTitleOffset;
+

- -


-

imageAndTitleWidth

-- (float) imageAndTitleWidth;
+

+
+

imageAndTitleWidth

+ - (float) imageAndTitleWidth;
+

- -


-

indexOfItemAtPoint:

-- (int) indexOfItemAtPoint: (NSPoint)point;
+

+
+

indexOfItemAtPoint:

+ - (int) indexOfItemAtPoint: (NSPoint)point;
+

- -


-

innerRect

-- (NSRect) innerRect;
+

+
+

initAsTearOff

+ - (id) initAsTearOff;
+

- -


-

isAttached

-- (BOOL) isAttached;
+

+
+

innerRect

+ - (NSRect) innerRect;
+

- -


-

isHorizontal

-- (BOOL) isHorizontal;
+

+
+

isAttached

+ - (BOOL) isAttached;
+

- -


-

isTornOff

-- (BOOL) isTornOff;
+

+
+

isHorizontal

+ - (BOOL) isHorizontal;
+

- -


-

itemAdded:

-- (void) itemAdded: (NSNotification*)notification;
+

+
+

isTornOff

+ - (BOOL) isTornOff;
+

- -


-

itemChanged:

-- (void) itemChanged: (NSNotification*)notification;
+

+
+

itemAdded:

+ - (void) itemAdded: (NSNotification*)notification;
+

- -


-

itemRemoved:

-- (void) itemRemoved: (NSNotification*)notification;
+

+
+

itemChanged:

+ - (void) itemChanged: (NSNotification*)notification;
+

- -


-

keyEquivalentOffset

-- (float) keyEquivalentOffset;
+

+
+

itemRemoved:

+ - (void) itemRemoved: (NSNotification*)notification;
+

- -


-

keyEquivalentWidth

-- (float) keyEquivalentWidth;
+

+
+

keyEquivalentOffset

+ - (float) keyEquivalentOffset;
+

- -


-

locationForSubmenu:

-- (NSPoint) locationForSubmenu: (NSMenu*)aSubmenu;
+

+
+

keyEquivalentWidth

+ - (float) keyEquivalentWidth;
+

- -


-

menu

-- (NSMenu*) menu;
+

+
+

locationForSubmenu:

+ - (NSPoint) locationForSubmenu: (NSMenu*)aSubmenu;
+

- -


-

menuItemCellForItemAtIndex:

-- (NSMenuItemCell*) menuItemCellForItemAtIndex: (int)index;
+

+
+

menu

+ - (NSMenu*) menu;
+

- -


-

needsSizing

-- (BOOL) needsSizing;
+

+
+

menuItemCellForItemAtIndex:

+ - (NSMenuItemCell*) menuItemCellForItemAtIndex: (int)index;
+

- -


-

performActionWithHighlightingForItemAtIndex:

-- (void) performActionWithHighlightingForItemAtIndex: (int)index;
+

+
+

needsSizing

+ - (BOOL) needsSizing;
+

- -


-

rectOfItemAtIndex:

-- (NSRect) rectOfItemAtIndex: (int)index;
+

+
+

performActionWithHighlightingForItemAtIndex:

+ - (void) performActionWithHighlightingForItemAtIndex: (int)index;
+

- -


-

resizeWindowWithMaxHeight:

-- (void) resizeWindowWithMaxHeight: (float)maxHeight;
+

+
+

rectOfItemAtIndex:

+ - (NSRect) rectOfItemAtIndex: (int)index;
+

- -


-

setFont:

-- (void) setFont: (NSFont*)font;
+

+
+

resizeWindowWithMaxHeight:

+ - (void) resizeWindowWithMaxHeight: (float)maxHeight;
+

- -


-

setHighlightedItemIndex:

-- (void) setHighlightedItemIndex: (int)index;
+

+
+

setFont:

+ - (void) setFont: (NSFont*)font;
+

- -


-

setHorizontal:

-- (void) setHorizontal: (BOOL)flag;
+

+
+

setHighlightedItemIndex:

+ - (void) setHighlightedItemIndex: (int)index;
+

- -


-

setHorizontalEdgePadding:

-- (void) setHorizontalEdgePadding: (float)pad;
+

+
+

setHorizontal:

+ - (void) setHorizontal: (BOOL)flag;
+

- -


-

setMenu:

-- (void) setMenu: (NSMenu*)menu;
+

+
+

setHorizontalEdgePadding:

+ - (void) setHorizontalEdgePadding: (float)pad;
+

- -


-

setMenuItemCell:forItemAtIndex:

-- (void) setMenuItemCell: (NSMenuItemCell*)cell forItemAtIndex: (int)index;
+

+
+

setMenu:

+ - (void) setMenu: (NSMenu*)menu;
+

- -


-

setNeedsDisplayForItemAtIndex:

-- (void) setNeedsDisplayForItemAtIndex: (int)index;
+

+
+

setMenuItemCell:forItemAtIndex:

+ - (void) setMenuItemCell: (NSMenuItemCell*)cell forItemAtIndex: (int)index;
+

- -


-

setNeedsSizing:

-- (void) setNeedsSizing: (BOOL)flag;
+

+
+

setNeedsDisplayForItemAtIndex:

+ - (void) setNeedsDisplayForItemAtIndex: (int)index;
+

- -


-

setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:

-- (void) setWindowFrameForAttachingToRect: (NSRect)screenRect onScreen: (NSScreen *)screen preferredEdge: (NSRectEdge)edge popUpSelectedItem: (int)selectedItemIndex;
+

+
+

setNeedsSizing:

+ - (void) setNeedsSizing: (BOOL)flag;
+

- -


-

sizeToFit

-- (void) sizeToFit;
+

+
+

setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:

+ - (void) setWindowFrameForAttachingToRect: (NSRect)screenRect onScreen: (NSScreen*)screen preferredEdge: (NSRectEdge)edge popUpSelectedItem: (int)selectedItemIndex;
+

- -


-

stateImageOffset

-- (float) stateImageOffset;
+

+
+

sizeToFit

+ - (void) sizeToFit;
+

- -


-

stateImageWidth

-- (float) stateImageWidth;
+

+
+

stateImageOffset

+ - (float) stateImageOffset;
+

- -


-

trackWithEvent:

-- (BOOL) trackWithEvent: (NSEvent*)event;
+

+
+

stateImageWidth

+ - (float) stateImageWidth;
+

- -


-

update

-- (void) update;
+

+
+

trackWithEvent:

+ - (BOOL) trackWithEvent: (NSEvent*)event;
+

- -


- - - +

+
+

update

+ - (void) update;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSOpenPanel.gsdoc b/Documentation/gsdoc/NSOpenPanel.gsdoc index 5a2e01852..87fd125a4 100644 --- a/Documentation/gsdoc/NSOpenPanel.gsdoc +++ b/Documentation/gsdoc/NSOpenPanel.gsdoc @@ -1,33 +1,78 @@ - - + + NSOpenPanel - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + boehring@biomed.ruhr-uni-bochum.de + + + + + n.pero@mi.flashnet.it + + + + + mirko.viviani@rccr.cremona.it + + + + Standard open panel for opening files + + + 1996, 1998, 1999, 2000 Free Software Foundation, Inc. + - NSOpenPanel + + Software documentation for the NSOpenPanel class + - Gui/NSOpenPanel.h - NSObject - - + AppKit/NSOpenPanel.h + NSCoding + + openPanel + + URLs + + + allowsMultipleSelection + + beginSheetForDirectory: + path + file: + name + types: + fileTypes + modalForWindow: + docWindow + modalDelegate: + delegate + didEndSelector: + didEndSelector + contextInfo: + contextInfo + + + canChooseDirectories @@ -45,14 +90,26 @@ runModalForDirectory: - directory + path file: - filename + name types: fileTypes + + runModalForDirectory: + path + file: + name + types: + fileTypes + relativeToWindow: + window + + + runModalForTypes: fileTypes @@ -77,11 +134,6 @@ - - URLs - - - diff --git a/Documentation/gsdoc/NSOpenPanel.html b/Documentation/gsdoc/NSOpenPanel.html index 960e269b8..eff5beefd 100644 --- a/Documentation/gsdoc/NSOpenPanel.html +++ b/Documentation/gsdoc/NSOpenPanel.html @@ -1,101 +1,125 @@ - - NSOpenPanel - - -[Previous] -[Up] -[Next] -

NSOpenPanel

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSOpenPanel

-

NSOpenPanel

-

Declared in: Gui/NSOpenPanel.h

-

Inherits from: NSSavePanel

-

Conforms to: NSObject -

-
+ + + NSOpenPanel + + +

NSOpenPanel

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
( + boehring@biomed.ruhr-uni-bochum.de + )
+
+
+
Nicola Pero( + n.pero@mi.flashnet.it + )
+
+
+
Mirko Viviani( + mirko.viviani@rccr.cremona.it + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

openPanel

-+ (NSOpenPanel*) openPanel;
+ Standard open panel for opening files +
+

Copyright: (C) + 1996, 1998, 1999, 2000 Free Software Foundation, Inc. +

+

+ Software documentation for the NSOpenPanel class +

+

NSOpenPanel : NSSavePanel

+ Declared: AppKit/NSOpenPanel.h
+ Conform: NSCoding
+

- -


-

Instances Methods

-

allowsMultipleSelection

-- (BOOL) allowsMultipleSelection;
+

+

openPanel

+ + (NSOpenPanel*) openPanel;
+

- -


-

canChooseDirectories

-- (BOOL) canChooseDirectories;
+

+
+

URLs

+ - (NSArray*) URLs;
+

- -


-

canChooseFiles

-- (BOOL) canChooseFiles;
+

+
+

allowsMultipleSelection

+ - (BOOL) allowsMultipleSelection;
+

- -


-

filenames

-- (NSArray*) filenames;
+

+
+

beginSheetForDirectory:file:types:modalForWindow:modalDelegate:didEndSelector:contextInfo:

+ - (void) beginSheetForDirectory: (NSString*)path file: (NSString*)name types: (NSArray*)fileTypes modalForWindow: (NSWindow*)docWindow modalDelegate: (id)delegate didEndSelector: (SEL)didEndSelector contextInfo: (void*)contextInfo;
+

- -


-

runModalForDirectory:file:types:

-- (int) runModalForDirectory: (NSString*)directory file: (NSString *)filename types: (NSArray*)fileTypes;
+

+
+

canChooseDirectories

+ - (BOOL) canChooseDirectories;
+

- -


-

runModalForTypes:

-- (int) runModalForTypes: (NSArray*)fileTypes;
+

+
+

canChooseFiles

+ - (BOOL) canChooseFiles;
+

- -


-

setAllowsMultipleSelection:

-- (void) setAllowsMultipleSelection: (BOOL)flag;
+

+
+

filenames

+ - (NSArray*) filenames;
+

- -


-

setCanChooseDirectories:

-- (void) setCanChooseDirectories: (BOOL)flag;
+

+
+

runModalForDirectory:file:types:

+ - (int) runModalForDirectory: (NSString*)path file: (NSString*)name types: (NSArray*)fileTypes;
+

- -


-

setCanChooseFiles:

-- (void) setCanChooseFiles: (BOOL)flag;
+

+
+

runModalForDirectory:file:types:relativeToWindow:

+ - (int) runModalForDirectory: (NSString*)path file: (NSString*)name types: (NSArray*)fileTypes relativeToWindow: (NSWindow*)window;
+

- -


-

URLs

-- (NSArray*) URLs;
+

+
+

runModalForTypes:

+ - (int) runModalForTypes: (NSArray*)fileTypes;
+

- -


- - - +

+
+

setAllowsMultipleSelection:

+ - (void) setAllowsMultipleSelection: (BOOL)flag;
+

+ +

+
+

setCanChooseDirectories:

+ - (void) setCanChooseDirectories: (BOOL)flag;
+

+ +

+
+

setCanChooseFiles:

+ - (void) setCanChooseFiles: (BOOL)flag;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSPageLayout.gsdoc b/Documentation/gsdoc/NSPageLayout.gsdoc index e78a905e5..28fa0dfaf 100644 --- a/Documentation/gsdoc/NSPageLayout.gsdoc +++ b/Documentation/gsdoc/NSPageLayout.gsdoc @@ -1,15 +1,17 @@ - - + + NSPageLayout - fedor@gnu.org + + fedor@gnu.org + Standard panel for querying user about page layout. - (C) 2001 Free Software Foundation, Inc. + 2001 Free Software Foundation, Inc. @@ -29,7 +31,7 @@ user clicked on a Page Layout menu item.

- ../../Headers/gnustep/gui/NSPageLayout.h + AppKit/NSPageLayout.h diff --git a/Documentation/gsdoc/NSPageLayout.html b/Documentation/gsdoc/NSPageLayout.html index ec22ccac6..439bdcaff 100644 --- a/Documentation/gsdoc/NSPageLayout.html +++ b/Documentation/gsdoc/NSPageLayout.html @@ -1,118 +1,160 @@ - - NSPageLayout - - -

NSPageLayout

-

Authors

-
-
Adam Fedor -
-
-
+ + + NSPageLayout + + +

NSPageLayout

+

Authors

+
+
Adam Fedor( + fedor@gnu.org + )
+
+
+
+
+ Standard panel for querying user about page layout. -
-

Copyright: (C) 2001 Free Software Foundation, Inc.

-

- Software documentation for the NSPageLayout class -

-

NSPageLayout

-

Declared in: NSPageLayout.h

-

Inherits from: NSPanel

-
+
+

Copyright: (C) 2001 Free Software Foundation, Inc.

+

NSPageLayout

+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

pageLayout

-+ (NSPageLayout*) pageLayout;
+ NSPageLayout provides a panel that allows the user + to specify certain information about the printer and how + data is formatted for printing. This includes information + about the paper size and orientation. Typically you would + create a page layout panel with the + pageLayout - -
-

Instances Methods

-

accessoryView

-- (NSView*) accessoryView;
+ class method. However, the best way to use the panel is + to have the application call the runPageLayout: method in + the NSApplication object which would both create a standard + NSPageLayout panel and display it in a modal loop. + This method would be sent up the responder chain if the + user clicked on a Page Layout menu item. +

+

NSPageLayout : NSPanel

+ Declared: AppKit/NSPageLayout.h
+

- -


-

beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:

-- (void) beginSheetWithPrintInfo: (NSPrintInfo*)printInfo modalForWindow: (NSWindow*)docWindow delegate: (id)delegate didEndSelector: (SEL)didEndSelector contextInfo: (void*)contextInfo;
+

+

pageLayout

+ + (NSPageLayout*) pageLayout;
+

- -


-

convertOldFactor:newFactor:

-- (void) convertOldFactor: (float*)old newFactor: (float*)new;
+ Creates and returns a shared instance of the + NSPageLayout panel. +

+
+

accessoryView

+ - (NSView*) accessoryView;
+

- -


-

pickedButton:

-- (void) pickedButton: (id)sender;
+ Returns the accessory view for the page layout + panel +

+
+

beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:

+ - (void) beginSheetWithPrintInfo: (NSPrintInfo*)printInfo modalForWindow: (NSWindow*)docWindow delegate: (id)delegate didEndSelector: (SEL)didEndSelector contextInfo: (void*)contextInfo;
+

- -


-

pickedOrientation:

-- (void) pickedOrientation: (id)sender;
+

+
+

convertOldFactor:newFactor:

+ - (void) convertOldFactor: (float*)old newFactor: (float*)new;
+

- -


-

pickedPaperSize:

-- (void) pickedPaperSize: (id)sender;
+ Convert the old value to a + new one based on the current units. This + method has been depreciated. It doesn't do anything + useful +

+
+

pickedButton:

+ - (void) pickedButton: (id)sender;
+

- -


-

pickedUnits:

-- (void) pickedUnits: (id)sender;
+ This method has been depreciated. It doesn't do + anything useful. +

+
+

pickedOrientation:

+ - (void) pickedOrientation: (id)sender;
+

- -


-

printInfo

-- (NSPrintInfo*) printInfo;
+ This method has been depreciated. It doesn't do + anything useful. +

+
+

pickedPaperSize:

+ - (void) pickedPaperSize: (id)sender;
+

- -


-

readPrintInfo

-- (void) readPrintInfo;
+ This method has been depreciated. It doesn't do + anything useful. +

+
+

pickedUnits:

+ - (void) pickedUnits: (id)sender;
+

- -


-

runModal

-- (int) runModal;
+ This method has been depreciated. It doesn't do + anything useful. +

+
+

printInfo

+ - (NSPrintInfo*) printInfo;
+

- -


-

runModalWithPrintInfo:

-- (int) runModalWithPrintInfo: (NSPrintInfo*)pInfo;
+ Return the NSPrintInfo object that the receiver + stores layout information into. +

+
+

readPrintInfo

+ - (void) readPrintInfo;
+

- -


-

setAccessoryView:

-- (void) setAccessoryView: (NSView*)aView;
+ Updates the receiver panel with information from + its NSPrintInfo object +

+
+

runModal

+ - (int) runModal;
+

- -


-

writePrintInfo

-- (void) writePrintInfo;
+ Display the Page Layout panel in a modal loop. + Saves any aquired information in the shared + NSPrintInfo object. Returns NSCancelButton if + the user clicks the Cancel button or NSOKButton + otherwise. +

+
+

runModalWithPrintInfo:

+ - (int) runModalWithPrintInfo: (NSPrintInfo*)pInfo;
+

- -


- - - + Display the Page Layout panel in a modal loop. + Saves any aquired information in the indicated + NSPrintInfo object. Returns NSCancelButton if + the user clicks the Cancel button or NSOKButton + otherwise. +

+
+

setAccessoryView:

+ - (void) setAccessoryView: (NSView*)aView;
+

+ + Set the accessory view for the page layout panel +

+
+

writePrintInfo

+ - (void) writePrintInfo;
+

+ + Writes any layout information set by the user to the + receiver's NSPrintInfo object +

+
+ + diff --git a/Documentation/gsdoc/NSPanel.gsdoc b/Documentation/gsdoc/NSPanel.gsdoc index 850365d36..0321b847b 100644 --- a/Documentation/gsdoc/NSPanel.gsdoc +++ b/Documentation/gsdoc/NSPanel.gsdoc @@ -1,23 +1,37 @@ - - + + NSPanel - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + richard@brainstorm.co.uk + + + + + pjb@imaginet.fr + + + + Panel window class and related functions + + 1996 Free Software Foundation, Inc. - NSPanel + + Software documentation for the NSPanel class + - Gui/NSPanel.h - NSCoding - - + AppKit/NSPanel.h + + becomesKeyOnlyIfNeeded diff --git a/Documentation/gsdoc/NSPanel.html b/Documentation/gsdoc/NSPanel.html index 5258dc240..3b5ca6ca1 100644 --- a/Documentation/gsdoc/NSPanel.html +++ b/Documentation/gsdoc/NSPanel.html @@ -1,70 +1,75 @@ - - NSPanel - - -[Previous] -[Up] -[Next] -

NSPanel

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSPanel

-

NSPanel

-

Declared in: Gui/NSPanel.h

-

Inherits from: NSWindow

-

Conforms to: NSCoding -

-
+ + + NSPanel + + +

NSPanel

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Richard Frith-Macdonald( + richard@brainstorm.co.uk + )
+
+
+
Pascal J. Bourguignon( + pjb@imaginet.fr + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

becomesKeyOnlyIfNeeded

-- (BOOL) becomesKeyOnlyIfNeeded;
+ Panel window class and related functions +
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSPanel class +

+

NSPanel : NSWindow

+ Declared: AppKit/NSPanel.h
+

- -


-

isFloatingPanel

-- (BOOL) isFloatingPanel;
+

+

becomesKeyOnlyIfNeeded

+ - (BOOL) becomesKeyOnlyIfNeeded;
+

- -


-

setBecomesKeyOnlyIfNeeded:

-- (void) setBecomesKeyOnlyIfNeeded: (BOOL)flag;
+

+
+

isFloatingPanel

+ - (BOOL) isFloatingPanel;
+

- -


-

setFloatingPanel:

-- (void) setFloatingPanel: (BOOL)flag;
+

+
+

setBecomesKeyOnlyIfNeeded:

+ - (void) setBecomesKeyOnlyIfNeeded: (BOOL)flag;
+

- -


-

setWorksWhenModal:

-- (void) setWorksWhenModal: (BOOL)flag;
+

+
+

setFloatingPanel:

+ - (void) setFloatingPanel: (BOOL)flag;
+

- -


-

worksWhenModal

-- (BOOL) worksWhenModal;
+

+
+

setWorksWhenModal:

+ - (void) setWorksWhenModal: (BOOL)flag;
+

- -


- - - +

+
+

worksWhenModal

+ - (BOOL) worksWhenModal;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSParagraphStyle.gsdoc b/Documentation/gsdoc/NSParagraphStyle.gsdoc index 54cdbafee..6b7e7316b 100644 --- a/Documentation/gsdoc/NSParagraphStyle.gsdoc +++ b/Documentation/gsdoc/NSParagraphStyle.gsdoc @@ -1,23 +1,121 @@ - - + + NSParagraphStyle - - + + richard@brainstorm.co.uk + - $Revision$ - $Date$ + + NSParagraphStyle and NSMutableParagraphStyle + hold paragraph style information NSTextTab holds information + about a single tab stop + + 1996 Free Software Foundation, Inc. - NSParagraphStyle - - Gui/NSParagraphStyle.h - NSCoding + + Software documentation for the NSMutableParagraphStyle + class + + + AppKit/NSParagraphStyle.h + + + + addTabStop: + anObject + + + removeTabStop: + anObject + + + + + setAlignment: + newAlignment + + + + + setFirstLineHeadIndent: + aFloat + + + + + setHeadIndent: + aFloat + + + + + setLineBreakMode: + mode + + + + + setLineSpacing: + aFloat + + + + + setMaximumLineHeight: + aFloat + + + + + setMinimumLineHeight: + aFloat + + + + + setParagraphSpacing: + aFloat + + + + + setParagraphStyle: + obj + + + + + setTabStops: + array + + + + + setTailIndent: + aFloat + + + + + + + + Software documentation for the NSParagraphStyle class + + + AppKit/NSParagraphStyle.h + NSCopying + NSMutableCopying + NSCoding + + defaultParagraphStyle @@ -75,5 +173,34 @@ + + + Software documentation for the NSTextTab class + + + AppKit/NSParagraphStyle.h + NSCopying + + + + initWithType: + type + location: + loc + + + + + location + + + + + tabStopType + + + + + diff --git a/Documentation/gsdoc/NSParagraphStyle.html b/Documentation/gsdoc/NSParagraphStyle.html index 094df2e0e..0ec38985f 100644 --- a/Documentation/gsdoc/NSParagraphStyle.html +++ b/Documentation/gsdoc/NSParagraphStyle.html @@ -1,101 +1,214 @@ - - NSParagraphStyle - - -[Previous] -[Up] -[Next] -

NSParagraphStyle

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSParagraphStyle

-

NSParagraphStyle

-

Declared in: Gui/NSParagraphStyle.h

-

Inherits from: NSObject

-

Conforms to: NSCoding -

-
+ + + NSParagraphStyle + + +

NSParagraphStyle

+

Authors

+
+
Richard Frith-Macdonald( + richard@brainstorm.co.uk + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

defaultParagraphStyle

-+ (NSParagraphStyle*) defaultParagraphStyle;
+ NSParagraphStyle and NSMutableParagraphStyle + hold paragraph style information NSTextTab holds information + about a single tab stop +
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSMutableParagraphStyle + class +

+

NSMutableParagraphStyle : NSParagraphStyle

+ Declared: AppKit/NSParagraphStyle.h
+

- -


-

Instances Methods

-

alignment

-- (NSTextAlignment) alignment;
+

+

addTabStop:

+ - (void) addTabStop: (NSTextTab*)anObject;
+

- -


-

firstLineHeadIndent

-- (float) firstLineHeadIndent;
+

+
+

removeTabStop:

+ - (void) removeTabStop: (NSTextTab*)anObject;
+

- -


-

headIndent

-- (float) headIndent;
+

+
+

setAlignment:

+ - (void) setAlignment: (NSTextAlignment)newAlignment;
+

- -


-

lineBreakMode

-- (NSLineBreakMode) lineBreakMode;
+

+
+

setFirstLineHeadIndent:

+ - (void) setFirstLineHeadIndent: (float)aFloat;
+

- -


-

lineSpacing

-- (float) lineSpacing;
+

+
+

setHeadIndent:

+ - (void) setHeadIndent: (float)aFloat;
+

- -


-

maximumLineHeight

-- (float) maximumLineHeight;
+

+
+

setLineBreakMode:

+ - (void) setLineBreakMode: (NSLineBreakMode)mode;
+

- -


-

minimumLineHeight

-- (float) minimumLineHeight;
+

+
+

setLineSpacing:

+ - (void) setLineSpacing: (float)aFloat;
+

- -


-

paragraphSpacing

-- (float) paragraphSpacing;
+

+
+

setMaximumLineHeight:

+ - (void) setMaximumLineHeight: (float)aFloat;
+

- -


-

tabStops

-- (NSArray*) tabStops;
+

+
+

setMinimumLineHeight:

+ - (void) setMinimumLineHeight: (float)aFloat;
+

- -


-

tailIndent

-- (float) tailIndent;
+

+
+

setParagraphSpacing:

+ - (void) setParagraphSpacing: (float)aFloat;
+

- -


- - - +

+
+

setParagraphStyle:

+ - (void) setParagraphStyle: (NSParagraphStyle*)obj;
+

+ +

+
+

setTabStops:

+ - (void) setTabStops: (NSArray*)array;
+

+ +

+
+

setTailIndent:

+ - (void) setTailIndent: (float)aFloat;
+

+ +

+
+

+ Software documentation for the NSParagraphStyle class +

+

NSParagraphStyle : NSObject

+ Declared: AppKit/NSParagraphStyle.h
+ Conform: NSCopying
+ Conform: NSMutableCopying
+ Conform: NSCoding
+

+ +

+

defaultParagraphStyle

+ + (NSParagraphStyle*) defaultParagraphStyle;
+

+ +

+
+

alignment

+ - (NSTextAlignment) alignment;
+

+ +

+
+

firstLineHeadIndent

+ - (float) firstLineHeadIndent;
+

+ +

+
+

headIndent

+ - (float) headIndent;
+

+ +

+
+

lineBreakMode

+ - (NSLineBreakMode) lineBreakMode;
+

+ +

+
+

lineSpacing

+ - (float) lineSpacing;
+

+ +

+
+

maximumLineHeight

+ - (float) maximumLineHeight;
+

+ +

+
+

minimumLineHeight

+ - (float) minimumLineHeight;
+

+ +

+
+

paragraphSpacing

+ - (float) paragraphSpacing;
+

+ +

+
+

tabStops

+ - (NSArray*) tabStops;
+

+ +

+
+

tailIndent

+ - (float) tailIndent;
+

+ +

+
+

+ Software documentation for the NSTextTab class +

+

NSTextTab : NSObject

+ Declared: AppKit/NSParagraphStyle.h
+ Conform: NSCopying
+

+ +

+

initWithType:location:

+ - (id) initWithType: (NSTextTabType)type location: (float)loc;
+

+ +

+
+

location

+ - (float) location;
+

+ +

+
+

tabStopType

+ - (NSTextTabType) tabStopType;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSPasteboard.gsdoc b/Documentation/gsdoc/NSPasteboard.gsdoc index afb92493b..e6dc2727b 100644 --- a/Documentation/gsdoc/NSPasteboard.gsdoc +++ b/Documentation/gsdoc/NSPasteboard.gsdoc @@ -1,23 +1,28 @@ - - + + NSPasteboard - - + + richard@brainstorm.co.uk + - $Revision$ - $Date$ + + Implementation of class for communicating with the + pasteboard server. + + 1997,1999 Free Software Foundation, Inc. - NSPasteboard + + Software documentation for the NSPasteboard class + - Gui/NSPasteboard.h - NSObject - - + AppKit/NSPasteboard.h + + generalPasteboard @@ -39,13 +44,13 @@ pasteboardByFilteringTypesInPasteboard: - pasteboard + pboard pasteboardWithName: - name + aName @@ -63,6 +68,8 @@ addTypes: newTypes + owner: + newOwner @@ -86,6 +93,8 @@ declareTypes: newTypes + owner: + newOwner @@ -109,7 +118,7 @@
- readFileWrapper; + readFileWrapper @@ -129,6 +138,8 @@ setPropertyList: propertyList + forType: + dataType @@ -159,7 +170,37 @@
writeFileWrapper: - wrapper; + wrapper + + + +
+
+ + + Software documentation for the + NSObject(NSPasteboardOwner) + category + + + AppKit/NSPasteboard.h + + + + pasteboard: + sender + provideDataForType: + type + + + + + pasteboard: + sender + provideDataForType: + type + andVersion: + ver @@ -169,15 +210,60 @@
- - pasteboard: - sender - provideDataForType: + +
+ + + Software documentation for the + NSPasteboard(GNUstepExtensions) + category + + + AppKit/NSPasteboard.h + + + + mimeTypeForPasteboardType: type -
+ + pasteboardTypeForMimeType: + mimeType + + + + + setChangeCount: + count + + + + +
+ + + Software documentation for the NSURL(NSPasteboard) + category + + + AppKit/NSPasteboard.h + + + + URLFromPasteboard: + pasteBoard + + + + + writeToPasteboard: + pasteBoard + + + +
diff --git a/Documentation/gsdoc/NSPasteboard.html b/Documentation/gsdoc/NSPasteboard.html index 388e89a23..08bdaec45 100644 --- a/Documentation/gsdoc/NSPasteboard.html +++ b/Documentation/gsdoc/NSPasteboard.html @@ -1,191 +1,251 @@ - - NSPasteboard - - -[Previous] -[Up] -[Next] -

NSPasteboard

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSPasteboard

-

NSPasteboard

-

Declared in: Gui/NSPasteboard.h

-

Inherits from: NSObject

-

Conforms to: NSObject -

-
+ + + NSPasteboard + + +

NSPasteboard

+

Authors

+
+
Richard Frith-Macdonald( + richard@brainstorm.co.uk + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

generalPasteboard

-+ (NSPasteboard*) generalPasteboard;
+ Implementation of class for communicating with the + pasteboard server. +
+

Copyright: (C) 1997,1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSPasteboard class +

+

NSPasteboard : NSObject

+ Declared: AppKit/NSPasteboard.h
+

- -


-

pasteboardByFilteringData:ofType:

-+ (NSPasteboard*) pasteboardByFilteringData: (NSData*)data ofType: (NSString*)type;
+

+

generalPasteboard

+ + (NSPasteboard*) generalPasteboard;
+

- -


-

pasteboardByFilteringFile:

-+ (NSPasteboard*) pasteboardByFilteringFile: (NSString*)filename;
+

+
+

pasteboardByFilteringData:ofType:

+ + (NSPasteboard*) pasteboardByFilteringData: (NSData*)data ofType: (NSString*)type;
+

- -


-

pasteboardByFilteringTypesInPasteboard:

-+ (NSPasteboard*) pasteboardByFilteringTypesInPasteboard: (NSPasteboard*)pasteboard;
+

+
+

pasteboardByFilteringFile:

+ + (NSPasteboard*) pasteboardByFilteringFile: (NSString*)filename;
+

- -


-

pasteboardWithName:

-+ (NSPasteboard*) pasteboardWithName: (NSString*)name;
+

+
+

pasteboardByFilteringTypesInPasteboard:

+ + (NSPasteboard*) pasteboardByFilteringTypesInPasteboard: (NSPasteboard*)pboard;
+

- -


-

pasteboardWithUniqueName

-+ (NSPasteboard*) pasteboardWithUniqueName;
+

+
+

pasteboardWithName:

+ + (NSPasteboard*) pasteboardWithName: (NSString*)aName;
+

- -


-

typesFilterableTo:

-+ (NSArray*) typesFilterableTo: (NSString*)type;
+

+
+

pasteboardWithUniqueName

+ + (NSPasteboard*) pasteboardWithUniqueName;
+

- -


-

Instances Methods

-

addTypes:

-- (int) addTypes: (NSArray*)newTypes;
+

+
+

typesFilterableTo:

+ + (NSArray*) typesFilterableTo: (NSString*)type;
+

- -


-

availableTypeFromArray:

-- (NSString*) availableTypeFromArray: (NSArray*)types;
+

+
+

addTypes:owner:

+ - (int) addTypes: (NSArray*)newTypes owner: (id)newOwner;
+

- -


-

changeCount

-- (int) changeCount;
+

+
+

availableTypeFromArray:

+ - (NSString*) availableTypeFromArray: (NSArray*)types;
+

- -


-

dataForType:

-- (NSData*) dataForType: (NSString*)dataType;
+

+
+

changeCount

+ - (int) changeCount;
+

- -


-

declareTypes:

-- (int) declareTypes: (NSArray*)newTypes;
+

+
+

dataForType:

+ - (NSData*) dataForType: (NSString*)dataType;
+

- -


-

name

-- (NSString*) name;
+

+
+

declareTypes:owner:

+ - (int) declareTypes: (NSArray*)newTypes owner: (id)newOwner;
+

- -


-

propertyListForType:

-- (id) propertyListForType: (NSString*)dataType;
+

+
+

name

+ - (NSString*) name;
+

- -


-

readFileContentsType:toFile:

-- (NSString*) readFileContentsType: (NSString*)type toFile: (NSString*)filename;
+

+
+

propertyListForType:

+ - (id) propertyListForType: (NSString*)dataType;
+

- -


-

readFileWrapper;

-- (NSFileWrapper*) readFileWrapper;;
+

+
+

readFileContentsType:toFile:

+ - (NSString*) readFileContentsType: (NSString*)type toFile: (NSString*)filename;
+

- -


-

releaseGlobally

-- (void) releaseGlobally;
+

+
+

readFileWrapper

+ - (NSFileWrapper*) readFileWrapper;
+

- -


-

setData:forType:

-- (BOOL) setData: (NSData*)data forType: (NSString*)dataType;
+

+
+

releaseGlobally

+ - (void) releaseGlobally;
+

- -


-

setPropertyList:

-- (BOOL) setPropertyList: (id)propertyList;
+

+
+

setData:forType:

+ - (BOOL) setData: (NSData*)data forType: (NSString*)dataType;
+

- -


-

setString:forType:

-- (BOOL) setString: (NSString*)string forType: (NSString*)dataType;
+

+
+

setPropertyList:forType:

+ - (BOOL) setPropertyList: (id)propertyList forType: (NSString*)dataType;
+

- -


-

stringForType:

-- (NSString*) stringForType: (NSString*)dataType;
+

+
+

setString:forType:

+ - (BOOL) setString: (NSString*)string forType: (NSString*)dataType;
+

- -


-

types

-- (NSArray*) types;
+

+
+

stringForType:

+ - (NSString*) stringForType: (NSString*)dataType;
+

- -


-

writeFileContents:

-- (BOOL) writeFileContents: (NSString*)filename;
+

+
+

types

+ - (NSArray*) types;
+

- -


-

writeFileWrapper:

-- (BOOL) writeFileWrapper: (NSFileWrapper*)wrapper;;
+

+
+

writeFileContents:

+ - (BOOL) writeFileContents: (NSString*)filename;
+

- -


-

pasteboardChangedOwner:

-- (void) pasteboardChangedOwner: (NSPasteboard*)sender;
+

+
+

writeFileWrapper:

+ - (BOOL) writeFileWrapper: (NSFileWrapper*)wrapper;
+

- -


-

pasteboard:provideDataForType:

-- (void) pasteboard: (NSPasteboard*)sender provideDataForType: (NSString*)type;
+

+
+

+ Software documentation for the + NSObject(NSPasteboardOwner) + category +

+

NSObject(NSPasteboardOwner)

+ Declared: AppKit/NSPasteboard.h
+

- -


- - - +

+

pasteboard:provideDataForType:

+ - (void) pasteboard: (NSPasteboard*)sender provideDataForType: (NSString*)type;
+

+ +

+
+

pasteboard:provideDataForType:andVersion:

+ - (void) pasteboard: (NSPasteboard*)sender provideDataForType: (NSString*)type andVersion: (int)ver;
+

+ +

+
+

pasteboardChangedOwner:

+ - (void) pasteboardChangedOwner: (NSPasteboard*)sender;
+

+ +

+
+

+ Software documentation for the + NSPasteboard(GNUstepExtensions) + category +

+

NSPasteboard(GNUstepExtensions)

+ Declared: AppKit/NSPasteboard.h
+

+ +

+

mimeTypeForPasteboardType:

+ + (NSString*) mimeTypeForPasteboardType: (NSString*)type;
+

+ +

+
+

pasteboardTypeForMimeType:

+ + (NSString*) pasteboardTypeForMimeType: (NSString*)mimeType;
+

+ +

+
+

setChangeCount:

+ - (void) setChangeCount: (int)count;
+

+ +

+
+

+ Software documentation for the NSURL(NSPasteboard) + category +

+

NSURL(NSPasteboard)

+ Declared: AppKit/NSPasteboard.h
+

+ +

+

URLFromPasteboard:

+ + (NSURL*) URLFromPasteboard: (NSPasteboard*)pasteBoard;
+

+ +

+
+

writeToPasteboard:

+ - (void) writeToPasteboard: (NSPasteboard*)pasteBoard;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSPopUpButton.gsdoc b/Documentation/gsdoc/NSPopUpButton.gsdoc index 62d5cf5a7..f585ac8c9 100644 --- a/Documentation/gsdoc/NSPopUpButton.gsdoc +++ b/Documentation/gsdoc/NSPopUpButton.gsdoc @@ -1,23 +1,30 @@ - - + + NSPopUpButton - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + mhanni@sprintmail.com + + + Popup list class + 1996 Free Software Foundation, Inc. - NSPopUpButton + + Software documentation for the NSPopUpButton class + - Gui/NSPopUpButton.h - NSCoding - - + AppKit/NSPopUpButton.h + + addItemWithTitle: title @@ -75,6 +82,8 @@ initWithFrame: frameRect + pullsDown: + flag @@ -119,11 +128,6 @@ - - menu - - - numberOfItems @@ -156,14 +160,9 @@ - - selectedItem - - - - selectItem - anObject + selectItem: + anObject @@ -179,24 +178,17 @@ + + selectedItem + + + setAutoenablesItems: flag - - setFont: - fontObject - - - - - setMenu: - menu - - - setPreferredEdge: edge @@ -209,7 +201,7 @@ - + setTitle: aString diff --git a/Documentation/gsdoc/NSPopUpButton.html b/Documentation/gsdoc/NSPopUpButton.html index 456e470a5..aee4e22bf 100644 --- a/Documentation/gsdoc/NSPopUpButton.html +++ b/Documentation/gsdoc/NSPopUpButton.html @@ -1,250 +1,230 @@ - - NSPopUpButton - - -[Previous] -[Up] -[Next] -

NSPopUpButton

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSPopUpButton

-

NSPopUpButton

-

Declared in: Gui/NSPopUpButton.h

-

Inherits from: NSButton

-

Conforms to: NSCoding -

-
+ + + NSPopUpButton + + +

NSPopUpButton

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Michael Hanni( + mhanni@sprintmail.com + )
+
+
+
+
+Popup list class
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSPopUpButton class +

+

NSPopUpButton : NSButton

+ Declared: AppKit/NSPopUpButton.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

addItemWithTitle:

-- (void) addItemWithTitle: (NSString*)title;
+

+

addItemWithTitle:

+ - (void) addItemWithTitle: (NSString*)title;
+

- -


-

addItemsWithTitles:

-- (void) addItemsWithTitles: (NSArray*)itemTitles;
+

+
+

addItemsWithTitles:

+ - (void) addItemsWithTitles: (NSArray*)itemTitles;
+

- -


-

autoenablesItems

-- (BOOL) autoenablesItems;
+

+
+

autoenablesItems

+ - (BOOL) autoenablesItems;
+

- -


-

indexOfItem:

-- (int) indexOfItem: (id<NSMenuItem>)anObject;
+

+
+

indexOfItem:

+ - (int) indexOfItem: (id)anObject;
+

- -


-

indexOfItemWithRepresentedObject:

-- (int) indexOfItemWithRepresentedObject: (id)anObject;
+

+
+

indexOfItemWithRepresentedObject:

+ - (int) indexOfItemWithRepresentedObject: (id)anObject;
+

- -


-

indexOfItemWithTag:

-- (int) indexOfItemWithTag: (int)tag;
+

+
+

indexOfItemWithTag:

+ - (int) indexOfItemWithTag: (int)tag;
+

- -


-

indexOfItemWithTarget:andAction:

-- (int) indexOfItemWithTarget: (id)target andAction: (SEL)actionSelector;
+

+
+

indexOfItemWithTarget:andAction:

+ - (int) indexOfItemWithTarget: (id)target andAction: (SEL)actionSelector;
+

- -


-

indexOfItemWithTitle:

-- (int) indexOfItemWithTitle: (NSString*)title;
+

+
+

indexOfItemWithTitle:

+ - (int) indexOfItemWithTitle: (NSString*)title;
+

- -


-

indexOfSelectedItem

-- (int) indexOfSelectedItem;
+

+
+

indexOfSelectedItem

+ - (int) indexOfSelectedItem;
+

- -


-

initWithFrame:

-- (id) initWithFrame: (NSRect)frameRect;
+

+
+

initWithFrame:pullsDown:

+ - (id) initWithFrame: (NSRect)frameRect pullsDown: (BOOL)flag;
+

- -


-

insertItemWithTitle:atIndex:

-- (void) insertItemWithTitle: (NSString*)title atIndex: (int)index;
+

+
+

insertItemWithTitle:atIndex:

+ - (void) insertItemWithTitle: (NSString*)title atIndex: (int)index;
+

- -


-

itemArray

-- (NSArray*) itemArray;
+

+
+

itemArray

+ - (NSArray*) itemArray;
+

- -


-

itemAtIndex:

-- (id<NSMenuItem>) itemAtIndex: (int)index;
+

+
+

itemAtIndex:

+ - (id) itemAtIndex: (int)index;
+

- -


-

itemTitleAtIndex:

-- (NSString*) itemTitleAtIndex: (int)index;
+

+
+

itemTitleAtIndex:

+ - (NSString*) itemTitleAtIndex: (int)index;
+

- -


-

itemTitles

-- (NSArray*) itemTitles;
+

+
+

itemTitles

+ - (NSArray*) itemTitles;
+

- -


-

itemWithTitle:

-- (id<NSMenuItem>) itemWithTitle: (NSString*)title;
+

+
+

itemWithTitle:

+ - (id) itemWithTitle: (NSString*)title;
+

- -


-

lastItem

-- (id<NSMenuItem>) lastItem;
+

+
+

lastItem

+ - (id) lastItem;
+

- -


-

menu

-- (NSMenu*) menu;
+

+
+

numberOfItems

+ - (int) numberOfItems;
+

- -


-

numberOfItems

-- (int) numberOfItems;
+

+
+

preferredEdge

+ - (NSRectEdge) preferredEdge;
+

- -


-

preferredEdge

-- (NSRectEdge) preferredEdge;
+

+
+

pullsDown

+ - (BOOL) pullsDown;
+

- -


-

pullsDown

-- (BOOL) pullsDown;
+

+
+

removeAllItems

+ - (void) removeAllItems;
+

- -


-

removeAllItems

-- (void) removeAllItems;
+

+
+

removeItemAtIndex:

+ - (void) removeItemAtIndex: (int)index;
+

- -


-

removeItemAtIndex:

-- (void) removeItemAtIndex: (int)index;
+

+
+

removeItemWithTitle:

+ - (void) removeItemWithTitle: (NSString*)title;
+

- -


-

removeItemWithTitle:

-- (void) removeItemWithTitle: (NSString*)title;
+

+
+

selectItem:

+ - (void) selectItem: (id)anObject;
+

- -


-

selectedItem

-- (id<NSMenuItem>) selectedItem;
+

+
+

selectItemAtIndex:

+ - (void) selectItemAtIndex: (int)index;
+

- -


-

selectItem

-- (void) selectItem (id <NSMenuItem>)anObject;
+

+
+

selectItemWithTitle:

+ - (void) selectItemWithTitle: (NSString*)title;
+

- -


-

selectItemAtIndex:

-- (void) selectItemAtIndex: (int)index;
+

+
+

selectedItem

+ - (id) selectedItem;
+

- -


-

selectItemWithTitle:

-- (void) selectItemWithTitle: (NSString*)title;
+

+
+

setAutoenablesItems:

+ - (void) setAutoenablesItems: (BOOL)flag;
+

- -


-

setAutoenablesItems:

-- (void) setAutoenablesItems: (BOOL)flag;
+

+
+

setPreferredEdge:

+ - (void) setPreferredEdge: (NSRectEdge)edge;
+

- -


-

setFont:

-- (void) setFont: (NSFont*)fontObject;
+

+
+

setPullsDown:

+ - (void) setPullsDown: (BOOL)flag;
+

- -


-

setMenu:

-- (void) setMenu: (NSMenu*)menu;
+

+
+

setTitle:

+ - (void) setTitle: (NSString*)aString;
+

- -


-

setPreferredEdge:

-- (void) setPreferredEdge: (NSRectEdge)edge;
+

+
+

synchronizeTitleAndSelectedItem

+ - (void) synchronizeTitleAndSelectedItem;
+

- -


-

setPullsDown:

-- (void) setPullsDown: (BOOL)flag;
+

+
+

titleOfSelectedItem

+ - (NSString*) titleOfSelectedItem;
+

- -


-

setTitle:

-- (int) setTitle: (NSString*)aString;
- - -
-

synchronizeTitleAndSelectedItem

-- (void) synchronizeTitleAndSelectedItem;
- - -
-

titleOfSelectedItem

-- (NSString*) titleOfSelectedItem;
- - -
- - - +

+
+ + diff --git a/Documentation/gsdoc/NSPopUpButtonCell.gsdoc b/Documentation/gsdoc/NSPopUpButtonCell.gsdoc index 820b57e55..1a31aaf10 100644 --- a/Documentation/gsdoc/NSPopUpButtonCell.gsdoc +++ b/Documentation/gsdoc/NSPopUpButtonCell.gsdoc @@ -1,23 +1,24 @@ - - + + NSPopUpButtonCell - - - + + + mhanni@sprintmail.com + - $Revision$ - $Date$ + 1999 Free Software Foundation, Inc. - NSPopUpButtonCell + + Software documentation for the NSPopUpButtonCell class + - Gui/NSPopUpButtonCell.h - NSCoding - - + AppKit/NSPopUpButtonCell.h + + addItemWithTitle: title @@ -43,6 +44,8 @@ attachPopUpWithFrame: cellFrame + inView: + controlView @@ -70,13 +73,13 @@ indexOfItemWithTag: - tag + aTag indexOfItemWithTarget: - target + aTarget andAction: actionSelector @@ -96,6 +99,8 @@ initTextCell: stringValue + pullsDown: + pullDown @@ -150,12 +155,6 @@ - - performClick: - sender - - - performClickWithFrame: frame @@ -191,11 +190,6 @@ - - selectedItem - - - selectItem: item @@ -214,6 +208,11 @@ + + selectedItem + + + setAltersStateOfSelectedItem: flag diff --git a/Documentation/gsdoc/NSPopUpButtonCell.html b/Documentation/gsdoc/NSPopUpButtonCell.html index d8cb5f637..a42a7707f 100644 --- a/Documentation/gsdoc/NSPopUpButtonCell.html +++ b/Documentation/gsdoc/NSPopUpButtonCell.html @@ -1,304 +1,289 @@ - - NSPopUpButtonCell - - -[Previous] -[Up] -[Next] -

NSPopUpButtonCell

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSPopUpButtonCell

-

NSPopUpButtonCell

-

Declared in: Gui/NSPopUpButtonCell.h

-

Inherits from: NSMenuItemCell

-

Conforms to: NSCoding -

-
+ + + NSPopUpButtonCell + + +

NSPopUpButtonCell

+

Authors

+
+
Michael Hanni( + mhanni@sprintmail.com + )
+
+
+
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSPopUpButtonCell class +

+

NSPopUpButtonCell : NSMenuItemCell

+ Declared: AppKit/NSPopUpButtonCell.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

addItemWithTitle:

-- (void) addItemWithTitle: (NSString*)title;
+

+

addItemWithTitle:

+ - (void) addItemWithTitle: (NSString*)title;
+

- -


-

addItemsWithTitles:

-- (void) addItemsWithTitles: (NSArray*)itemTitles;
+

+
+

addItemsWithTitles:

+ - (void) addItemsWithTitles: (NSArray*)itemTitles;
+

- -


-

altersStateOfSelectedItem

-- (BOOL) altersStateOfSelectedItem;
+

+
+

altersStateOfSelectedItem

+ - (BOOL) altersStateOfSelectedItem;
+

- -


-

arrowPosition

-- (NSPopUpArrowPosition) arrowPosition;
+

+
+

arrowPosition

+ - (NSPopUpArrowPosition) arrowPosition;
+

- -


-

attachPopUpWithFrame:

-- (void) attachPopUpWithFrame: (NSRect)cellFrame;
+

+
+

attachPopUpWithFrame:inView:

+ - (void) attachPopUpWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
+

- -


-

autoenablesItems

-- (BOOL) autoenablesItems;
+

+
+

autoenablesItems

+ - (BOOL) autoenablesItems;
+

- -


-

dismissPopUp

-- (void) dismissPopUp;
+

+
+

dismissPopUp

+ - (void) dismissPopUp;
+

- -


-

indexOfItem:

-- (int) indexOfItem: (id<NSMenuItem>)item;
+

+
+

indexOfItem:

+ - (int) indexOfItem: (id)item;
+

- -


-

indexOfItemWithRepresentedObject:

-- (int) indexOfItemWithRepresentedObject: (id)obj;
+

+
+

indexOfItemWithRepresentedObject:

+ - (int) indexOfItemWithRepresentedObject: (id)obj;
+

- -


-

indexOfItemWithTag:

-- (int) indexOfItemWithTag: (int)tag;
+

+
+

indexOfItemWithTag:

+ - (int) indexOfItemWithTag: (int)aTag;
+

- -


-

indexOfItemWithTarget:andAction:

-- (int) indexOfItemWithTarget: (id)target andAction: (SEL)actionSelector;
+

+
+

indexOfItemWithTarget:andAction:

+ - (int) indexOfItemWithTarget: (id)aTarget andAction: (SEL)actionSelector;
+

- -


-

indexOfItemWithTitle:

-- (int) indexOfItemWithTitle: (NSString*)title;
+

+
+

indexOfItemWithTitle:

+ - (int) indexOfItemWithTitle: (NSString*)title;
+

- -


-

indexOfSelectedItem

-- (int) indexOfSelectedItem;
+

+
+

indexOfSelectedItem

+ - (int) indexOfSelectedItem;
+

- -


-

initTextCell:

-- (id) initTextCell: (NSString*)stringValue;
+

+
+

initTextCell:pullsDown:

+ - (id) initTextCell: (NSString*)stringValue pullsDown: (BOOL)pullDown;
+

- -


-

insertItemWithTitle:atIndex:

-- (void) insertItemWithTitle: (NSString*)title atIndex: (int)index;
+

+
+

insertItemWithTitle:atIndex:

+ - (void) insertItemWithTitle: (NSString*)title atIndex: (int)index;
+

- -


-

itemArray

-- (NSArray*) itemArray;
+

+
+

itemArray

+ - (NSArray*) itemArray;
+

- -


-

itemAtIndex:

-- (id<NSMenuItem>) itemAtIndex: (int)index;
+

+
+

itemAtIndex:

+ - (id) itemAtIndex: (int)index;
+

- -


-

itemTitleAtIndex:

-- (NSString*) itemTitleAtIndex: (int)index;
+

+
+

itemTitleAtIndex:

+ - (NSString*) itemTitleAtIndex: (int)index;
+

- -


-

itemTitles

-- (NSArray*) itemTitles;
+

+
+

itemTitles

+ - (NSArray*) itemTitles;
+

- -


-

itemWithTitle:

-- (id<NSMenuItem>) itemWithTitle: (NSString*)title;
+

+
+

itemWithTitle:

+ - (id) itemWithTitle: (NSString*)title;
+

- -


-

lastItem

-- (id<NSMenuItem>) lastItem;
+

+
+

lastItem

+ - (id) lastItem;
+

- -


-

menu

-- (NSMenu*) menu;
+

+
+

menu

+ - (NSMenu*) menu;
+

- -


-

numberOfItems

-- (int) numberOfItems;
+

+
+

numberOfItems

+ - (int) numberOfItems;
+

- -


-

performClick:

-- (void) performClick: (id)sender;
+

+
+

performClickWithFrame:inView:

+ - (void) performClickWithFrame: (NSRect)frame inView: (NSView*)controlView;
+

- -


-

performClickWithFrame:inView:

-- (void) performClickWithFrame: (NSRect)frame inView: (NSView*)controlView;
+

+
+

preferredEdge

+ - (NSRectEdge) preferredEdge;
+

- -


-

preferredEdge

-- (NSRectEdge) preferredEdge;
+

+
+

pullsDown

+ - (BOOL) pullsDown;
+

- -


-

pullsDown

-- (BOOL) pullsDown;
+

+
+

removeAllItems

+ - (void) removeAllItems;
+

- -


-

removeAllItems

-- (void) removeAllItems;
+

+
+

removeItemAtIndex:

+ - (void) removeItemAtIndex: (int)index;
+

- -


-

removeItemAtIndex:

-- (void) removeItemAtIndex: (int)index;
+

+
+

removeItemWithTitle:

+ - (void) removeItemWithTitle: (NSString*)title;
+

- -


-

removeItemWithTitle:

-- (void) removeItemWithTitle: (NSString*)title;
+

+
+

selectItem:

+ - (void) selectItem: (id)item;
+

- -


-

selectedItem

-- (id<NSMenuItem>) selectedItem;
+

+
+

selectItemAtIndex:

+ - (void) selectItemAtIndex: (int)index;
+

- -


-

selectItem:

-- (void) selectItem: (id<NSMenuItem>)item;
+

+
+

selectItemWithTitle:

+ - (void) selectItemWithTitle: (NSString*)title;
+

- -


-

selectItemAtIndex:

-- (void) selectItemAtIndex: (int)index;
+

+
+

selectedItem

+ - (id) selectedItem;
+

- -


-

selectItemWithTitle:

-- (void) selectItemWithTitle: (NSString*)title;
+

+
+

setAltersStateOfSelectedItem:

+ - (void) setAltersStateOfSelectedItem: (BOOL)flag;
+

- -


-

setAltersStateOfSelectedItem:

-- (void) setAltersStateOfSelectedItem: (BOOL)flag;
+

+
+

setArrowPosition:

+ - (void) setArrowPosition: (NSPopUpArrowPosition)position;
+

- -


-

setArrowPosition:

-- (void) setArrowPosition: (NSPopUpArrowPosition)position;
+

+
+

setAutoenablesItems:

+ - (void) setAutoenablesItems: (BOOL)flag;
+

- -


-

setAutoenablesItems:

-- (void) setAutoenablesItems: (BOOL)flag;
+

+
+

setMenu:

+ - (void) setMenu: (NSMenu*)menu;
+

- -


-

setMenu:

-- (void) setMenu: (NSMenu*)menu;
+

+
+

setPreferredEdge:

+ - (void) setPreferredEdge: (NSRectEdge)edge;
+

- -


-

setPreferredEdge:

-- (void) setPreferredEdge: (NSRectEdge)edge;
+

+
+

setPullsDown:

+ - (void) setPullsDown: (BOOL)flag;
+

- -


-

setPullsDown:

-- (void) setPullsDown: (BOOL)flag;
+

+
+

setTitle:

+ - (void) setTitle: (NSString*)aString;
+

- -


-

setTitle:

-- (void) setTitle: (NSString*)aString;
+

+
+

setUsesItemFromMenu:

+ - (void) setUsesItemFromMenu: (BOOL)flag;
+

- -


-

setUsesItemFromMenu:

-- (void) setUsesItemFromMenu: (BOOL)flag;
+

+
+

synchronizeTitleAndSelectedItem

+ - (void) synchronizeTitleAndSelectedItem;
+

- -


-

synchronizeTitleAndSelectedItem

-- (void) synchronizeTitleAndSelectedItem;
+

+
+

titleOfSelectedItem

+ - (NSString*) titleOfSelectedItem;
+

- -


-

titleOfSelectedItem

-- (NSString*) titleOfSelectedItem;
+

+
+

usesItemFromMenu

+ - (BOOL) usesItemFromMenu;
+

- -


-

usesItemFromMenu

-- (BOOL) usesItemFromMenu;
- - -
- - - +

+
+ + diff --git a/Documentation/gsdoc/NSPrintInfo.gsdoc b/Documentation/gsdoc/NSPrintInfo.gsdoc index 52381f3cd..9c506abbd 100644 --- a/Documentation/gsdoc/NSPrintInfo.gsdoc +++ b/Documentation/gsdoc/NSPrintInfo.gsdoc @@ -1,18 +1,22 @@ - - + + NSPrintInfo - sgf@frankau.demon.co.uk + + sgf@frankau.demon.co.uk + - fedor@gnu.org + + fedor@gnu.org + Stores information used in printing. - (C) 1996,1997 Free Software Foundation, Inc. + 1996,1997 Free Software Foundation, Inc. @@ -23,7 +27,7 @@ and the destination information for printing.

- ../../Headers/gnustep/gui/NSPrintInfo.h + AppKit/NSPrintInfo.h NSCoding NSCopying diff --git a/Documentation/gsdoc/NSPrintInfo.html b/Documentation/gsdoc/NSPrintInfo.html index 4eefc0c3b..3e01aca49 100644 --- a/Documentation/gsdoc/NSPrintInfo.html +++ b/Documentation/gsdoc/NSPrintInfo.html @@ -1,239 +1,244 @@ - - NSPrintInfo - - -[Previous] -[Up] -[Next] -

NSPrintInfo

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSPrintInfo

-

NSPrintInfo

-

Declared in: Gui/NSPrintInfo.h

-

Inherits from: NSObject

-

Conforms to: NSCoding -

-
+ + + NSPrintInfo + + +

NSPrintInfo

+

Authors

+
+
Simon Frankau( + sgf@frankau.demon.co.uk + )
+
+
+
Adam Fedor( + fedor@gnu.org + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

defaultPrinter

-+ (NSPrinter*) defaultPrinter;
+ Stores information used in printing. +
+

Copyright: (C) 1996,1997 Free Software Foundation, Inc.

+

Class Description

+

- -


-

setDefaultPrinter:

-+ (void) setDefaultPrinter: (NSPrinter*)aPrinter;
+ NSPrintInfo is a storage object that stores + information that describes how a view is to printed + and the destination information for printing. +

+

NSPrintInfo : NSObject

+ Declared: AppKit/NSPrintInfo.h
+ Conform: NSCoding
+ Conform: NSCopying
+

- -


-

setSharedPrintInfo:

-+ (void) setSharedPrintInfo: (NSPrintInfo*)printInfo;
+

+

defaultPrinter

+ + (NSPrinter*) defaultPrinter;
+

- -


-

sharedPrintInfo

-+ (NSPrintInfo*) sharedPrintInfo;
+

+
+

setDefaultPrinter:

+ + (void) setDefaultPrinter: (NSPrinter*)printer;
+

- -


-

sizeForPaperName:

-+ (NSSize) sizeForPaperName: (NSString*)name;
+

+
+

setSharedPrintInfo:

+ + (void) setSharedPrintInfo: (NSPrintInfo*)printInfo;
+

- -


-

Instances Methods

-

bottomMargin

-- (float) bottomMargin;
+

+
+

sharedPrintInfo

+ + (NSPrintInfo*) sharedPrintInfo;
+

- -


-

dictionary

-- (NSMutableDictionary*) dictionary;
+

+
+

sizeForPaperName:

+ + (NSSize) sizeForPaperName: (NSString*)name;
+

- -


-

horizontalPagination

-- (NSPrintingPaginationMode) horizontalPagination;
+

+
+

bottomMargin

+ - (float) bottomMargin;
+

- -


-

initWithDictionary:

-- (id) initWithDictionary: (NSDictionary*)aDictionary;
+

+
+

dictionary

+ - (NSMutableDictionary*) dictionary;
+

- -


-

isHorizontallyCentered

-- (BOOL) isHorizontallyCentered;
+

+
+

horizontalPagination

+ - (NSPrintingPaginationMode) horizontalPagination;
+

- -


-

isVerticallyCentered

-- (BOOL) isVerticallyCentered;
+

+
+

initWithDictionary:

+ - (id) initWithDictionary: (NSDictionary*)aDict;
+

- -


-

jobDisposition

-- (NSString*) jobDisposition;
+

+
+

isHorizontallyCentered

+ - (BOOL) isHorizontallyCentered;
+

- -


-

leftMargin

-- (float) leftMargin;
+

+
+

isVerticallyCentered

+ - (BOOL) isVerticallyCentered;
+

- -


-

orientation

-- (NSPrintingOrientation) orientation;
+

+
+

jobDisposition

+ - (NSString*) jobDisposition;
+

- -


-

paperName

-- (NSString*) paperName;
+

+
+

leftMargin

+ - (float) leftMargin;
+

- -


-

paperSize

-- (NSSize) paperSize;
+

+
+

orientation

+ - (NSPrintingOrientation) orientation;
+

- -


-

printer

-- (NSPrinter*) printer;
+

+
+

paperName

+ - (NSString*) paperName;
+

- -


-

rightMargin

-- (float) rightMargin;
+

+
+

paperSize

+ - (NSSize) paperSize;
+

- -


-

setBottomMargin:

-- (void) setBottomMargin: (float)margin;
+

+
+

printer

+ - (NSPrinter*) printer;
+

- -


-

setHorizontalPagination:

-- (void) setHorizontalPagination: (NSPrintingPaginationMode)mode;
+

+
+

rightMargin

+ - (float) rightMargin;
+

- -


-

setHorizontallyCentered:

-- (void) setHorizontallyCentered: (BOOL)flag;
+

+
+

setBottomMargin:

+ - (void) setBottomMargin: (float)value;
+

- -


-

setJobDisposition:

-- (void) setJobDisposition: (NSString*)disposition;
+

+
+

setHorizontalPagination:

+ - (void) setHorizontalPagination: (NSPrintingPaginationMode)mode;
+

- -


-

setLeftMargin:

-- (void) setLeftMargin: (float)margin;
+

+
+

setHorizontallyCentered:

+ - (void) setHorizontallyCentered: (BOOL)flag;
+

- -


-

setOrientation:

-- (void) setOrientation: (NSPrintingOrientation)orientation;
+

+
+

setJobDisposition:

+ - (void) setJobDisposition: (NSString*)disposition;
+

- -


-

setPaperName:

-- (void) setPaperName: (NSString*)name;
+

+
+

setLeftMargin:

+ - (void) setLeftMargin: (float)value;
+

- -


-

setPaperSize:

-- (void) setPaperSize: (NSSize)aSize;
+

+
+

setOrientation:

+ - (void) setOrientation: (NSPrintingOrientation)mode;
+

- -


-

setPrinter:

-- (void) setPrinter: (NSPrinter*)aPrinter;
+

+
+

setPaperName:

+ - (void) setPaperName: (NSString*)name;
+

- -


-

setRightMargin:

-- (void) setRightMargin: (float)margin;
+

+
+

setPaperSize:

+ - (void) setPaperSize: (NSSize)size;
+

- -


-

setTopMargin:

-- (void) setTopMargin: (float)margin;
+

+
+

setPrinter:

+ - (void) setPrinter: (NSPrinter*)aPrinter;
+

- -


-

setUpPrintOperationDefaultValues

-- (void) setUpPrintOperationDefaultValues;
+

+
+

setRightMargin:

+ - (void) setRightMargin: (float)value;
+

- -


-

setVerticalPagination:

-- (void) setVerticalPagination: (NSPrintingPaginationMode)mode;
+

+
+

setTopMargin:

+ - (void) setTopMargin: (float)value;
+

- -


-

setVerticallyCentered:

-- (void) setVerticallyCentered: (BOOL)flag;
+

+
+

setUpPrintOperationDefaultValues

+ - (void) setUpPrintOperationDefaultValues;
+

- -


-

topMargin

-- (float) topMargin;
+

+
+

setVerticalPagination:

+ - (void) setVerticalPagination: (NSPrintingPaginationMode)mode;
+

- -


-

verticalPagination

-- (NSPrintingPaginationMode) verticalPagination;
+

+
+

setVerticallyCentered:

+ - (void) setVerticallyCentered: (BOOL)flag;
+

- -


- - - +

+
+

topMargin

+ - (float) topMargin;
+

+ +

+
+

verticalPagination

+ - (NSPrintingPaginationMode) verticalPagination;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSPrintOperation.gsdoc b/Documentation/gsdoc/NSPrintOperation.gsdoc index 3f66d92c2..c1bdf5717 100644 --- a/Documentation/gsdoc/NSPrintOperation.gsdoc +++ b/Documentation/gsdoc/NSPrintOperation.gsdoc @@ -1,18 +1,27 @@ - - + + NSPrintOperation + + + scottc@net-community.com + + - FredKiefer@gmx.de + + FredKiefer@gmx.de + - fedor@gnu.org + + fedor@gnu.org + Controls generation of EPS, PDF or PS print jobs. - (C) 1996 Free Software Foundation, Inc. + 1996 Free Software Foundation, Inc. @@ -30,7 +39,7 @@ PostScript file, or another output.

- ../../Headers/gnustep/gui/NSPrintOperation.h + AppKit/NSPrintOperation.h diff --git a/Documentation/gsdoc/NSPrintOperation.html b/Documentation/gsdoc/NSPrintOperation.html index e55f97769..9a6e9b788 100644 --- a/Documentation/gsdoc/NSPrintOperation.html +++ b/Documentation/gsdoc/NSPrintOperation.html @@ -1,24 +1,34 @@ - - NSPrintOperation - - -[Previous] -[Up] -[Next] -

NSPrintOperation

-

Authors

-
-
Fred Kiefer -
-
Adam Fedor -
-
-
+ + + NSPrintOperation + + +

NSPrintOperation

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Fred Kiefer( + FredKiefer@gmx.de + )
+
+
+
Adam Fedor( + fedor@gnu.org + )
+
+
+
+
+ Controls generation of EPS, PDF or PS print jobs. -
-

Copyright: (C) 1996 Free Software Foundation, Inc.

-

Class Description

-

+

+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

Class Description

+

NSPrintOperation controls printing of an NSView. When invoked normally it will (optionally) @@ -30,102 +40,71 @@ sized and oriented pages and finally delivers the result to the appropriate place, whether it be a printer, and PostScript file, or another output. -

-

NSPrintOperation

-

Declared in: ../../Headers/gnustep/gui/NSPrintOperation.h

-

Inherits from: NSObject

-
+

+

NSPrintOperation : NSObject

+ Declared: AppKit/NSPrintOperation.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

EPSOperationWithView:insideRect:toData:

-+ (NSPrintOperation*) EPSOperationWithView: (NSView*)aView insideRect: (NSRect)rect toData: (NSMutableData*)data;
+

+

EPSOperationWithView:insideRect:toData:

+ + (NSPrintOperation*) EPSOperationWithView: (NSView*)aView insideRect: (NSRect)rect toData: (NSMutableData*)data;
+

- -


-

EPSOperationWithView:insideRect:toData:printInfo:

-+ (NSPrintOperation*) EPSOperationWithView: (NSView*)aView insideRect: (NSRect)rect toData: (NSMutableData*)data printInfo: (NSPrintInfo*)aPrintInfo;
+

+
+

EPSOperationWithView:insideRect:toData:printInfo:

+ + (NSPrintOperation*) EPSOperationWithView: (NSView*)aView insideRect: (NSRect)rect toData: (NSMutableData*)data printInfo: (NSPrintInfo*)aPrintInfo;
+

- -


-

EPSOperationWithView:insideRect:toPath:printInfo:

-+ (NSPrintOperation*) EPSOperationWithView: (NSView*)aView insideRect: (NSRect)rect toPath: (NSString*)path printInfo: (NSPrintInfo*)aPrintInfo;
+

+
+

EPSOperationWithView:insideRect:toPath:printInfo:

+ + (NSPrintOperation*) EPSOperationWithView: (NSView*)aView insideRect: (NSRect)rect toPath: (NSString*)path printInfo: (NSPrintInfo*)aPrintInfo;
+

- -


-

PDFOperationWithView:insideRect:toData:

-+ (NSPrintOperation*) PDFOperationWithView: (NSView*)aView insideRect: (NSRect)rect toData: (NSMutableData*)data;
+

+
+

PDFOperationWithView:insideRect:toData:

+ + (NSPrintOperation*) PDFOperationWithView: (NSView*)aView insideRect: (NSRect)rect toData: (NSMutableData*)data;
+

- -


-

PDFOperationWithView:insideRect:toData:printInfo:

-+ (NSPrintOperation*) PDFOperationWithView: (NSView*)aView insideRect: (NSRect)rect toData: (NSMutableData*)data printInfo: (NSPrintInfo*)aPrintInfo;
+

+
+

PDFOperationWithView:insideRect:toData:printInfo:

+ + (NSPrintOperation*) PDFOperationWithView: (NSView*)aView insideRect: (NSRect)rect toData: (NSMutableData*)data printInfo: (NSPrintInfo*)aPrintInfo;
+

- -


-

PDFOperationWithView:insideRect:toPath:printInfo:

-+ (NSPrintOperation*) PDFOperationWithView: (NSView*)aView insideRect: (NSRect)rect toPath: (NSString*)path printInfo: (NSPrintInfo*)aPrintInfo;
+

+
+

PDFOperationWithView:insideRect:toPath:printInfo:

+ + (NSPrintOperation*) PDFOperationWithView: (NSView*)aView insideRect: (NSRect)rect toPath: (NSString*)path printInfo: (NSPrintInfo*)aPrintInfo;
+

- -


-

currentOperation

-+ (NSPrintOperation*) currentOperation;
+

+
+

currentOperation

+ + (NSPrintOperation*) currentOperation;
+

Returns the NSPrintOperation object that is currently performing a print operation (if any). - -


-

printOperationWithView:

-+ (NSPrintOperation*) printOperationWithView: (NSView*)aView;
+

+
+

printOperationWithView:

+ + (NSPrintOperation*) printOperationWithView: (NSView*)aView;
+

- -


-

printOperationWithView:printInfo:

-+ (NSPrintOperation*) printOperationWithView: (NSView*)aView printInfo: (NSPrintInfo*)aPrintInfo;
+

+
+

printOperationWithView:printInfo:

+ + (NSPrintOperation*) printOperationWithView: (NSView*)aView printInfo: (NSPrintInfo*)aPrintInfo;
+

- -


-

setCurrentOperation:

-+ (void) setCurrentOperation: (NSPrintOperation*)operation;
+

+
+

setCurrentOperation:

+ + (void) setCurrentOperation: (NSPrintOperation*)operation;
+

Set the current NSPrintOperation to the supplied operation object. As this is currently @@ -134,150 +113,170 @@ lost (along with any associated context), so be careful to call this only when there is no current operation. - -


-

Instances Methods

-

accessoryView

-- (NSView*) accessoryView;
+

+
+

accessoryView

+ - (NSView*) accessoryView;
+

Returns the accessory view used by the NSPrintPanel associated with the receiver. - -


-

cleanUpOperation

-- (void) cleanUpOperation;
+

+
+

cleanUpOperation

+ - (void) cleanUpOperation;
+

Called by the print operation and it has finished running a printing operation. - -


-

context

-- (NSGraphicsContext*) context;
+

+
+

context

+ - (NSGraphicsContext*) context;
+

Returns the graphic contexts used by the print operation. - -


-

createContext

-- (NSGraphicsContext*) createContext;
+

+
+

createContext

+ - (NSGraphicsContext*) createContext;
+

This method is used by the print operation to create a special graphics context for use while running the print operation. - -


-

currentPage

-- (int) currentPage;
+

+
+

currentPage

+ - (int) currentPage;
+

Returns the page currently being printing. Returns 0 if no page is currently being printed - -


-

deliverResult

-- (BOOL) deliverResult;
+

+
+

deliverResult

+ - (BOOL) deliverResult;
+

Called by the print operation to deliver the results of the printing operation. This might include sending the output to a printer, a file or a previewing program. Returns YES if the output was delivered sucessfully. - -


-

destroyContext

-- (void) destroyContext;
+

+
+

destroyContext

+ - (void) destroyContext;
+

This method is used by the print operation to destroy the special graphic context used while running the print operation. - -


-

initEPSOperationWithView:insideRect:toData:printInfo:

-- (id) initEPSOperationWithView: (NSView*)aView insideRect: (NSRect)rect toData: (NSMutableData*)data printInfo: (NSPrintInfo*)aPrintInfo;
+

+
+

initEPSOperationWithView:insideRect:toData:printInfo:

+ - (id) initEPSOperationWithView: (NSView*)aView insideRect: (NSRect)rect toData: (NSMutableData*)data printInfo: (NSPrintInfo*)aPrintInfo;
+

- -


-

initWithView:printInfo:

-- (id) initWithView: (NSView*)aView printInfo: (NSPrintInfo*)aPrintInfo;
+

+
+

initWithView:printInfo:

+ - (id) initWithView: (NSView*)aView printInfo: (NSPrintInfo*)aPrintInfo;
+

- -


-

isCopyingOperation

-- (BOOL) isCopyingOperation;
+

+
+

isCopyingOperation

+ - (BOOL) isCopyingOperation;
+

- -


-

isEPSOperation

-- (BOOL) isEPSOperation;
+

+
+

isEPSOperation

+ - (BOOL) isEPSOperation;
+

Returns YES if the receiver is performing an operation whose output is EPS format. - -


-

pageOrder

-- (NSPrintingPageOrder) pageOrder;
+

+
+

pageOrder

+ - (NSPrintingPageOrder) pageOrder;
+

Returns the page order of printing. - -


-

printInfo

-- (NSPrintInfo*) printInfo;
+

+
+

printInfo

+ - (NSPrintInfo*) printInfo;
+

Returns the NSPrintInfo object associated with the receiver. - -


-

printPanel

-- (NSPrintPanel*) printPanel;
+

+
+

printPanel

+ - (NSPrintPanel*) printPanel;
+

Returns the NSPrintPanel associated with the receiver. - -


-

runOperation

-- (BOOL) runOperation;
+

+
+

runOperation

+ - (BOOL) runOperation;
+

Call this message to run the print operation on a view. This includes (optionally) displaying a print panel and working with the NSView to paginate and draw the contents of the view. - -


-

runOperationModalForWindow:delegate:didRunSelector:contextInfo:

-- (void) runOperationModalForWindow: (NSWindow*)docWindow delegate: (id)delegate didRunSelector: (SEL)didRunSelector contextInfo: (void*)contextInfo;
+

+
+

runOperationModalForWindow:delegate:didRunSelector:contextInfo:

+ - (void) runOperationModalForWindow: (NSWindow*)docWindow delegate: (id)delegate didRunSelector: (SEL)didRunSelector contextInfo: (void*)contextInfo;
+

Run a print operation modally with respect to a window. - -


-

setAccessoryView:

-- (void) setAccessoryView: (NSView*)aView;
+

+
+

setAccessoryView:

+ - (void) setAccessoryView: (NSView*)aView;
+

Set the accessory view used by the NSPrintPanel associated with the receiver. - -


-

setPageOrder:

-- (void) setPageOrder: (NSPrintingPageOrder)order;
+

+
+

setPageOrder:

+ - (void) setPageOrder: (NSPrintingPageOrder)order;
+

Set the page order used when printing. - -


-

setPrintInfo:

-- (void) setPrintInfo: (NSPrintInfo*)aPrintInfo;
+

+
+

setPrintInfo:

+ - (void) setPrintInfo: (NSPrintInfo*)aPrintInfo;
+

Set the NSPrintInfo object associated with the receiver. - -


-

setPrintPanel:

-- (void) setPrintPanel: (NSPrintPanel*)panel;
+

+
+

setPrintPanel:

+ - (void) setPrintPanel: (NSPrintPanel*)panel;
+

Sets the NSPrintPanel used by the receiver obtaining and displaying printing information from/to the user. - -


-

setShowPanels:

-- (void) setShowPanels: (BOOL)flag;
+

+
+

setShowPanels:

+ - (void) setShowPanels: (BOOL)flag;
+

Use this to set whether a print panel is displayed during a printing operation. If set to @@ -285,22 +284,23 @@ that was previously set and does not display any status information about the progress of the printing operation. - -


-

showPanels

-- (BOOL) showPanels;
+

+
+

showPanels

+ - (BOOL) showPanels;
+

Returns YES if the reciever display an NSPrintPanel and other information when running a print operation. - -


-

view

-- (NSView*) view;
+

+
+

view

+ - (NSView*) view;
+

Return the view that is the being printed. - -


- - - +

+
+ + diff --git a/Documentation/gsdoc/NSPrintPanel.gsdoc b/Documentation/gsdoc/NSPrintPanel.gsdoc index 539328a5e..fd42d342e 100644 --- a/Documentation/gsdoc/NSPrintPanel.gsdoc +++ b/Documentation/gsdoc/NSPrintPanel.gsdoc @@ -1,15 +1,17 @@ - - + + NSPrintPanel - fedor@gnu.org + + fedor@gnu.org + Standard panel for querying user about printing. - (C) 2001 Free Software Foundation, Inc. + 2001 Free Software Foundation, Inc. @@ -29,7 +31,7 @@ with a NO argument.

- ../../Headers/gnustep/gui/NSPrintPanel.h + AppKit/NSPrintPanel.h diff --git a/Documentation/gsdoc/NSPrintPanel.html b/Documentation/gsdoc/NSPrintPanel.html index 3f29d4f2d..ca14b278d 100644 --- a/Documentation/gsdoc/NSPrintPanel.html +++ b/Documentation/gsdoc/NSPrintPanel.html @@ -1,19 +1,24 @@ - - NSPrintPanel - - -

NSPrintPanel

-

Authors

-
-
Adam Fedor -
-
-
+ + + NSPrintPanel + + +

NSPrintPanel

+

Authors

+
+
Adam Fedor( + fedor@gnu.org + )
+
+
+
+
+ Standard panel for querying user about printing. -
-

Copyright: (C) 2001 Free Software Foundation, Inc.

-

Class Description

-

+

+

Copyright: (C) 2001 Free Software Foundation, Inc.

+

Class Description

+

NSPrintPanel provides a standard print panel allowing the user to specify information about how a @@ -27,102 +32,92 @@ You can avoid showing the print panel by sending the setShowsPanels: message in the print operation with a NO argument. -

-

NSPrintPanel

-

Declared in: NSPrintPanel.h

-

Inherits from: NSPanel

-
+

+

NSPrintPanel : NSPanel

+ Declared: AppKit/NSPrintPanel.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

printPanel

-+ (NSPrintPanel*) printPanel;
+

+

printPanel

+ + (NSPrintPanel*) printPanel;
+

Creates and returns a shared instance of the NSPrintPanel panel. - -


-

Instances Methods

-

accessoryView

-- (NSView*) accessoryView;
+

+
+

accessoryView

+ - (NSView*) accessoryView;
+

Returns the accessory view for the print panel - -


-

beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:

-- (void) beginSheetWithPrintInfo: (NSPrintInfo*)printInfo modalForWindow: (NSWindow*)docWindow delegate: (id)delegate didEndSelector: (SEL)didEndSelector contextInfo: (void*)contextInfo;
+

+
+

beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:

+ - (void) beginSheetWithPrintInfo: (NSPrintInfo*)printInfo modalForWindow: (NSWindow*)docWindow delegate: (id)delegate didEndSelector: (SEL)didEndSelector contextInfo: (void*)contextInfo;
+

- -


-

finalWritePrintInfo

-- (void) finalWritePrintInfo;
+

+
+

finalWritePrintInfo

+ - (void) finalWritePrintInfo;
+

Saves information set by the user in the receiver's panel in the NSPrintInfo object from the current NSPrintOperation. - -


-

pickedAllPages:

-- (void) pickedAllPages: (id)sender;
+

+
+

pickedAllPages:

+ - (void) pickedAllPages: (id)sender;
+

This method has been depreciated. It doesn't do anything useful. - -


-

pickedButton:

-- (void) pickedButton: (id)sender;
+

+
+

pickedButton:

+ - (void) pickedButton: (id)sender;
+

This method has been depreciated. It doesn't do anything useful. - -


-

pickedLayoutList:

-- (void) pickedLayoutList: (id)sender;
+

+
+

pickedLayoutList:

+ - (void) pickedLayoutList: (id)sender;
+

This method has been depreciated. It doesn't do anything useful. - -


-

runModal

-- (int) runModal;
+

+
+

runModal

+ - (int) runModal;
+

Display the Print panel in a modal loop. Saves any aquired information in the NSPrintInfo object for the current NSPrintOperation. Returns NSCancelButton if the user clicks the Cancel button or NSOKButton otherwise. - -


-

setAccessoryView:

-- (void) setAccessoryView: (NSView*)aView;
+

+
+

setAccessoryView:

+ - (void) setAccessoryView: (NSView*)aView;
+

Set the accessory view for the print panel - -


-

updateFromPrintInfo

-- (void) updateFromPrintInfo;
+

+
+

updateFromPrintInfo

+ - (void) updateFromPrintInfo;
+

Setup the display in the receiver's panel based on the values stored in the NSPrintInfo object from the current NSPrintOperation. - -


- - - +

+
+ + diff --git a/Documentation/gsdoc/NSPrinter.gsdoc b/Documentation/gsdoc/NSPrinter.gsdoc index d26c065ac..a3261b4f3 100644 --- a/Documentation/gsdoc/NSPrinter.gsdoc +++ b/Documentation/gsdoc/NSPrinter.gsdoc @@ -1,23 +1,25 @@ - - + + NSPrinter - - - - - $Revision$ - $Date$ + + + Class representing a printer's or printer model's + capabilities. + + 1996, 1997 Free Software Foundation, Inc. - NSPrinter + + Software documentation for the NSPrinter class + - Gui/NSPrinter.h + AppKit/NSPrinter.h NSCoding - - + + printerNames @@ -34,16 +36,6 @@ - - printerWithName: - name - domain: - domain - includeUnavailable: - includeUnavailable - - - printerWithType: type @@ -68,8 +60,9 @@ - - domain + + encodeWithCoder: + aCoder @@ -92,6 +85,12 @@ + + initWithCoder: + aDecoder + + + intForKey: key @@ -107,7 +106,7 @@ isFontAvailable: - faceName + fontName diff --git a/Documentation/gsdoc/NSPrinter.html b/Documentation/gsdoc/NSPrinter.html index 933a8af36..f9cce0445 100644 --- a/Documentation/gsdoc/NSPrinter.html +++ b/Documentation/gsdoc/NSPrinter.html @@ -1,197 +1,191 @@ - - NSPrinter - - -[Previous] -[Up] -[Next] -

NSPrinter

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSPrinter

-

NSPrinter

-

Declared in: Gui/NSPrinter.h

-

Inherits from: NSObject

-

Conforms to: NSCoding -

-
+ + + NSPrinter + + +

NSPrinter

+

Authors

+
+
Generated by fedor
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

printerNames

-+ (NSArray*) printerNames;
+ Class representing a printer's or printer model's + capabilities. +
+

Copyright: (C) 1996, 1997 Free Software Foundation, Inc.

+

+ Software documentation for the NSPrinter class +

+

NSPrinter : NSObject

+ Declared: AppKit/NSPrinter.h
+ Conform: NSCoding
+

- -


-

printerTypes

-+ (NSArray*) printerTypes;
+

+

printerNames

+ + (NSArray*) printerNames;
+

- -


-

printerWithName:

-+ (NSPrinter*) printerWithName: (NSString*)name;
+

+
+

printerTypes

+ + (NSArray*) printerTypes;
+

- -


-

printerWithName:domain:includeUnavailable:

-+ (NSPrinter*) printerWithName: (NSString*)name domain: (NSString*)domain includeUnavailable: (BOOL)includeUnavailable;
+

+
+

printerWithName:

+ + (NSPrinter*) printerWithName: (NSString*)name;
+

- -


-

printerWithType:

-+ (NSPrinter*) printerWithType: (NSString*)type;
+

+
+

printerWithType:

+ + (NSPrinter*) printerWithType: (NSString*)type;
+

- -


-

Instances Methods

-

acceptsBinary

-- (BOOL) acceptsBinary;
+

+
+

acceptsBinary

+ - (BOOL) acceptsBinary;
+

- -


-

booleanForKey:inTable:

-- (BOOL) booleanForKey: (NSString*)key inTable: (NSString*)table;
+

+
+

booleanForKey:inTable:

+ - (BOOL) booleanForKey: (NSString*)key inTable: (NSString*)table;
+

- -


-

deviceDescription

-- (NSDictionary*) deviceDescription;
+

+
+

deviceDescription

+ - (NSDictionary*) deviceDescription;
+

- -


-

domain

-- (NSString*) domain;
+

+
+

encodeWithCoder:

+ - (void) encodeWithCoder: (NSCoder*)aCoder;
+

- -


-

floatForKey:inTable:

-- (float) floatForKey: (NSString*)key inTable: (NSString*)table;
+

+
+

floatForKey:inTable:

+ - (float) floatForKey: (NSString*)key inTable: (NSString*)table;
+

- -


-

host

-- (NSString*) host;
+

+
+

host

+ - (NSString*) host;
+

- -


-

imageRectForPaper:

-- (NSRect) imageRectForPaper: (NSString*)paperName;
+

+
+

imageRectForPaper:

+ - (NSRect) imageRectForPaper: (NSString*)paperName;
+

- -


-

intForKey:inTable:

-- (int) intForKey: (NSString*)key inTable: (NSString*)table;
+

+
+

initWithCoder:

+ - (id) initWithCoder: (NSCoder*)aDecoder;
+

- -


-

isColor

-- (BOOL) isColor;
+

+
+

intForKey:inTable:

+ - (int) intForKey: (NSString*)key inTable: (NSString*)table;
+

- -


-

isFontAvailable:

-- (BOOL) isFontAvailable: (NSString*)faceName;
+

+
+

isColor

+ - (BOOL) isColor;
+

- -


-

isKey:inTable:

-- (BOOL) isKey: (NSString*)key inTable: (NSString*)table;
+

+
+

isFontAvailable:

+ - (BOOL) isFontAvailable: (NSString*)fontName;
+

- -


-

isOutputStackInReverseOrder

-- (BOOL) isOutputStackInReverseOrder;
+

+
+

isKey:inTable:

+ - (BOOL) isKey: (NSString*)key inTable: (NSString*)table;
+

- -


-

languageLevel

-- (int) languageLevel;
+

+
+

isOutputStackInReverseOrder

+ - (BOOL) isOutputStackInReverseOrder;
+

- -


-

name

-- (NSString*) name;
+

+
+

languageLevel

+ - (int) languageLevel;
+

- -


-

note

-- (NSString*) note;
+

+
+

name

+ - (NSString*) name;
+

- -


-

pageSizeForPaper:

-- (NSSize) pageSizeForPaper: (NSString*)paperName;
+

+
+

note

+ - (NSString*) note;
+

- -


-

rectForKey:inTable:

-- (NSRect) rectForKey: (NSString*)key inTable: (NSString*)table;
+

+
+

pageSizeForPaper:

+ - (NSSize) pageSizeForPaper: (NSString*)paperName;
+

- -


-

sizeForKey:inTable:

-- (NSSize) sizeForKey: (NSString*)key inTable: (NSString*)table;
+

+
+

rectForKey:inTable:

+ - (NSRect) rectForKey: (NSString*)key inTable: (NSString*)table;
+

- -


-

statusForTable:

-- (NSPrinterTableStatus) statusForTable: (NSString*)table;
+

+
+

sizeForKey:inTable:

+ - (NSSize) sizeForKey: (NSString*)key inTable: (NSString*)table;
+

- -


-

stringForKey:inTable:

-- (NSString*) stringForKey: (NSString*)key inTable: (NSString*)table;
+

+
+

statusForTable:

+ - (NSPrinterTableStatus) statusForTable: (NSString*)table;
+

- -


-

stringListForKey:inTable:

-- (NSArray*) stringListForKey: (NSString*)key inTable: (NSString*)table;
+

+
+

stringForKey:inTable:

+ - (NSString*) stringForKey: (NSString*)key inTable: (NSString*)table;
+

- -


-

type

-- (NSString*) type;
+

+
+

stringListForKey:inTable:

+ - (NSArray*) stringListForKey: (NSString*)key inTable: (NSString*)table;
+

- -


- - - +

+
+

type

+ - (NSString*) type;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSProgressIndicator.gsdoc b/Documentation/gsdoc/NSProgressIndicator.gsdoc index 13431ec10..834301605 100644 --- a/Documentation/gsdoc/NSProgressIndicator.gsdoc +++ b/Documentation/gsdoc/NSProgressIndicator.gsdoc @@ -1,23 +1,25 @@ - - + + NSProgressIndicator - - - + + + gerritvd@decimax.com + - $Revision$ - $Date$ + 1999 Free Software Foundation, Inc. - NSProgressIndicator + + Software documentation for the NSProgressIndicator + class + - Gui/NSProgressIndicator.h - NSCoding - - + AppKit/NSProgressIndicator.h + + animate: sender @@ -29,6 +31,16 @@ + + controlSize + + + + + controlTint + + + doubleValue @@ -40,12 +52,6 @@ - - initWithFrame: - frameRect - - - isBezeled @@ -67,7 +73,7 @@ - setAnimationDelay: + setAnimimationDelay: delay @@ -78,9 +84,21 @@ + + setControlSize: + size + + + + + setControlTint: + tint + + + setDoubleValue: - doubleValue + aValue @@ -108,6 +126,12 @@
+ + startAnimation: + sender + + + stopAnimation: sender @@ -121,5 +145,28 @@
+ + + Software documentation for the + NSProgressIndicator(GNUstepExtensions) + category + + + AppKit/NSProgressIndicator.h + + + + isVertical + + + + + setVertical: + flag + + + + +
diff --git a/Documentation/gsdoc/NSProgressIndicator.html b/Documentation/gsdoc/NSProgressIndicator.html index 3292f8b98..d257161ba 100644 --- a/Documentation/gsdoc/NSProgressIndicator.html +++ b/Documentation/gsdoc/NSProgressIndicator.html @@ -1,142 +1,180 @@ - - NSProgressIndicator - - -[Previous] -[Up] -[Next] -

NSProgressIndicator

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSProgressIndicator

-

NSProgressIndicator

-

Declared in: Gui/NSProgressIndicator.h

-

Inherits from: NSView

-

Conforms to: NSCoding -

-
+ + + NSProgressIndicator + + +

NSProgressIndicator

+

Authors

+
+
Gerrit van Dyk( + gerritvd@decimax.com + )
+
+
+
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSProgressIndicator + class +

+

NSProgressIndicator : NSView

+ Declared: AppKit/NSProgressIndicator.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

animate:

-- (void) animate: (id)sender;
+

+

animate:

+ - (void) animate: (id)sender;
+

- -


-

animationDelay

-- (NSTimeInterval) animationDelay;
+

+
+

animationDelay

+ - (NSTimeInterval) animationDelay;
+

- -


-

doubleValue

-- (double) doubleValue;
+

+
+

controlSize

+ - (NSControlSize) controlSize;
+

- -


-

incrementBy:

-- (void) incrementBy: (double)delta;
+

+
+

controlTint

+ - (NSControlTint) controlTint;
+

- -


-

initWithFrame:

-- (id) initWithFrame: (NSRect)frameRect;
+

+
+

doubleValue

+ - (double) doubleValue;
+

- -


-

isBezeled

-- (BOOL) isBezeled;
+

+
+

incrementBy:

+ - (void) incrementBy: (double)delta;
+

- -


-

isIndeterminate

-- (BOOL) isIndeterminate;
+

+
+

isBezeled

+ - (BOOL) isBezeled;
+

- -


-

maxValue

-- (double) maxValue;
+

+
+

isIndeterminate

+ - (BOOL) isIndeterminate;
+

- -


-

minValue

-- (double) minValue;
+

+
+

maxValue

+ - (double) maxValue;
+

- -


-

setAnimationDelay:

-- (void) setAnimationDelay: (NSTimeInterval)delay;
+

+
+

minValue

+ - (double) minValue;
+

- -


-

setBezeled:

-- (void) setBezeled: (BOOL)flag;
+

+
+

setAnimimationDelay:

+ - (void) setAnimimationDelay: (NSTimeInterval)delay;
+

- -


-

setDoubleValue:

-- (void) setDoubleValue: (double)doubleValue;
+

+
+

setBezeled:

+ - (void) setBezeled: (BOOL)flag;
+

- -


-

setIndeterminate:

-- (void) setIndeterminate: (BOOL)flag;
+

+
+

setControlSize:

+ - (void) setControlSize: (NSControlSize)size;
+

- -


-

setMaxValue:

-- (void) setMaxValue: (double)newMaximum;
+

+
+

setControlTint:

+ - (void) setControlTint: (NSControlTint)tint;
+

- -


-

setMinValue:

-- (void) setMinValue: (double)newMinimum;
+

+
+

setDoubleValue:

+ - (void) setDoubleValue: (double)aValue;
+

- -


-

setUsesThreadedAnimation:

-- (void) setUsesThreadedAnimation: (BOOL)flag;
+

+
+

setIndeterminate:

+ - (void) setIndeterminate: (BOOL)flag;
+

- -


-

stopAnimation:

-- (void) stopAnimation: (id)sender;
+

+
+

setMaxValue:

+ - (void) setMaxValue: (double)newMaximum;
+

- -


-

usesThreadedAnimation

-- (BOOL) usesThreadedAnimation;
+

+
+

setMinValue:

+ - (void) setMinValue: (double)newMinimum;
+

- -


- - - +

+
+

setUsesThreadedAnimation:

+ - (void) setUsesThreadedAnimation: (BOOL)flag;
+

+ +

+
+

startAnimation:

+ - (void) startAnimation: (id)sender;
+

+ +

+
+

stopAnimation:

+ - (void) stopAnimation: (id)sender;
+

+ +

+
+

usesThreadedAnimation

+ - (BOOL) usesThreadedAnimation;
+

+ +

+
+

+ Software documentation for the + NSProgressIndicator(GNUstepExtensions) + category +

+

NSProgressIndicator(GNUstepExtensions)

+ Declared: AppKit/NSProgressIndicator.h
+

+ +

+

isVertical

+ - (BOOL) isVertical;
+

+ +

+
+

setVertical:

+ - (void) setVertical: (BOOL)flag;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSResponder.gsdoc b/Documentation/gsdoc/NSResponder.gsdoc index 97f4dc26d..95cf2d9d3 100644 --- a/Documentation/gsdoc/NSResponder.gsdoc +++ b/Documentation/gsdoc/NSResponder.gsdoc @@ -1,23 +1,29 @@ - - + + NSResponder - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + Abstract class which is basis of command and event + processing + + 1996,1999 Free Software Foundation, Inc. - NSResponder + + Software documentation for the NSResponder class + - Gui/NSResponder.h + AppKit/NSResponder.h NSCoding - - + + acceptsFirstResponder @@ -112,6 +118,12 @@ + + encodeWithCoder: + aCoder + + + flagsChanged: theEvent @@ -135,6 +147,12 @@ + + initWithCoder: + aDecoder + + + insertBacktab: sender @@ -211,6 +229,24 @@ + + middleMouseDown: + theEvent + + + + + middleMouseDragged: + theEvent + + + + + middleMouseUp: + theEvent + + + mouseDown: theEvent @@ -449,6 +485,12 @@ + + scrollWheel: + theEvent + + + selectAll: sender @@ -481,13 +523,7 @@ setInterfaceStyle: - interfaceStyle - - - - - setMark: - sender + aStyle @@ -530,6 +566,8 @@ tryToPerform: anAction + with: + anObject @@ -546,9 +584,9 @@
validRequestorForSendType: - sendType + typeSent returnType: - returnType + typeReturned diff --git a/Documentation/gsdoc/NSResponder.html b/Documentation/gsdoc/NSResponder.html index c95cc5cc2..242541f50 100644 --- a/Documentation/gsdoc/NSResponder.html +++ b/Documentation/gsdoc/NSResponder.html @@ -1,580 +1,607 @@ - - NSResponder - - -[Previous] -[Up] -[Next] -

NSResponder

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSResponder

-

NSResponder

-

Declared in: Gui/NSResponder.h

-

Inherits from: NSObject

-

Conforms to: NSCoding -

-
- - -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

acceptsFirstResponder

-- (BOOL) acceptsFirstResponder;
- - -
-

becomeFirstResponder

-- (BOOL) becomeFirstResponder;
- - -
-

capitalizeWord:

-- (void) capitalizeWord: (id)sender;
- - -
-

centerSelectionInVisibleArea:

-- (void) centerSelectionInVisibleArea: (id)sender;
- - -
-

changeCaseOfLetter:

-- (void) changeCaseOfLetter: (id)sender;
- - -
-

complete:

-- (void) complete: (id)sender;
- - -
-

deleteBackward:

-- (void) deleteBackward: (id)sender;
- - -
-

deleteForward:

-- (void) deleteForward: (id)sender;
- - -
-

deleteToBeginningOfLine:

-- (void) deleteToBeginningOfLine: (id)sender;
- - -
-

deleteToBeginningOfParagraph:

-- (void) deleteToBeginningOfParagraph: (id)sender;
- - -
-

deleteToEndOfLine:

-- (void) deleteToEndOfLine: (id)sender;
- - -
-

deleteToEndOfParagraph:

-- (void) deleteToEndOfParagraph: (id)sender;
- - -
-

deleteToMark:

-- (void) deleteToMark: (id)sender;
- - -
-

deleteWordBackward:

-- (void) deleteWordBackward: (id)sender;
- - -
-

deleteWordForward:

-- (void) deleteWordForward: (id)sender;
- - -
-

doCommandBySelector:

-- (void) doCommandBySelector: (SEL)aSelector;
- - -
-

flagsChanged:

-- (void) flagsChanged: (NSEvent*)theEvent;
- - -
-

flushBufferedKeyEvents

-- (void) flushBufferedKeyEvents;
- - -
-

helpRequested:

-- (void) helpRequested: (NSEvent*)theEvent;
- - -
-

indent:

-- (void) indent: (id)sender;
- - -
-

insertBacktab:

-- (void) insertBacktab: (id)sender;
- - -
-

insertNewline:

-- (void) insertNewline: (id)sender;
- - -
-

insertNewlineIgnoringFieldEditor:

-- (void) insertNewlineIgnoringFieldEditor: (id)sender;
- - -
-

insertParagraphSeparator:

-- (void) insertParagraphSeparator: (id)sender;
- - -
-

insertTab:

-- (void) insertTab: (id)sender;
- - -
-

insertTabIgnoringFieldEditor:

-- (void) insertTabIgnoringFieldEditor: (id)sender;
- - -
-

insertText:

-- (void) insertText: (NSString*)aString;
- - -
-

interfaceStyle

-- (NSInterfaceStyle) interfaceStyle;
- - -
-

interpretKeyEvents:

-- (void) interpretKeyEvents: (NSArray*)eventArray;
- - -
-

keyDown:

-- (void) keyDown: (NSEvent*)theEvent;
- - -
-

keyUp:

-- (void) keyUp: (NSEvent*)theEvent;
- - -
-

lowercaseWord:

-- (void) lowercaseWord: (id)sender;
- - -
-

menu

-- (NSMenu*) menu;
- - -
-

mouseDown:

-- (void) mouseDown: (NSEvent*)theEvent;
- - -
-

mouseDragged:

-- (void) mouseDragged: (NSEvent*)theEvent;
- - -
-

mouseEntered:

-- (void) mouseEntered: (NSEvent*)theEvent;
- - -
-

mouseExited:

-- (void) mouseExited: (NSEvent*)theEvent;
- - -
-

mouseMoved:

-- (void) mouseMoved: (NSEvent*)theEvent;
- - -
-

mouseUp:

-- (void) mouseUp: (NSEvent*)theEvent;
- - -
-

moveBackward:

-- (void) moveBackward: (id)sender;
- - -
-

moveBackwardAndModifySelection:

-- (void) moveBackwardAndModifySelection: (id)sender;
- - -
-

moveDown:

-- (void) moveDown: (id)sender;
- - -
-

moveDownAndModifySelection:

-- (void) moveDownAndModifySelection: (id)sender;
- - -
-

moveForward:

-- (void) moveForward: (id)sender;
- - -
-

moveForwardAndModifySelection:

-- (void) moveForwardAndModifySelection: (id)sender;
- - -
-

moveLeft:

-- (void) moveLeft: (id)sender;
- - -
-

moveRight:

-- (void) moveRight: (id)sender;
- - -
-

moveToBeginningOfDocument:

-- (void) moveToBeginningOfDocument: (id)sender;
- - -
-

moveToBeginningOfLine:

-- (void) moveToBeginningOfLine: (id)sender;
- - -
-

moveToBeginningOfParagraph:

-- (void) moveToBeginningOfParagraph: (id)sender;
- - -
-

moveToEndOfDocument:

-- (void) moveToEndOfDocument: (id)sender;
- - -
-

moveToEndOfLine:

-- (void) moveToEndOfLine: (id)sender;
- - -
-

moveToEndOfParagraph:

-- (void) moveToEndOfParagraph: (id)sender;
- - -
-

moveUp:

-- (void) moveUp: (id)sender;
- - -
-

moveUpAndModifySelection:

-- (void) moveUpAndModifySelection: (id)sender;
- - -
-

moveWordBackward:

-- (void) moveWordBackward: (id)sender;
- - -
-

moveWordBackwardAndModifySelection:

-- (void) moveWordBackwardAndModifySelection: (id)sender;
- - -
-

moveWordForward:

-- (void) moveWordForward: (id)sender;
- - -
-

moveWordForwardAndModifySelection:

-- (void) moveWordForwardAndModifySelection: (id)sender;
- - -
-

nextResponder

-- (NSResponder*) nextResponder;
- - -
-

noResponderFor:

-- (void) noResponderFor: (SEL)eventSelector;
- - -
-

pageDown:

-- (void) pageDown: (id)sender;
- - -
-

pageUp:

-- (void) pageUp: (id)sender;
- - -
-

performKeyEquivalent:

-- (BOOL) performKeyEquivalent: (NSEvent*)theEvent;
- - -
-

performMnemonic:

-- (BOOL) performMnemonic: (NSString*)aString;
- - -
-

resignFirstResponder

-- (BOOL) resignFirstResponder;
- - -
-

rightMouseDown:

-- (void) rightMouseDown: (NSEvent*)theEvent;
- - -
-

rightMouseDragged:

-- (void) rightMouseDragged: (NSEvent*)theEvent;
- - -
-

rightMouseUp:

-- (void) rightMouseUp: (NSEvent*)theEvent;
- - -
-

scrollLineDown:

-- (void) scrollLineDown: (id)sender;
- - -
-

scrollLineUp:

-- (void) scrollLineUp: (id)sender;
- - -
-

scrollPageDown:

-- (void) scrollPageDown: (id)sender;
- - -
-

scrollPageUp:

-- (void) scrollPageUp: (id)sender;
- - -
-

selectAll:

-- (void) selectAll: (id)sender;
- - -
-

selectLine:

-- (void) selectLine: (id)sender;
- - -
-

selectParagraph:

-- (void) selectParagraph: (id)sender;
- - -
-

selectToMark:

-- (void) selectToMark: (id)sender;
- - -
-

selectWord:

-- (void) selectWord: (id)sender;
- - -
-

setInterfaceStyle:

-- (void) setInterfaceStyle: (NSInterfaceStyle)interfaceStyle;
- - -
-

setMark:

-- (void) setMark: (id)sender;
- - -
-

setMenu:

-- (void) setMenu: (NSMenu*)aMenu;
- - -
-

setNextResponder:

-- (void) setNextResponder: (NSResponder*)aResponder;
- - -
-

showContextHelp:

-- (void) showContextHelp: (id)sender;
- - -
-

swapWithMark:

-- (void) swapWithMark: (id)sender;
- - -
-

transpose:

-- (void) transpose: (id)sender;
- - -
-

transposeWords:

-- (void) transposeWords: (id)sender;
- - -
-

tryToPerform:

-- (BOOL) tryToPerform: (SEL)anAction;
- - -
-

undoManager

-- (NSUndoManager*) undoManager;
- - -
-

uppercaseWord:

-- (void) uppercaseWord: (id)sender;
- - -
-

validRequestorForSendType:returnType:

-- (id) validRequestorForSendType: (NSString*)sendType returnType: (NSString*)returnType;
- - -
-

yank:

-- (void) yank: (id)sender;
- - -
- - - + + + NSResponder + + +

NSResponder

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
+
+ + Abstract class which is basis of command and event + processing +
+

Copyright: (C) 1996,1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSResponder class +

+

NSResponder : NSObject

+ Declared: AppKit/NSResponder.h
+ Conform: NSCoding
+

+ +

+

acceptsFirstResponder

+ - (BOOL) acceptsFirstResponder;
+

+ +

+
+

becomeFirstResponder

+ - (BOOL) becomeFirstResponder;
+

+ +

+
+

capitalizeWord:

+ - (void) capitalizeWord: (id)sender;
+

+ +

+
+

centerSelectionInVisibleArea:

+ - (void) centerSelectionInVisibleArea: (id)sender;
+

+ +

+
+

changeCaseOfLetter:

+ - (void) changeCaseOfLetter: (id)sender;
+

+ +

+
+

complete:

+ - (void) complete: (id)sender;
+

+ +

+
+

deleteBackward:

+ - (void) deleteBackward: (id)sender;
+

+ +

+
+

deleteForward:

+ - (void) deleteForward: (id)sender;
+

+ +

+
+

deleteToBeginningOfLine:

+ - (void) deleteToBeginningOfLine: (id)sender;
+

+ +

+
+

deleteToBeginningOfParagraph:

+ - (void) deleteToBeginningOfParagraph: (id)sender;
+

+ +

+
+

deleteToEndOfLine:

+ - (void) deleteToEndOfLine: (id)sender;
+

+ +

+
+

deleteToEndOfParagraph:

+ - (void) deleteToEndOfParagraph: (id)sender;
+

+ +

+
+

deleteToMark:

+ - (void) deleteToMark: (id)sender;
+

+ +

+
+

deleteWordBackward:

+ - (void) deleteWordBackward: (id)sender;
+

+ +

+
+

deleteWordForward:

+ - (void) deleteWordForward: (id)sender;
+

+ +

+
+

doCommandBySelector:

+ - (void) doCommandBySelector: (SEL)aSelector;
+

+ +

+
+

encodeWithCoder:

+ - (void) encodeWithCoder: (NSCoder*)aCoder;
+

+ +

+
+

flagsChanged:

+ - (void) flagsChanged: (NSEvent*)theEvent;
+

+ +

+
+

flushBufferedKeyEvents

+ - (void) flushBufferedKeyEvents;
+

+ +

+
+

helpRequested:

+ - (void) helpRequested: (NSEvent*)theEvent;
+

+ +

+
+

indent:

+ - (void) indent: (id)sender;
+

+ +

+
+

initWithCoder:

+ - (id) initWithCoder: (NSCoder*)aDecoder;
+

+ +

+
+

insertBacktab:

+ - (void) insertBacktab: (id)sender;
+

+ +

+
+

insertNewline:

+ - (void) insertNewline: (id)sender;
+

+ +

+
+

insertNewlineIgnoringFieldEditor:

+ - (void) insertNewlineIgnoringFieldEditor: (id)sender;
+

+ +

+
+

insertParagraphSeparator:

+ - (void) insertParagraphSeparator: (id)sender;
+

+ +

+
+

insertTab:

+ - (void) insertTab: (id)sender;
+

+ +

+
+

insertTabIgnoringFieldEditor:

+ - (void) insertTabIgnoringFieldEditor: (id)sender;
+

+ +

+
+

insertText:

+ - (void) insertText: (NSString*)aString;
+

+ +

+
+

interfaceStyle

+ - (NSInterfaceStyle) interfaceStyle;
+

+ +

+
+

interpretKeyEvents:

+ - (void) interpretKeyEvents: (NSArray*)eventArray;
+

+ +

+
+

keyDown:

+ - (void) keyDown: (NSEvent*)theEvent;
+

+ +

+
+

keyUp:

+ - (void) keyUp: (NSEvent*)theEvent;
+

+ +

+
+

lowercaseWord:

+ - (void) lowercaseWord: (id)sender;
+

+ +

+
+

menu

+ - (NSMenu*) menu;
+

+ +

+
+

middleMouseDown:

+ - (void) middleMouseDown: (NSEvent*)theEvent;
+

+ +

+
+

middleMouseDragged:

+ - (void) middleMouseDragged: (NSEvent*)theEvent;
+

+ +

+
+

middleMouseUp:

+ - (void) middleMouseUp: (NSEvent*)theEvent;
+

+ +

+
+

mouseDown:

+ - (void) mouseDown: (NSEvent*)theEvent;
+

+ +

+
+

mouseDragged:

+ - (void) mouseDragged: (NSEvent*)theEvent;
+

+ +

+
+

mouseEntered:

+ - (void) mouseEntered: (NSEvent*)theEvent;
+

+ +

+
+

mouseExited:

+ - (void) mouseExited: (NSEvent*)theEvent;
+

+ +

+
+

mouseMoved:

+ - (void) mouseMoved: (NSEvent*)theEvent;
+

+ +

+
+

mouseUp:

+ - (void) mouseUp: (NSEvent*)theEvent;
+

+ +

+
+

moveBackward:

+ - (void) moveBackward: (id)sender;
+

+ +

+
+

moveBackwardAndModifySelection:

+ - (void) moveBackwardAndModifySelection: (id)sender;
+

+ +

+
+

moveDown:

+ - (void) moveDown: (id)sender;
+

+ +

+
+

moveDownAndModifySelection:

+ - (void) moveDownAndModifySelection: (id)sender;
+

+ +

+
+

moveForward:

+ - (void) moveForward: (id)sender;
+

+ +

+
+

moveForwardAndModifySelection:

+ - (void) moveForwardAndModifySelection: (id)sender;
+

+ +

+
+

moveLeft:

+ - (void) moveLeft: (id)sender;
+

+ +

+
+

moveRight:

+ - (void) moveRight: (id)sender;
+

+ +

+
+

moveToBeginningOfDocument:

+ - (void) moveToBeginningOfDocument: (id)sender;
+

+ +

+
+

moveToBeginningOfLine:

+ - (void) moveToBeginningOfLine: (id)sender;
+

+ +

+
+

moveToBeginningOfParagraph:

+ - (void) moveToBeginningOfParagraph: (id)sender;
+

+ +

+
+

moveToEndOfDocument:

+ - (void) moveToEndOfDocument: (id)sender;
+

+ +

+
+

moveToEndOfLine:

+ - (void) moveToEndOfLine: (id)sender;
+

+ +

+
+

moveToEndOfParagraph:

+ - (void) moveToEndOfParagraph: (id)sender;
+

+ +

+
+

moveUp:

+ - (void) moveUp: (id)sender;
+

+ +

+
+

moveUpAndModifySelection:

+ - (void) moveUpAndModifySelection: (id)sender;
+

+ +

+
+

moveWordBackward:

+ - (void) moveWordBackward: (id)sender;
+

+ +

+
+

moveWordBackwardAndModifySelection:

+ - (void) moveWordBackwardAndModifySelection: (id)sender;
+

+ +

+
+

moveWordForward:

+ - (void) moveWordForward: (id)sender;
+

+ +

+
+

moveWordForwardAndModifySelection:

+ - (void) moveWordForwardAndModifySelection: (id)sender;
+

+ +

+
+

nextResponder

+ - (NSResponder*) nextResponder;
+

+ +

+
+

noResponderFor:

+ - (void) noResponderFor: (SEL)eventSelector;
+

+ +

+
+

pageDown:

+ - (void) pageDown: (id)sender;
+

+ +

+
+

pageUp:

+ - (void) pageUp: (id)sender;
+

+ +

+
+

performKeyEquivalent:

+ - (BOOL) performKeyEquivalent: (NSEvent*)theEvent;
+

+ +

+
+

performMnemonic:

+ - (BOOL) performMnemonic: (NSString*)aString;
+

+ +

+
+

resignFirstResponder

+ - (BOOL) resignFirstResponder;
+

+ +

+
+

rightMouseDown:

+ - (void) rightMouseDown: (NSEvent*)theEvent;
+

+ +

+
+

rightMouseDragged:

+ - (void) rightMouseDragged: (NSEvent*)theEvent;
+

+ +

+
+

rightMouseUp:

+ - (void) rightMouseUp: (NSEvent*)theEvent;
+

+ +

+
+

scrollLineDown:

+ - (void) scrollLineDown: (id)sender;
+

+ +

+
+

scrollLineUp:

+ - (void) scrollLineUp: (id)sender;
+

+ +

+
+

scrollPageDown:

+ - (void) scrollPageDown: (id)sender;
+

+ +

+
+

scrollPageUp:

+ - (void) scrollPageUp: (id)sender;
+

+ +

+
+

scrollWheel:

+ - (void) scrollWheel: (NSEvent*)theEvent;
+

+ +

+
+

selectAll:

+ - (void) selectAll: (id)sender;
+

+ +

+
+

selectLine:

+ - (void) selectLine: (id)sender;
+

+ +

+
+

selectParagraph:

+ - (void) selectParagraph: (id)sender;
+

+ +

+
+

selectToMark:

+ - (void) selectToMark: (id)sender;
+

+ +

+
+

selectWord:

+ - (void) selectWord: (id)sender;
+

+ +

+
+

setInterfaceStyle:

+ - (void) setInterfaceStyle: (NSInterfaceStyle)aStyle;
+

+ +

+
+

setMenu:

+ - (void) setMenu: (NSMenu*)aMenu;
+

+ +

+
+

setNextResponder:

+ - (void) setNextResponder: (NSResponder*)aResponder;
+

+ +

+
+

showContextHelp:

+ - (void) showContextHelp: (id)sender;
+

+ +

+
+

swapWithMark:

+ - (void) swapWithMark: (id)sender;
+

+ +

+
+

transpose:

+ - (void) transpose: (id)sender;
+

+ +

+
+

transposeWords:

+ - (void) transposeWords: (id)sender;
+

+ +

+
+

tryToPerform:with:

+ - (BOOL) tryToPerform: (SEL)anAction with: (id)anObject;
+

+ +

+
+

undoManager

+ - (NSUndoManager*) undoManager;
+

+ +

+
+

uppercaseWord:

+ - (void) uppercaseWord: (id)sender;
+

+ +

+
+

validRequestorForSendType:returnType:

+ - (id) validRequestorForSendType: (NSString*)typeSent returnType: (NSString*)typeReturned;
+

+ +

+
+

yank:

+ - (void) yank: (id)sender;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSRulerMarker.gsdoc b/Documentation/gsdoc/NSRulerMarker.gsdoc index a82a359d8..956915c03 100644 --- a/Documentation/gsdoc/NSRulerMarker.gsdoc +++ b/Documentation/gsdoc/NSRulerMarker.gsdoc @@ -1,23 +1,27 @@ - - + + NSRulerMarker - - - + + + FredKiefer@gmx.de + - $Revision$ - $Date$ + Displays a symbol in a NSRulerView. + 2001 Free Software Foundation, Inc. - NSRulerMarker + + Software documentation for the NSRulerMarker class + - Gui/NSRulerMarker.h + AppKit/NSRulerMarker.h NSCopying - - + NSCoding + + drawRect: aRect @@ -45,7 +49,7 @@ markerLocation: location image: - anImage + anImage imageOrigin: imageOrigin @@ -125,6 +129,8 @@ trackMouse: theEvent + adding: + flag diff --git a/Documentation/gsdoc/NSRulerMarker.html b/Documentation/gsdoc/NSRulerMarker.html index 282ae8b6e..d28a2c8fc 100644 --- a/Documentation/gsdoc/NSRulerMarker.html +++ b/Documentation/gsdoc/NSRulerMarker.html @@ -1,148 +1,143 @@ - - NSRulerMarker - - -[Previous] -[Up] -[Next] -

NSRulerMarker

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSRulerMarker

-

NSRulerMarker

-

Declared in: Gui/NSRulerMarker.h

-

Inherits from: NSObject

-

Conforms to: NSCopying -

-
+ + + NSRulerMarker + + +

NSRulerMarker

+

Authors

+
+
Fred Kiefer( + FredKiefer@gmx.de + )
+
+
+
+
+Displays a symbol in a NSRulerView.
+

Copyright: (C) 2001 Free Software Foundation, Inc.

+

+ Software documentation for the NSRulerMarker class +

+

NSRulerMarker : NSObject

+ Declared: AppKit/NSRulerMarker.h
+ Conform: NSCopying
+ Conform: NSCoding
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

drawRect:

-- (void) drawRect: (NSRect)aRect;
+

+

drawRect:

+ - (void) drawRect: (NSRect)aRect;
+

- -


-

image

-- (NSImage*) image;
+

+
+

image

+ - (NSImage*) image;
+

- -


-

imageOrigin

-- (NSPoint) imageOrigin;
+

+
+

imageOrigin

+ - (NSPoint) imageOrigin;
+

- -


-

imageRectInRuler

-- (NSRect) imageRectInRuler;
+

+
+

imageRectInRuler

+ - (NSRect) imageRectInRuler;
+

- -


-

initWithRulerView:markerLocation:image:imageOrigin:

-- (id) initWithRulerView: (NSRulerView*)aRulerView markerLocation: (float)location image: (NSImage *)anImage imageOrigin: (NSPoint)imageOrigin;
+

+
+

initWithRulerView:markerLocation:image:imageOrigin:

+ - (id) initWithRulerView: (NSRulerView*)aRulerView markerLocation: (float)location image: (NSImage*)anImage imageOrigin: (NSPoint)imageOrigin;
+

- -


-

isDragging

-- (BOOL) isDragging;
+

+
+

isDragging

+ - (BOOL) isDragging;
+

- -


-

isMovable

-- (BOOL) isMovable;
+

+
+

isMovable

+ - (BOOL) isMovable;
+

- -


-

isRemovable

-- (BOOL) isRemovable;
+

+
+

isRemovable

+ - (BOOL) isRemovable;
+

- -


-

makerLocation

-- (float) makerLocation;
+

+
+

makerLocation

+ - (float) makerLocation;
+

- -


-

representedObject

-- (id<NSCopying>) representedObject;
+

+
+

representedObject

+ - (id) representedObject;
+

- -


-

ruler

-- (NSRulerView*) ruler;
+

+
+

ruler

+ - (NSRulerView*) ruler;
+

- -


-

setImage:

-- (void) setImage: (NSImage*)anImage;
+

+
+

setImage:

+ - (void) setImage: (NSImage*)anImage;
+

- -


-

setImageOrigin:

-- (void) setImageOrigin: (NSPoint)aPoint;
+

+
+

setImageOrigin:

+ - (void) setImageOrigin: (NSPoint)aPoint;
+

- -


-

setMarkerLocation:

-- (void) setMarkerLocation: (float)location;
+

+
+

setMarkerLocation:

+ - (void) setMarkerLocation: (float)location;
+

- -


-

setMovable:

-- (void) setMovable: (BOOL)flag;
+

+
+

setMovable:

+ - (void) setMovable: (BOOL)flag;
+

- -


-

setRemovable:

-- (void) setRemovable: (BOOL)flag;
+

+
+

setRemovable:

+ - (void) setRemovable: (BOOL)flag;
+

- -


-

setRepresentedObject:

-- (void) setRepresentedObject: (id<NSCopying>)anObject;
+

+
+

setRepresentedObject:

+ - (void) setRepresentedObject: (id)anObject;
+

- -


-

thicknessRequiredInRuler

-- (float) thicknessRequiredInRuler;
+

+
+

thicknessRequiredInRuler

+ - (float) thicknessRequiredInRuler;
+

- -


-

trackMouse:

-- (BOOL) trackMouse: (NSEvent*)theEvent;
+

+
+

trackMouse:adding:

+ - (BOOL) trackMouse: (NSEvent*)theEvent adding: (BOOL)flag;
+

- -


- - - +

+
+ + diff --git a/Documentation/gsdoc/NSRulerView.gsdoc b/Documentation/gsdoc/NSRulerView.gsdoc index 6d7ac9a31..5ad0abfd2 100644 --- a/Documentation/gsdoc/NSRulerView.gsdoc +++ b/Documentation/gsdoc/NSRulerView.gsdoc @@ -1,23 +1,25 @@ - - + + NSRulerView - - - + + + FredKiefer@gmx.de + - $Revision$ - $Date$ + The NSRulerView class. + 2001 Free Software Foundation, Inc. - NSRulerView + + Software documentation for the NSRulerView class + - Gui/NSRulerView.h - NSCoding - - + AppKit/NSRulerView.h + + registerUnitWithName: unitName @@ -26,7 +28,7 @@ unitToPointsConversionFactor: conversionFactor stepUpCycle: - stepUpCycle + stepUpCycle stepDownCycle: stepDownCycle @@ -68,6 +70,8 @@ initWithScrollView: aScrollView + orientation: + orientation @@ -208,6 +212,18 @@ + + + + + Software documentation for the + NSObject(NSRulerViewClient) + category + + + AppKit/NSRulerView.h + + rulerView: aRulerView @@ -292,7 +308,7 @@ -
+
diff --git a/Documentation/gsdoc/NSRulerView.html b/Documentation/gsdoc/NSRulerView.html index c3dbd7708..a97680a46 100644 --- a/Documentation/gsdoc/NSRulerView.html +++ b/Documentation/gsdoc/NSRulerView.html @@ -1,287 +1,289 @@ - - NSRulerView - - -[Previous] -[Up] -[Next] -

NSRulerView

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSRulerView

-

NSRulerView

-

Declared in: Gui/NSRulerView.h

-

Inherits from: NSView

-

Conforms to: NSCoding -

-
+ + + NSRulerView + + +

NSRulerView

+

Authors

+
+
Fred Kiefer( + FredKiefer@gmx.de + )
+
+
+
+
+The NSRulerView class.
+

Copyright: (C) 2001 Free Software Foundation, Inc.

+

+ Software documentation for the NSRulerView class +

+

NSRulerView : NSView

+ Declared: AppKit/NSRulerView.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

registerUnitWithName:abbreviation:unitToPointsConversionFactor:stepUpCycle:stepDownCycle:

-+ (void) registerUnitWithName: (NSString*)unitName abbreviation: (NSString*)abbreviation unitToPointsConversionFactor: (float)conversionFactor stepUpCycle: (NSArray *)stepUpCycle stepDownCycle: (NSArray*)stepDownCycle;
+

+

registerUnitWithName:abbreviation:unitToPointsConversionFactor:stepUpCycle:stepDownCycle:

+ + (void) registerUnitWithName: (NSString*)unitName abbreviation: (NSString*)abbreviation unitToPointsConversionFactor: (float)conversionFactor stepUpCycle: (NSArray*)stepUpCycle stepDownCycle: (NSArray*)stepDownCycle;
+

- -


-

Instances Methods

-

accessoryView

-- (NSView*) accessoryView;
+

+
+

accessoryView

+ - (NSView*) accessoryView;
+

- -


-

addMarker:

-- (void) addMarker: (NSRulerMarker*)aMarker;
+

+
+

addMarker:

+ - (void) addMarker: (NSRulerMarker*)aMarker;
+

- -


-

baselineLocation

-- (float) baselineLocation;
+

+
+

baselineLocation

+ - (float) baselineLocation;
+

- -


-

clientView

-- (NSView*) clientView;
+

+
+

clientView

+ - (NSView*) clientView;
+

- -


-

drawHashMarksAndLabelsInRect:

-- (void) drawHashMarksAndLabelsInRect: (NSRect)aRect;
+

+
+

drawHashMarksAndLabelsInRect:

+ - (void) drawHashMarksAndLabelsInRect: (NSRect)aRect;
+

- -


-

drawMarkersInRect:

-- (void) drawMarkersInRect: (NSRect)aRect;
+

+
+

drawMarkersInRect:

+ - (void) drawMarkersInRect: (NSRect)aRect;
+

- -


-

initWithScrollView:

-- (id) initWithScrollView: (NSScrollView*)aScrollView;
+

+
+

initWithScrollView:orientation:

+ - (id) initWithScrollView: (NSScrollView*)aScrollView orientation: (NSRulerOrientation)orientation;
+

- -


-

invalidateHashMarks

-- (void) invalidateHashMarks;
+

+
+

invalidateHashMarks

+ - (void) invalidateHashMarks;
+

- -


-

isFlipped

-- (BOOL) isFlipped;
+

+
+

isFlipped

+ - (BOOL) isFlipped;
+

- -


-

markers

-- (NSArray*) markers;
+

+
+

markers

+ - (NSArray*) markers;
+

- -


-

measurementUnits

-- (NSString*) measurementUnits;
+

+
+

measurementUnits

+ - (NSString*) measurementUnits;
+

- -


-

moveRulerlineFromLocation:toLocation:

-- (void) moveRulerlineFromLocation: (float)oldLoc toLocation: (float)newLoc;
+

+
+

moveRulerlineFromLocation:toLocation:

+ - (void) moveRulerlineFromLocation: (float)oldLoc toLocation: (float)newLoc;
+

- -


-

orientation

-- (NSRulerOrientation) orientation;
+

+
+

orientation

+ - (NSRulerOrientation) orientation;
+

- -


-

originOffset

-- (float) originOffset;
+

+
+

originOffset

+ - (float) originOffset;
+

- -


-

removeMarker:

-- (void) removeMarker: (NSRulerMarker*)aMarker;
+

+
+

removeMarker:

+ - (void) removeMarker: (NSRulerMarker*)aMarker;
+

- -


-

requiredThickness

-- (float) requiredThickness;
+

+
+

requiredThickness

+ - (float) requiredThickness;
+

- -


-

reservedThicknessForAccessoryView

-- (float) reservedThicknessForAccessoryView;
+

+
+

reservedThicknessForAccessoryView

+ - (float) reservedThicknessForAccessoryView;
+

- -


-

reservedThicknessForMarkers

-- (float) reservedThicknessForMarkers;
+

+
+

reservedThicknessForMarkers

+ - (float) reservedThicknessForMarkers;
+

- -


-

ruleThickness

-- (float) ruleThickness;
+

+
+

ruleThickness

+ - (float) ruleThickness;
+

- -


-

scrollView

-- (NSScrollView*) scrollView;
+

+
+

scrollView

+ - (NSScrollView*) scrollView;
+

- -


-

setAccessoryView:

-- (void) setAccessoryView: (NSView*)aView;
+

+
+

setAccessoryView:

+ - (void) setAccessoryView: (NSView*)aView;
+

- -


-

setClientView:

-- (void) setClientView: (NSView*)aView;
+

+
+

setClientView:

+ - (void) setClientView: (NSView*)aView;
+

- -


-

setMarkers:

-- (void) setMarkers: (NSArray*)markers;
+

+
+

setMarkers:

+ - (void) setMarkers: (NSArray*)markers;
+

- -


-

setMeasurementUnits:

-- (void) setMeasurementUnits: (NSString*)unitName;
+

+
+

setMeasurementUnits:

+ - (void) setMeasurementUnits: (NSString*)unitName;
+

- -


-

setOrientation:

-- (void) setOrientation: (NSRulerOrientation)orientation;
+

+
+

setOrientation:

+ - (void) setOrientation: (NSRulerOrientation)orientation;
+

- -


-

setOriginOffset:

-- (void) setOriginOffset: (float)offset;
+

+
+

setOriginOffset:

+ - (void) setOriginOffset: (float)offset;
+

- -


-

setReservedThicknessForAccessoryView:

-- (void) setReservedThicknessForAccessoryView: (float)thickness;
+

+
+

setReservedThicknessForAccessoryView:

+ - (void) setReservedThicknessForAccessoryView: (float)thickness;
+

- -


-

setReservedThicknessForMarkers:

-- (void) setReservedThicknessForMarkers: (float)thickness;
+

+
+

setReservedThicknessForMarkers:

+ - (void) setReservedThicknessForMarkers: (float)thickness;
+

- -


-

setRuleThickness:

-- (void) setRuleThickness: (float)thickness;
+

+
+

setRuleThickness:

+ - (void) setRuleThickness: (float)thickness;
+

- -


-

setScrollView:

-- (void) setScrollView: (NSScrollView*)scrollView;
+

+
+

setScrollView:

+ - (void) setScrollView: (NSScrollView*)scrollView;
+

- -


-

trackMarker:withMouseEvent:

-- (BOOL) trackMarker: (NSRulerMarker*)aMarker withMouseEvent: (NSEvent*)theEvent;
+

+
+

trackMarker:withMouseEvent:

+ - (BOOL) trackMarker: (NSRulerMarker*)aMarker withMouseEvent: (NSEvent*)theEvent;
+

- -


-

rulerView:didAddMarker:

-- (void) rulerView: (NSRulerView*)aRulerView didAddMarker: (NSRulerMarker*)aMarker;
+

+
+

+ Software documentation for the + NSObject(NSRulerViewClient) + category +

+

NSObject(NSRulerViewClient)

+ Declared: AppKit/NSRulerView.h
+

- -


-

rulerView:didMoveMarker:

-- (void) rulerView: (NSRulerView*)aRulerView didMoveMarker: (NSRulerMarker*)aMarker;
+

+

rulerView:didAddMarker:

+ - (void) rulerView: (NSRulerView*)aRulerView didAddMarker: (NSRulerMarker*)aMarker;
+

- -


-

rulerView:didRemoveMarker:

-- (void) rulerView: (NSRulerView*)aRulerView didRemoveMarker: (NSRulerMarker*)aMarker;
+

+
+

rulerView:didMoveMarker:

+ - (void) rulerView: (NSRulerView*)aRulerView didMoveMarker: (NSRulerMarker*)aMarker;
+

- -


-

rulerView:handleMouseDown:

-- (void) rulerView: (NSRulerView*)aRulerView handleMouseDown: (NSEvent*)theEvent;
+

+
+

rulerView:didRemoveMarker:

+ - (void) rulerView: (NSRulerView*)aRulerView didRemoveMarker: (NSRulerMarker*)aMarker;
+

- -


-

rulerView:shouldAddMarker:

-- (BOOL) rulerView: (NSRulerView*)aRulerView shouldAddMarker: (NSRulerMarker*)aMarker;
+

+
+

rulerView:handleMouseDown:

+ - (void) rulerView: (NSRulerView*)aRulerView handleMouseDown: (NSEvent*)theEvent;
+

- -


-

rulerView:shouldMoveMarker:

-- (BOOL) rulerView: (NSRulerView*)aRulerView shouldMoveMarker: (NSRulerMarker*)aMarker;
+

+
+

rulerView:shouldAddMarker:

+ - (BOOL) rulerView: (NSRulerView*)aRulerView shouldAddMarker: (NSRulerMarker*)aMarker;
+

- -


-

rulerView:shouldRemoveMarker:

-- (BOOL) rulerView: (NSRulerView*)aRulerView shouldRemoveMarker: (NSRulerMarker*)aMarker;
+

+
+

rulerView:shouldMoveMarker:

+ - (BOOL) rulerView: (NSRulerView*)aRulerView shouldMoveMarker: (NSRulerMarker*)aMarker;
+

- -


-

rulerView:willAddMarker:atLocation:

-- (float) rulerView: (NSRulerView*)aRulerView willAddMarker: (NSRulerMarker*)aMarker atLocation: (float)location;
+

+
+

rulerView:shouldRemoveMarker:

+ - (BOOL) rulerView: (NSRulerView*)aRulerView shouldRemoveMarker: (NSRulerMarker*)aMarker;
+

- -


-

rulerView:willMoveMarker:toLocation:

-- (float) rulerView: (NSRulerView*)aRulerView willMoveMarker: (NSRulerMarker*)aMarker toLocation: (float)location;
+

+
+

rulerView:willAddMarker:atLocation:

+ - (float) rulerView: (NSRulerView*)aRulerView willAddMarker: (NSRulerMarker*)aMarker atLocation: (float)location;
+

- -


-

rulerView:willSetClientView:

-- (void) rulerView: (NSRulerView*)aRulerView willSetClientView: (NSView*)newClient;
+

+
+

rulerView:willMoveMarker:toLocation:

+ - (float) rulerView: (NSRulerView*)aRulerView willMoveMarker: (NSRulerMarker*)aMarker toLocation: (float)location;
+

- -


- - - +

+
+

rulerView:willSetClientView:

+ - (void) rulerView: (NSRulerView*)aRulerView willSetClientView: (NSView*)newClient;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSSavePanel.gsdoc b/Documentation/gsdoc/NSSavePanel.gsdoc index 9f82c7e59..d2057a349 100644 --- a/Documentation/gsdoc/NSSavePanel.gsdoc +++ b/Documentation/gsdoc/NSSavePanel.gsdoc @@ -1,27 +1,69 @@ - - + + NSSavePanel - - - + + + jagapen@smithlab.chem.wisc.edu + - $Revision$ - $Date$ + + + n.pero@mi.flashnet.it + + + + + mirko.viviani@rccr.cremona.it + + + + Standard save panel for saving files + + 1999, 2000 Free Software Foundation, Inc. - NSSavePanel - - Gui/NSSavePanel.h - - + + Software documentation for the NSSavePanel class + + + AppKit/NSSavePanel.h + NSCoding + + savePanel + + URL + + + + + accessoryView + + + + + beginSheetForDirectory: + path + file: + filename + modalForWindow: + docWindow + modalDelegate: + delegate + didEndSelector: + didEndSelector + contextInfo: + contextInfo + + + cancel: sender @@ -33,15 +75,8 @@ - - encodeWithCoder: - coder - - - - - initWithCoder: - coder + + filename @@ -61,9 +96,26 @@ + + runModal + + + runModalForDirectory: path + file: + filename + + + + + runModalForDirectory: + path + file: + filename + relativeToWindow: + window @@ -79,12 +131,6 @@
- - setDelegate: - anObject - - - setDirectory: path @@ -99,13 +145,7 @@ setRequiredFileType: - type - - - - - setTreatsFilePackagesAsDirectories: - flag + fileType @@ -115,6 +155,12 @@
+ + setTreatsFilePackagesAsDirectories: + flag + + + title @@ -130,23 +176,27 @@ +
+
+ + + Software documentation for the + NSObject(NSSavePanelDelegate) + category + + + AppKit/NSSavePanel.h + + panel: sender compareFilename: - fileName1 + filename1 with: - fileName2 + filename2 caseSensitive: - flag - - - - - panel: - sender - shouldShowFilename: - filename + caseSensitive @@ -158,7 +208,25 @@ -
+ + panel: + sender + shouldShowFilename: + filename + + + + + panel: + sender + userEnteredFilename: + fileName + confirmed: + okFlag + + + +
diff --git a/Documentation/gsdoc/NSSavePanel.html b/Documentation/gsdoc/NSSavePanel.html index 6ae727bd3..677533414 100644 --- a/Documentation/gsdoc/NSSavePanel.html +++ b/Documentation/gsdoc/NSSavePanel.html @@ -1,170 +1,212 @@ - - NSSavePanel - - -[Previous] -[Up] -[Next] -

NSSavePanel

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSSavePanel

-

NSSavePanel

-

Declared in: Gui/NSSavePanel.h

-
+ + + NSSavePanel + + +

NSSavePanel

+

Authors

+
+
Jonathan Gapen( + jagapen@smithlab.chem.wisc.edu + )
+
+
+
Nicola Pero( + n.pero@mi.flashnet.it + )
+
+
+
Mirko Viviani( + mirko.viviani@rccr.cremona.it + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

savePanel

-+ (NSSavePanel*) savePanel;
+ Standard save panel for saving files +
+

Copyright: (C) 1999, 2000 Free Software Foundation, Inc.

+

+ Software documentation for the NSSavePanel class +

+

NSSavePanel : NSPanel

+ Declared: AppKit/NSSavePanel.h
+ Conform: NSCoding
+

- -


-

Instances Methods

-

cancel:

-- (void) cancel: (id)sender;
+

+

savePanel

+ + (NSSavePanel*) savePanel;
+

- -


-

directory

-- (NSString*) directory;
+

+
+

URL

+ - (NSURL*) URL;
+

- -


-

encodeWithCoder:

-- (void) encodeWithCoder: (NSCoder*)coder;
+

+
+

accessoryView

+ - (NSView*) accessoryView;
+

- -


-

initWithCoder:

-- (id) initWithCoder: (NSCoder*)coder;
+

+
+

beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelector:contextInfo:

+ - (void) beginSheetForDirectory: (NSString*)path file: (NSString*)filename modalForWindow: (NSWindow*)docWindow modalDelegate: (id)delegate didEndSelector: (SEL)didEndSelector contextInfo: (void*)contextInfo;
+

- -


-

ok:

-- (void) ok: (id)sender;
+

+
+

cancel:

+ - (void) cancel: (id)sender;
+

- -


-

prompt

-- (NSString*) prompt;
+

+
+

directory

+ - (NSString*) directory;
+

- -


-

requiredFileType

-- (NSString*) requiredFileType;
+

+
+

filename

+ - (NSString*) filename;
+

- -


-

runModalForDirectory:

-- (int) runModalForDirectory: (NSString*)path;
+

+
+

ok:

+ - (void) ok: (id)sender;
+

- -


-

selectText:

-- (void) selectText: (id)sender;
+

+
+

prompt

+ - (NSString*) prompt;
+

- -


-

setAccessoryView:

-- (void) setAccessoryView: (NSView*)aView;
+

+
+

requiredFileType

+ - (NSString*) requiredFileType;
+

- -


-

setDelegate:

-- (void) setDelegate: (id)anObject;
+

+
+

runModal

+ - (int) runModal;
+

- -


-

setDirectory:

-- (void) setDirectory: (NSString*)path;
+

+
+

runModalForDirectory:file:

+ - (int) runModalForDirectory: (NSString*)path file: (NSString*)filename;
+

- -


-

setPrompt:

-- (void) setPrompt: (NSString*)prompt;
+

+
+

runModalForDirectory:file:relativeToWindow:

+ - (int) runModalForDirectory: (NSString*)path file: (NSString*)filename relativeToWindow: (NSWindow*)window;
+

- -


-

setRequiredFileType:

-- (void) setRequiredFileType: (NSString*)type;
+

+
+

selectText:

+ - (void) selectText: (id)sender;
+

- -


-

setTreatsFilePackagesAsDirectories:

-- (void) setTreatsFilePackagesAsDirectories: (BOOL)flag;
+

+
+

setAccessoryView:

+ - (void) setAccessoryView: (NSView*)aView;
+

- -


-

setTitle:

-- (void) setTitle: (NSString*)title;
+

+
+

setDirectory:

+ - (void) setDirectory: (NSString*)path;
+

- -


-

title

-- (NSString*) title;
+

+
+

setPrompt:

+ - (void) setPrompt: (NSString*)prompt;
+

- -


-

treatsFilePackagesAsDirectories

-- (BOOL) treatsFilePackagesAsDirectories;
+

+
+

setRequiredFileType:

+ - (void) setRequiredFileType: (NSString*)fileType;
+

- -


-

validateVisibleColumns

-- (void) validateVisibleColumns;
+

+
+

setTitle:

+ - (void) setTitle: (NSString*)title;
+

- -


-

panel:compareFilename:with:caseSensitive:

-- (NSComparisonResult) panel: (id)sender compareFilename: (NSString*)fileName1 with: (NSString *)fileName2 caseSensitive: (BOOL)flag;
+

+
+

setTreatsFilePackagesAsDirectories:

+ - (void) setTreatsFilePackagesAsDirectories: (BOOL)flag;
+

- -


-

panel:shouldShowFilename:

-- (BOOL) panel: (id)sender shouldShowFilename: (NSString*)filename;
+

+
+

title

+ - (NSString*) title;
+

- -


-

panel:isValidFilename:

-- (BOOL) panel: (id)sender isValidFilename: (NSString*)filename;
+

+
+

treatsFilePackagesAsDirectories

+ - (BOOL) treatsFilePackagesAsDirectories;
+

- -


- - - +

+
+

validateVisibleColumns

+ - (void) validateVisibleColumns;
+

+ +

+
+

+ Software documentation for the + NSObject(NSSavePanelDelegate) + category +

+

NSObject(NSSavePanelDelegate)

+ Declared: AppKit/NSSavePanel.h
+

+ +

+

panel:compareFilename:with:caseSensitive:

+ - (NSComparisonResult) panel: (id)sender compareFilename: (NSString*)filename1 with: (NSString*)filename2 caseSensitive: (BOOL)caseSensitive;
+

+ +

+
+

panel:isValidFilename:

+ - (BOOL) panel: (id)sender isValidFilename: (NSString*)filename;
+

+ +

+
+

panel:shouldShowFilename:

+ - (BOOL) panel: (id)sender shouldShowFilename: (NSString*)filename;
+

+ +

+
+

panel:userEnteredFilename:confirmed:

+ - (NSString*) panel: (id)sender userEnteredFilename: (NSString*)fileName confirmed: (BOOL)okFlag;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSScreen.gsdoc b/Documentation/gsdoc/NSScreen.gsdoc index d6dad9a95..cf700259d 100644 --- a/Documentation/gsdoc/NSScreen.gsdoc +++ b/Documentation/gsdoc/NSScreen.gsdoc @@ -1,23 +1,29 @@ - - + + NSScreen - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + borgheron@yahoo.com + + + 1996, 2000 Free Software Foundation, Inc. - NSScreen + + Software documentation for the NSScreen class + - Gui/NSScreen.h - NSObject - - + AppKit/NSScreen.h + + deepestScreen @@ -28,6 +34,11 @@ + + resetScreens + + + screens @@ -48,7 +59,7 @@ - + supportedWindowDepths diff --git a/Documentation/gsdoc/NSScreen.html b/Documentation/gsdoc/NSScreen.html index 8094b5982..922e4cc9b 100644 --- a/Documentation/gsdoc/NSScreen.html +++ b/Documentation/gsdoc/NSScreen.html @@ -1,83 +1,84 @@ - - NSScreen - - -[Previous] -[Up] -[Next] -

NSScreen

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSScreen

-

NSScreen

-

Declared in: Gui/NSScreen.h

-

Inherits from: NSObject

-

Conforms to: NSObject -

-
+ + + NSScreen + + +

NSScreen

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Gregory John Casamento( + borgheron@yahoo.com + )
+
+
+
+

Copyright: (C) 1996, 2000 Free Software Foundation, Inc.

+

+ Software documentation for the NSScreen class +

+

NSScreen : NSObject

+ Declared: AppKit/NSScreen.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

deepestScreen

-+ (NSScreen*) deepestScreen;
+

+

deepestScreen

+ + (NSScreen*) deepestScreen;
+

- -


-

mainScreen

-+ (NSScreen*) mainScreen;
+

+
+

mainScreen

+ + (NSScreen*) mainScreen;
+

- -


-

screens

-+ (NSArray*) screens;
+

+
+

resetScreens

+ + (void) resetScreens;
+

- -


-

Instances Methods

-

depth

-- (NSWindowDepth) depth;
+

+
+

screens

+ + (NSArray*) screens;
+

- -


-

deviceDescription

-- (NSDictionary*) deviceDescription;
+

+
+

depth

+ - (NSWindowDepth) depth;
+

- -


-

frame

-- (NSRect) frame;
+

+
+

deviceDescription

+ - (NSDictionary*) deviceDescription;
+

- -


-

supportedWindowDepths

-- (constNSWindowDepth*) supportedWindowDepths;
+

+
+

frame

+ - (NSRect) frame;
+

- -


-

visibleFrame

-- (NSRect) visibleFrame;
+

+
+

supportedWindowDepths

+ - (const NSWindowDepth*) supportedWindowDepths;
+

- -


- - - +

+
+

visibleFrame

+ - (NSRect) visibleFrame;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSScrollView.gsdoc b/Documentation/gsdoc/NSScrollView.gsdoc index ea2f9bf7c..72e5f645a 100644 --- a/Documentation/gsdoc/NSScrollView.gsdoc +++ b/Documentation/gsdoc/NSScrollView.gsdoc @@ -1,23 +1,34 @@ - - + + NSScrollView - - - + + + ovidiu@net-community.com + - $Revision$ - $Date$ + + + far@ix.netcom.com + + + + + richard@brainstorm.co.uk + + + 1996 Free Software Foundation, Inc. - NSScrollView + + Software documentation for the NSScrollView class + - Gui/NSScrollView.h - NSCoding - - + AppKit/NSScrollView.h + + contentSizeForFrameSize: frameSize @@ -88,6 +99,11 @@ + + drawsBackground + + + hasHorizontalRuler @@ -128,11 +144,6 @@ - - isRulerVisible - - - lineScroll @@ -189,6 +200,12 @@ + + setDrawsBackground: + flag + + + setHasHorizontalRuler: flag @@ -275,7 +292,7 @@ setVerticalRulerView: - aRulerView + ruler @@ -290,12 +307,6 @@
- - toggleRuler: - sender - - - verticalLineScroll diff --git a/Documentation/gsdoc/NSScrollView.html b/Documentation/gsdoc/NSScrollView.html index f9eb0e52e..331364edd 100644 --- a/Documentation/gsdoc/NSScrollView.html +++ b/Documentation/gsdoc/NSScrollView.html @@ -1,347 +1,347 @@ - - NSScrollView - - -[Previous] -[Up] -[Next] -

NSScrollView

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSScrollView

-

NSScrollView

-

Declared in: Gui/NSScrollView.h

-

Inherits from: NSView

-

Conforms to: NSCoding -

-
+ + + NSScrollView + + +

NSScrollView

+

Authors

+
+
Ovidiu Predescu( + ovidiu@net-community.com + )
+
+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
Richard Frith-Macdonald( + richard@brainstorm.co.uk + )
+
+
+
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSScrollView class +

+

NSScrollView : NSView

+ Declared: AppKit/NSScrollView.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

contentSizeForFrameSize:hasHorizontalScroller:hasVerticalScroller:borderType:

-+ (NSSize) contentSizeForFrameSize: (NSSize)frameSize hasHorizontalScroller: (BOOL)hFlag hasVerticalScroller: (BOOL)vFlag borderType: (NSBorderType)borderType;
+

+

contentSizeForFrameSize:hasHorizontalScroller:hasVerticalScroller:borderType:

+ + (NSSize) contentSizeForFrameSize: (NSSize)frameSize hasHorizontalScroller: (BOOL)hFlag hasVerticalScroller: (BOOL)vFlag borderType: (NSBorderType)borderType;
+

- -


-

frameSizeForContentSize:hasHorizontalScroller:hasVerticalScroller:borderType:

-+ (NSSize) frameSizeForContentSize: (NSSize)contentSize hasHorizontalScroller: (BOOL)hFlag hasVerticalScroller: (BOOL)vFlag borderType: (NSBorderType)borderType;
+

+
+

frameSizeForContentSize:hasHorizontalScroller:hasVerticalScroller:borderType:

+ + (NSSize) frameSizeForContentSize: (NSSize)contentSize hasHorizontalScroller: (BOOL)hFlag hasVerticalScroller: (BOOL)vFlag borderType: (NSBorderType)borderType;
+

- -


-

rulerViewClass

-+ (Class) rulerViewClass;
+

+
+

rulerViewClass

+ + (Class) rulerViewClass;
+

- -


-

setRulerViewClass:

-+ (void) setRulerViewClass: (Class)aClass;
+

+
+

setRulerViewClass:

+ + (void) setRulerViewClass: (Class)aClass;
+

- -


-

Instances Methods

-

backgroundColor

-- (NSColor*) backgroundColor;
+

+
+

backgroundColor

+ - (NSColor*) backgroundColor;
+

- -


-

borderType

-- (NSBorderType) borderType;
+

+
+

borderType

+ - (NSBorderType) borderType;
+

- -


-

contentSize

-- (NSSize) contentSize;
+

+
+

contentSize

+ - (NSSize) contentSize;
+

- -


-

contentView

-- (NSClipView*) contentView;
+

+
+

contentView

+ - (NSClipView*) contentView;
+

- -


-

documentCursor

-- (NSCursor*) documentCursor;
+

+
+

documentCursor

+ - (NSCursor*) documentCursor;
+

- -


-

documentView

-- (id) documentView;
+

+
+

documentView

+ - (id) documentView;
+

- -


-

documentVisibleRect

-- (NSRect) documentVisibleRect;
+

+
+

documentVisibleRect

+ - (NSRect) documentVisibleRect;
+

- -


-

hasHorizontalRuler

-- (BOOL) hasHorizontalRuler;
+

+
+

drawsBackground

+ - (BOOL) drawsBackground;
+

- -


-

hasHorizontalScroller

-- (BOOL) hasHorizontalScroller;
+

+
+

hasHorizontalRuler

+ - (BOOL) hasHorizontalRuler;
+

- -


-

hasVerticalRuler

-- (BOOL) hasVerticalRuler;
+

+
+

hasHorizontalScroller

+ - (BOOL) hasHorizontalScroller;
+

- -


-

hasVerticalScroller

-- (BOOL) hasVerticalScroller;
+

+
+

hasVerticalRuler

+ - (BOOL) hasVerticalRuler;
+

- -


-

horizontalLineScroll

-- (float) horizontalLineScroll;
+

+
+

hasVerticalScroller

+ - (BOOL) hasVerticalScroller;
+

- -


-

horizontalPageScroll

-- (float) horizontalPageScroll;
+

+
+

horizontalLineScroll

+ - (float) horizontalLineScroll;
+

- -


-

horizontalRulerView

-- (NSRulerView*) horizontalRulerView;
+

+
+

horizontalPageScroll

+ - (float) horizontalPageScroll;
+

- -


-

horizontalScroller

-- (NSScroller*) horizontalScroller;
+

+
+

horizontalRulerView

+ - (NSRulerView*) horizontalRulerView;
+

- -


-

isRulerVisible

-- (BOOL) isRulerVisible;
+

+
+

horizontalScroller

+ - (NSScroller*) horizontalScroller;
+

- -


-

lineScroll

-- (float) lineScroll;
+

+
+

lineScroll

+ - (float) lineScroll;
+

- -


-

pageScroll

-- (float) pageScroll;
+

+
+

pageScroll

+ - (float) pageScroll;
+

- -


-

reflectScrolledClipView:

-- (void) reflectScrolledClipView: (NSClipView*)aClipView;
+

+
+

reflectScrolledClipView:

+ - (void) reflectScrolledClipView: (NSClipView*)aClipView;
+

- -


-

rulersVisible

-- (BOOL) rulersVisible;
+

+
+

rulersVisible

+ - (BOOL) rulersVisible;
+

- -


-

scrollsDynamically

-- (BOOL) scrollsDynamically;
+

+
+

scrollsDynamically

+ - (BOOL) scrollsDynamically;
+

- -


-

setBackgroundColor:

-- (void) setBackgroundColor: (NSColor*)aColor;
+

+
+

setBackgroundColor:

+ - (void) setBackgroundColor: (NSColor*)aColor;
+

- -


-

setBorderType:

-- (void) setBorderType: (NSBorderType)borderType;
+

+
+

setBorderType:

+ - (void) setBorderType: (NSBorderType)borderType;
+

- -


-

setContentView:

-- (void) setContentView: (NSClipView*)aView;
+

+
+

setContentView:

+ - (void) setContentView: (NSClipView*)aView;
+

- -


-

setDocumentCursor:

-- (void) setDocumentCursor: (NSCursor*)aCursor;
+

+
+

setDocumentCursor:

+ - (void) setDocumentCursor: (NSCursor*)aCursor;
+

- -


-

setDocumentView:

-- (void) setDocumentView: (NSView*)aView;
+

+
+

setDocumentView:

+ - (void) setDocumentView: (NSView*)aView;
+

- -


-

setHasHorizontalRuler:

-- (void) setHasHorizontalRuler: (BOOL)flag;
+

+
+

setDrawsBackground:

+ - (void) setDrawsBackground: (BOOL)flag;
+

- -


-

setHasHorizontalScroller:

-- (void) setHasHorizontalScroller: (BOOL)flag;
+

+
+

setHasHorizontalRuler:

+ - (void) setHasHorizontalRuler: (BOOL)flag;
+

- -


-

setHasVerticalRuler:

-- (void) setHasVerticalRuler: (BOOL)flag;
+

+
+

setHasHorizontalScroller:

+ - (void) setHasHorizontalScroller: (BOOL)flag;
+

- -


-

setHasVerticalScroller:

-- (void) setHasVerticalScroller: (BOOL)flag;
+

+
+

setHasVerticalRuler:

+ - (void) setHasVerticalRuler: (BOOL)flag;
+

- -


-

setHorizontalLineScroll:

-- (void) setHorizontalLineScroll: (float)aFloat;
+

+
+

setHasVerticalScroller:

+ - (void) setHasVerticalScroller: (BOOL)flag;
+

- -


-

setHorizontalPageScroll:

-- (void) setHorizontalPageScroll: (float)aFloat;
+

+
+

setHorizontalLineScroll:

+ - (void) setHorizontalLineScroll: (float)aFloat;
+

- -


-

setHorizontalRulerView:

-- (void) setHorizontalRulerView: (NSRulerView*)aRulerView;
+

+
+

setHorizontalPageScroll:

+ - (void) setHorizontalPageScroll: (float)aFloat;
+

- -


-

setHorizontalScroller:

-- (void) setHorizontalScroller: (NSScroller*)aScroller;
+

+
+

setHorizontalRulerView:

+ - (void) setHorizontalRulerView: (NSRulerView*)aRulerView;
+

- -


-

setLineScroll:

-- (void) setLineScroll: (float)aFloat;
+

+
+

setHorizontalScroller:

+ - (void) setHorizontalScroller: (NSScroller*)aScroller;
+

- -


-

setPageScroll:

-- (void) setPageScroll: (float)aFloat;
+

+
+

setLineScroll:

+ - (void) setLineScroll: (float)aFloat;
+

- -


-

setRulersVisible:

-- (void) setRulersVisible: (BOOL)flag;
+

+
+

setPageScroll:

+ - (void) setPageScroll: (float)aFloat;
+

- -


-

setScrollsDynamically:

-- (void) setScrollsDynamically: (BOOL)flag;
+

+
+

setRulersVisible:

+ - (void) setRulersVisible: (BOOL)flag;
+

- -


-

setVerticalLineScroll:

-- (void) setVerticalLineScroll: (float)aFloat;
+

+
+

setScrollsDynamically:

+ - (void) setScrollsDynamically: (BOOL)flag;
+

- -


-

setVerticalPageScroll:

-- (void) setVerticalPageScroll: (float)aFloat;
+

+
+

setVerticalLineScroll:

+ - (void) setVerticalLineScroll: (float)aFloat;
+

- -


-

setVerticalRulerView:

-- (void) setVerticalRulerView: (NSRulerView*)aRulerView;
+

+
+

setVerticalPageScroll:

+ - (void) setVerticalPageScroll: (float)aFloat;
+

- -


-

setVerticalScroller:

-- (void) setVerticalScroller: (NSScroller*)aScroller;
+

+
+

setVerticalRulerView:

+ - (void) setVerticalRulerView: (NSRulerView*)ruler;
+

- -


-

tile

-- (void) tile;
+

+
+

setVerticalScroller:

+ - (void) setVerticalScroller: (NSScroller*)aScroller;
+

- -


-

toggleRuler:

-- (void) toggleRuler: (id)sender;
+

+
+

tile

+ - (void) tile;
+

- -


-

verticalLineScroll

-- (float) verticalLineScroll;
+

+
+

verticalLineScroll

+ - (float) verticalLineScroll;
+

- -


-

verticalPageScroll

-- (float) verticalPageScroll;
+

+
+

verticalPageScroll

+ - (float) verticalPageScroll;
+

- -


-

verticalRulerView

-- (NSRulerView*) verticalRulerView;
+

+
+

verticalRulerView

+ - (NSRulerView*) verticalRulerView;
+

- -


-

verticalScroller

-- (NSScroller*) verticalScroller;
+

+
+

verticalScroller

+ - (NSScroller*) verticalScroller;
+

- -


- - - +

+
+ + diff --git a/Documentation/gsdoc/NSScroller.gsdoc b/Documentation/gsdoc/NSScroller.gsdoc index a73825931..d34fa36da 100644 --- a/Documentation/gsdoc/NSScroller.gsdoc +++ b/Documentation/gsdoc/NSScroller.gsdoc @@ -1,28 +1,46 @@ - - + + NSScroller - - - + + + ovidiu@net-community.com + - $Revision$ - $Date$ + + + far@ix.netcom.com + + + + + richard@brainstorm.co.uk + + + 1996 Free Software Foundation, Inc. - NSScroller + + Software documentation for the NSScroller class + - Gui/NSScroller.h + AppKit/NSScroller.h NSCoding - - + + scrollerWidth + + scrollerWidthForControlSize: + controlSize + + + arrowsPosition @@ -33,9 +51,19 @@ + + controlSize + + + + + controlTint + + + drawArrow: - arrow + whichButton highlight: flag @@ -46,6 +74,11 @@ + + drawKnobSlot + + + drawParts @@ -62,12 +95,6 @@ - - initWithFrame: - frameRect - - - knobProportion @@ -75,13 +102,25 @@ rectForPart: - aPart + partCode setArrowsPosition: - location + where + + + + + setControlSize: + controlSize + + + + + setControlTint: + controlTint @@ -89,13 +128,13 @@ setFloatValue: aFloat knobProportion: - knobProp + ratio
testPart: - aPoint + thePoint diff --git a/Documentation/gsdoc/NSScroller.html b/Documentation/gsdoc/NSScroller.html index e70f644c0..d835f3b48 100644 --- a/Documentation/gsdoc/NSScroller.html +++ b/Documentation/gsdoc/NSScroller.html @@ -1,137 +1,168 @@ - - NSScroller - - -[Previous] -[Up] -[Next] -

NSScroller

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSScroller

-

NSScroller

-

Declared in: Gui/NSScroller.h

-

Inherits from: NSControl

-

Conforms to: NSCoding -

-
+ + + NSScroller + + +

NSScroller

+

Authors

+
+
Ovidiu Predescu( + ovidiu@net-community.com + )
+
+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
Richard Frith-Macdonald( + richard@brainstorm.co.uk + )
+
+
+
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSScroller class +

+

NSScroller : NSControl

+ Declared: AppKit/NSScroller.h
+ Conform: NSCoding
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

scrollerWidth

-+ (float) scrollerWidth;
+

+

scrollerWidth

+ + (float) scrollerWidth;
+

- -


-

Instances Methods

-

arrowsPosition

-- (NSScrollArrowPosition) arrowsPosition;
+

+
+

scrollerWidthForControlSize:

+ + (float) scrollerWidthForControlSize: (NSControlSize)controlSize;
+

- -


-

checkSpaceForParts

-- (void) checkSpaceForParts;
+

+
+

arrowsPosition

+ - (NSScrollArrowPosition) arrowsPosition;
+

- -


-

drawArrow:highlight:

-- (void) drawArrow: (NSScrollerArrow)arrow highlight: (BOOL)flag;
+

+
+

checkSpaceForParts

+ - (void) checkSpaceForParts;
+

- -


-

drawKnob

-- (void) drawKnob;
+

+
+

controlSize

+ - (NSControlSize) controlSize;
+

- -


-

drawParts

-- (void) drawParts;
+

+
+

controlTint

+ - (NSControlTint) controlTint;
+

- -


-

highlight:

-- (void) highlight: (BOOL)flag;
+

+
+

drawArrow:highlight:

+ - (void) drawArrow: (NSScrollerArrow)whichButton highlight: (BOOL)flag;
+

- -


-

hitPart

-- (NSScrollerPart) hitPart;
+

+
+

drawKnob

+ - (void) drawKnob;
+

- -


-

initWithFrame:

-- (id) initWithFrame: (NSRect)frameRect;
+

+
+

drawKnobSlot

+ - (void) drawKnobSlot;
+

- -


-

knobProportion

-- (float) knobProportion;
+

+
+

drawParts

+ - (void) drawParts;
+

- -


-

rectForPart:

-- (NSRect) rectForPart: (NSScrollerPart)aPart;
+

+
+

highlight:

+ - (void) highlight: (BOOL)flag;
+

- -


-

setArrowsPosition:

-- (void) setArrowsPosition: (NSScrollArrowPosition)location;
+

+
+

hitPart

+ - (NSScrollerPart) hitPart;
+

- -


-

setFloatValue:knobProportion:

-- (void) setFloatValue: (float)aFloat knobProportion: (float)knobProp;
+

+
+

knobProportion

+ - (float) knobProportion;
+

- -


-

testPart:

-- (NSScrollerPart) testPart: (NSPoint)aPoint;
+

+
+

rectForPart:

+ - (NSRect) rectForPart: (NSScrollerPart)partCode;
+

- -


-

trackKnob:

-- (void) trackKnob: (NSEvent*)theEvent;
+

+
+

setArrowsPosition:

+ - (void) setArrowsPosition: (NSScrollArrowPosition)where;
+

- -


-

trackScrollButtons:

-- (void) trackScrollButtons: (NSEvent*)theEvent;
+

+
+

setControlSize:

+ - (void) setControlSize: (NSControlSize)controlSize;
+

- -


-

usableParts

-- (NSUsableScrollerParts) usableParts;
+

+
+

setControlTint:

+ - (void) setControlTint: (NSControlTint)controlTint;
+

- -


- - - +

+
+

setFloatValue:knobProportion:

+ - (void) setFloatValue: (float)aFloat knobProportion: (float)ratio;
+

+ +

+
+

testPart:

+ - (NSScrollerPart) testPart: (NSPoint)thePoint;
+

+ +

+
+

trackKnob:

+ - (void) trackKnob: (NSEvent*)theEvent;
+

+ +

+
+

trackScrollButtons:

+ - (void) trackScrollButtons: (NSEvent*)theEvent;
+

+ +

+
+

usableParts

+ - (NSUsableScrollerParts) usableParts;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSSecureTextField.gsdoc b/Documentation/gsdoc/NSSecureTextField.gsdoc index 534808def..eaa4e06aa 100644 --- a/Documentation/gsdoc/NSSecureTextField.gsdoc +++ b/Documentation/gsdoc/NSSecureTextField.gsdoc @@ -1,23 +1,49 @@ - - + + NSSecureTextField - - - + + + borgheron@yahoo.com + - $Revision$ - $Date$ + + Secure Text field control class for hidden text entry + + 1999 Free Software Foundation, Inc. - NSSecureTextField + + Software documentation for the NSSecureTextField class + - Gui/NSSecureTextField.h - NSCoding + AppKit/NSSecureTextField.h + + + + + + + Software documentation for the NSSecureTextFieldCell + class + + + AppKit/NSSecureTextField.h + + + + echosBullets + + + setEchosBullets: + flag + + + diff --git a/Documentation/gsdoc/NSSecureTextField.html b/Documentation/gsdoc/NSSecureTextField.html index 1a1dcc350..66faa2d03 100644 --- a/Documentation/gsdoc/NSSecureTextField.html +++ b/Documentation/gsdoc/NSSecureTextField.html @@ -1,33 +1,50 @@ - - NSSecureTextField - - -[Previous] -[Up] -[Next] -

NSSecureTextField

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSSecureTextField

-

NSSecureTextField

-

Declared in: Gui/NSSecureTextField.h

-

Inherits from: NSTextField

-

Conforms to: NSCoding -

-
+ + + NSSecureTextField + + +

NSSecureTextField

+

Authors

+
+
Gregory John Casamento( + borgheron@yahoo.com + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

-
    -
- - - + Secure Text field control class for hidden text entry +
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSSecureTextField class +

+

NSSecureTextField : NSTextField

+ Declared: AppKit/NSSecureTextField.h
+

+ +

+

+ Software documentation for the NSSecureTextFieldCell + class +

+

NSSecureTextFieldCell : NSTextFieldCell

+ Declared: AppKit/NSSecureTextField.h
+

+ +

+

echosBullets

+ - (BOOL) echosBullets;
+

+ +

+
+

setEchosBullets:

+ - (void) setEchosBullets: (BOOL)flag;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSSlider.gsdoc b/Documentation/gsdoc/NSSlider.gsdoc index 9e06eb9f0..952daaed6 100644 --- a/Documentation/gsdoc/NSSlider.gsdoc +++ b/Documentation/gsdoc/NSSlider.gsdoc @@ -1,251 +1,268 @@ - - + + NSSlider - - - + + + ovidiu@net-community.com + - - + + + far@ix.netcom.com + - $Revision$ - $Date$ + 1996 Free Software Foundation, Inc. - NSSlider + Class Description +

+ An NSSlider displays, and allows control of, some value in + the application. It represents a continuous stream of + values of type float, which can be + retrieved by the method floatValue and + set by the method setFloatValue:. +

+

+ This control is a continuous control. It sends its action + message as long as the user is manipulating it. This + can be changed by passing NO to the + setContinuous: message of a given NSSlider. +

+

+ Although methods for adding and managing a title are + provided, the slider's knob can cover this title, so + it is recommended that a label be added near the slider, for + identification. +

+

+ As with many controls, NSSlider relies on its cell + counterpart, NSSliderCell. For more information, + please see the specification for NSSliderCell. +

+

+ Use of an NSSlider to do the role of an NSScroller is not + recommended. A scroller is intended to represent + the visible portion of a view, whereas a slider is intended + to represent some value. +

- Gui/NSSlider.h - NSCoding - -

An NSSlider displays, and allows control of, some value in the application. - It represents a continuous stream of values of type float, which - can be retrieved by the method floatValue and set by the method - setFloatValue:.

- -

This control is a continuous control. It sends its action message as long - as the user is manipulating it. This can be changed by passing NO - to the setContinuous: message of a given NSSlider.

- -

Although methods for adding and managing a title are provided, the slider's - knob can cover this title, so it is recommended that a label be added near the - slider, for identification.

- -

As with many controls, NSSlider relies on its cell counterpart, NSSliderCell. - For more information, please see the specification for NSSliderCell.

- -

Use of an NSSlider to do the role of an NSScroller is not recommended. A - scroller is intended to represent the visible portion of a view, whereas a slider - is intended to represent some value.

-
+ AppKit/NSSlider.h + + acceptsFirstMouse: - mouseDownEvent + theEvent -

Returns YES by default. This will allow the first click sent to - the slider, when in an inactive window, to both bring the window into focus and - manipulate the slider.

+ Returns YES by default. This will + allow the first click sent to the slider, when in an + inactive window, to both bring the window into + focus and manipulate the slider.
allowsTickMarkValuesOnly -

As of yet, unimplemented.

altIncrementValue -

Returns the value by which the slider will be incremented if the user holds down - the ALT key.

+ Returns the value by which the slider will be + incremented if the user holds down the ALT key.
closestTickMarkValueToValue: aValue -

As of yet, unimplemented.

image -

Returns the image drawn in the slider's track. Returns nil if - this has not been set.

+ Returns the image drawn in the slider's track. + Returns nil if this has not been set.
indexOfTickMarkAtPoint: point -

As of yet, unimplemented.

isVertical -

Returns whether or not the slider is vertical. If, for some reason, this cannot - be determined, for such reasons as the slider is not yet displayed, this method - returns -1. Generally, a slider is considered vertical if its height is greater - than its width.

+ Returns whether or not the slider is vertical. If, + for some reason, this cannot be determined, for such + reasons as the slider is not yet displayed, this + method returns -1. Generally, a slider is considered + vertical if its height is greater than its width.
knobThickness -

Returns the thickness of the slider's knob. This value is in pixels, and is the - size of the knob along the slider's track.

+ Returns the thickness of the slider's knob. This + value is in pixels, and is the size of the knob along + the slider's track.
maxValue -

Returns the maximum value that the slider represents.

+ Returns the maximum value that the slider + represents.
minValue -

Returns the minimum value that the slider represents.

+ Returns the minimum value that the slider + represents.
numberOfTickMarks -

As of yet, unimplemented.

rectOfTickMarkAtIndex: index -

As of yet, unimplemented.

setAllowsTickMarkValuesOnly: flag -

As of yet, unimplemented.

setAltIncrementValue: increment -

Sets the value by which the slider will be incremented, when the - ALT key is held down, to increment.

+ Sets the value by which the slider will be + incremented, when the ALT key is held down, to + increment.
setImage: - barImage + backgroundImage -

Sets the image to be displayed in the slider's track to barImage.

+ Sets the image to be displayed in the slider's track + to barImage.
setKnobThickness: - thickness + aFloat -

Sets the thickness of the knob to thickness, in pixels. This value - sets the amount of space which the knob takes up in the slider's track.

+ Sets the thickness of the knob to thickness + , in pixels. This value sets the amount of space which + the knob takes up in the slider's track.
setMaxValue: - maxValue + aDouble -

Sets the maximum value that the sliders represents to maxValue.

+ Sets the maximum value that the sliders represents to + maxValue.
setMinValue: - minValue + aDouble -

Sets the minimum value that the slider represents to minValue.

+ Sets the minimum value that the slider represents to + minValue.
setNumberOfTickMarks: numberOfTickMarks -

As of yet, unimplemented.

setTickMarkPosition: position -

As of yet, unimplemented.

setTitle: - barTitle + aString -

Sets the title of the slider to barTitle. This title is displayed - on the slider's track, behind the knob.

+ Sets the title of the slider to barTitle. + This title is displayed on the slider's track, behind + the knob.
setTitleCell: - titleCell + aCell -

Sets the cell used to draw the title to titleCell.

+ Sets the cell used to draw the title to + titleCell.
setTitleColor: - color + aColor -

Sets the colour with which the title will be drawn to color.

+ Sets the colour with which the title will be drawn to + color.
setTitleFont: - font + fontObject -

Sets the font with which the title will be drawm to font.

+ Sets the font with which the title will be drawm to + font.
tickMarkPosition -

As of yet, unimplemented.

tickMarkValueAtIndex: index -

As of yet, unimplemented.

title -

Returns the title of the slider as an NSString.

+ Returns the title of the slider as an + NSString.
titleCell -

Returns the cell used to draw the title.

+ Returns the cell used to draw the title.
titleColor -

Returns the colour used to draw the title.

+ Returns the colour used to draw the title.
titleFont -

Returns the font used to draw the title.

+ Returns the font used to draw the title.
diff --git a/Documentation/gsdoc/NSSlider.html b/Documentation/gsdoc/NSSlider.html index d4b0cd8d4..9d2429531 100644 --- a/Documentation/gsdoc/NSSlider.html +++ b/Documentation/gsdoc/NSSlider.html @@ -1,346 +1,289 @@ - - NSSlider - - -[Previous] -[Up] -[Next] -

NSSlider

-

Authors

-
-
Richard Frith-Macdonald -
-
James Dessart -
-
-

Version: $Revision$

-

Date: $Date$

-

NSSlider

-

NSSlider

-

Declared in: Gui/NSSlider.h

-

Inherits from: NSControl

-

Conforms to: NSCoding -

-
- -

-An NSSlider displays, and allows control of, some value in the application. - It represents a continuous stream of values of type float, which - can be retrieved by the method floatValue and set by the method - setFloatValue:.

- - -

-This control is a continuous control. It sends its action message as long - as the user is manipulating it. This can be changed by passing NO - to the setContinuous: message of a given NSSlider.

- - -

-Although methods for adding and managing a title are provided, the slider's - knob can cover this title, so it is recommended that a label be added near the - slider, for identification.

- - -

-As with many controls, NSSlider relies on its cell counterpart, NSSliderCell. - For more information, please see the specification for NSSliderCell.

- - -

-Use of an NSSlider to do the role of an NSScroller is not recommended. A - scroller is intended to represent the visible portion of a view, whereas a slider - is intended to represent some value.

- - -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

acceptsFirstMouse:

-- (BOOL) acceptsFirstMouse: (NSEvent*)mouseDownEvent;
- -

-Returns YES by default. This will allow the first click sent to - the slider, when in an inactive window, to both bring the window into focus and - manipulate the slider.

- - -
-

allowsTickMarkValuesOnly

-- (BOOL) allowsTickMarkValuesOnly;
- -

-As of yet, unimplemented.

- - -
-

altIncrementValue

-- (double) altIncrementValue;
- -

-Returns the value by which the slider will be incremented if the user holds down - the ALT key.

- - -
-

closestTickMarkValueToValue:

-- (double) closestTickMarkValueToValue: (double)aValue;
- -

-As of yet, unimplemented.

- - -
-

image

-- (NSImage*) image;
- -

-Returns the image drawn in the slider's track. Returns nil if - this has not been set.

- - -
-

indexOfTickMarkAtPoint:

-- (int) indexOfTickMarkAtPoint: (NSPoint)point;
- -

-As of yet, unimplemented.

- - -
-

isVertical

-- (int) isVertical;
- -

-Returns whether or not the slider is vertical. If, for some reason, this cannot - be determined, for such reasons as the slider is not yet displayed, this method - returns -1. Generally, a slider is considered vertical if its height is greater - than its width.

- - -
-

knobThickness

-- (float) knobThickness;
- -

-Returns the thickness of the slider's knob. This value is in pixels, and is the - size of the knob along the slider's track.

- - -
-

maxValue

-- (double) maxValue;
- -

-Returns the maximum value that the slider represents.

- - -
-

minValue

-- (double) minValue;
- -

-Returns the minimum value that the slider represents.

- - -
-

numberOfTickMarks

-- (int) numberOfTickMarks;
- -

-As of yet, unimplemented.

- - -
-

rectOfTickMarkAtIndex:

-- (NSRect) rectOfTickMarkAtIndex: (int)index;
- -

-As of yet, unimplemented.

- - -
-

setAllowsTickMarkValuesOnly:

-- (void) setAllowsTickMarkValuesOnly: (BOOL)flag;
- -

-As of yet, unimplemented.

- - -
-

setAltIncrementValue:

-- (void) setAltIncrementValue: (double)increment;
- -

-Sets the value by which the slider will be incremented, when the - ALT key is held down, to increment.

- - -
-

setImage:

-- (void) setImage: (NSImage*)barImage;
- -

-Sets the image to be displayed in the slider's track to barImage.

- - -
-

setKnobThickness:

-- (void) setKnobThickness: (float)thickness;
- -

-Sets the thickness of the knob to thickness, in pixels. This value - sets the amount of space which the knob takes up in the slider's track.

- - -
-

setMaxValue:

-- (void) setMaxValue: (double)maxValue;
- -

-Sets the maximum value that the sliders represents to maxValue.

- - -
-

setMinValue:

-- (void) setMinValue: (double)minValue;
- -

-Sets the minimum value that the slider represents to minValue.

- - -
-

setNumberOfTickMarks:

-- (void) setNumberOfTickMarks: (int)numberOfTickMarks;
- -

-As of yet, unimplemented.

- - -
-

setTickMarkPosition:

-- (void) setTickMarkPosition: (NSTickMarkPosition)position;
- -

-As of yet, unimplemented.

- - -
-

setTitle:

-- (void) setTitle: (NSString*)barTitle;
- -

-Sets the title of the slider to barTitle. This title is displayed - on the slider's track, behind the knob.

- - -
-

setTitleCell:

-- (void) setTitleCell: (NSCell*)titleCell;
- -

-Sets the cell used to draw the title to titleCell.

- - -
-

setTitleColor:

-- (void) setTitleColor: (NSColor*)color;
- -

-Sets the colour with which the title will be drawn to color.

- - -
-

setTitleFont:

-- (void) setTitleFont: (NSFont*)font;
- -

-Sets the font with which the title will be drawm to font.

- - -
-

tickMarkPosition

-- (NSTickMarkPosition) tickMarkPosition;
- -

-As of yet, unimplemented.

- - -
-

tickMarkValueAtIndex:

-- (double) tickMarkValueAtIndex: (int)index;
- -

-As of yet, unimplemented.

- - -
-

title

-- (NSString*) title;
- -

-Returns the title of the slider as an NSString.

- - -
-

titleCell

-- (id) titleCell;
- -

-Returns the cell used to draw the title.

- - -
-

titleColor

-- (NSColor*) titleColor;
- -

-Returns the colour used to draw the title.

- - -
-

titleFont

-- (NSFont*) titleFont;
- -

-Returns the font used to draw the title.

- - -
- - - + + + NSSlider + + +

NSSlider

+

Authors

+
+
Ovidiu Predescu( + ovidiu@net-community.com + )
+
+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

Class Description

+

+ + An NSSlider displays, and allows control of, some value in + the application. It represents a continuous stream of + values of type float, which can be + retrieved by the method floatValue and + set by the method setFloatValue:. +

+

+ + This control is a continuous control. It sends its action + message as long as the user is manipulating it. This + can be changed by passing NO to the + setContinuous: message of a given NSSlider. +

+

+ + Although methods for adding and managing a title are + provided, the slider's knob can cover this title, so + it is recommended that a label be added near the slider, for + identification. +

+

+ + As with many controls, NSSlider relies on its cell + counterpart, NSSliderCell. For more information, + please see the specification for NSSliderCell. +

+

+ + Use of an NSSlider to do the role of an NSScroller is not + recommended. A scroller is intended to represent + the visible portion of a view, whereas a slider is intended + to represent some value. +

+

NSSlider : NSControl

+ Declared: AppKit/NSSlider.h
+

+ +

+

acceptsFirstMouse:

+ - (BOOL) acceptsFirstMouse: (NSEvent*)theEvent;
+

+ + Returns YES by default. This will + allow the first click sent to the slider, when in an + inactive window, to both bring the window into + focus and manipulate the slider. +

+
+

allowsTickMarkValuesOnly

+ - (BOOL) allowsTickMarkValuesOnly;
+

+ +

+
+

altIncrementValue

+ - (double) altIncrementValue;
+

+ + Returns the value by which the slider will be + incremented if the user holds down the ALT key. +

+
+

closestTickMarkValueToValue:

+ - (double) closestTickMarkValueToValue: (double)aValue;
+

+ +

+
+

image

+ - (NSImage*) image;
+

+ + Returns the image drawn in the slider's track. + Returns nil if this has not been set. +

+
+

indexOfTickMarkAtPoint:

+ - (int) indexOfTickMarkAtPoint: (NSPoint)point;
+

+ +

+
+

isVertical

+ - (int) isVertical;
+

+ + Returns whether or not the slider is vertical. If, + for some reason, this cannot be determined, for such + reasons as the slider is not yet displayed, this + method returns -1. Generally, a slider is considered + vertical if its height is greater than its width. +

+
+

knobThickness

+ - (float) knobThickness;
+

+ + Returns the thickness of the slider's knob. This + value is in pixels, and is the size of the knob along + the slider's track. +

+
+

maxValue

+ - (double) maxValue;
+

+ + Returns the maximum value that the slider + represents. +

+
+

minValue

+ - (double) minValue;
+

+ + Returns the minimum value that the slider + represents. +

+
+

numberOfTickMarks

+ - (int) numberOfTickMarks;
+

+ +

+
+

rectOfTickMarkAtIndex:

+ - (NSRect) rectOfTickMarkAtIndex: (int)index;
+

+ +

+
+

setAllowsTickMarkValuesOnly:

+ - (void) setAllowsTickMarkValuesOnly: (BOOL)flag;
+

+ +

+
+

setAltIncrementValue:

+ - (void) setAltIncrementValue: (double)increment;
+

+ + Sets the value by which the slider will be + incremented, when the ALT key is held down, to + increment. +

+
+

setImage:

+ - (void) setImage: (NSImage*)backgroundImage;
+

+ + Sets the image to be displayed in the slider's track + to barImage. +

+
+

setKnobThickness:

+ - (void) setKnobThickness: (float)aFloat;
+

+ + Sets the thickness of the knob to thickness + , in pixels. This value sets the amount of space which + the knob takes up in the slider's track. +

+
+

setMaxValue:

+ - (void) setMaxValue: (double)aDouble;
+

+ + Sets the maximum value that the sliders represents to + maxValue. +

+
+

setMinValue:

+ - (void) setMinValue: (double)aDouble;
+

+ + Sets the minimum value that the slider represents to + minValue. +

+
+

setNumberOfTickMarks:

+ - (void) setNumberOfTickMarks: (int)numberOfTickMarks;
+

+ +

+
+

setTickMarkPosition:

+ - (void) setTickMarkPosition: (NSTickMarkPosition)position;
+

+ +

+
+

setTitle:

+ - (void) setTitle: (NSString*)aString;
+

+ + Sets the title of the slider to barTitle. + This title is displayed on the slider's track, behind + the knob. +

+
+

setTitleCell:

+ - (void) setTitleCell: (NSCell*)aCell;
+

+ + Sets the cell used to draw the title to + titleCell. +

+
+

setTitleColor:

+ - (void) setTitleColor: (NSColor*)aColor;
+

+ + Sets the colour with which the title will be drawn to + color. +

+
+

setTitleFont:

+ - (void) setTitleFont: (NSFont*)fontObject;
+

+ + Sets the font with which the title will be drawm to + font. +

+
+

tickMarkPosition

+ - (NSTickMarkPosition) tickMarkPosition;
+

+ +

+
+

tickMarkValueAtIndex:

+ - (double) tickMarkValueAtIndex: (int)index;
+

+ +

+
+

title

+ - (NSString*) title;
+

+ + Returns the title of the slider as an + NSString. +

+
+

titleCell

+ - (id) titleCell;
+

+ + Returns the cell used to draw the title. +

+
+

titleColor

+ - (NSColor*) titleColor;
+

+ + Returns the colour used to draw the title. +

+
+

titleFont

+ - (NSFont*) titleFont;
+

+ + Returns the font used to draw the title. +

+
+ + diff --git a/Documentation/gsdoc/NSSliderCell.gsdoc b/Documentation/gsdoc/NSSliderCell.gsdoc index fe34ab4e9..7d615b60a 100644 --- a/Documentation/gsdoc/NSSliderCell.gsdoc +++ b/Documentation/gsdoc/NSSliderCell.gsdoc @@ -1,283 +1,315 @@ - - + + NSSliderCell - - - + + + ovidiu@net-community.com + - - - - $Revision$ - $Date$ + 1996,1999 Free Software Foundation, Inc. - NSSliderCell + Class Description +

+ An NSSliderCell controls the behaviour and appearance of an + associated NSSlider, or a single slider in an + NSMatrix. Tick marks are defined in the official + standard, but are not implemented in GNUstep. +

+

+ An NSSliderCell can be customized through its + set... methods. If these do not provide + enough customization, a subclass can be created, which + overrides any of the follwing methods: + knobRectFlipped:, + drawBarInside:flipped:, + drawKnob:, or + prefersTrackingUntilMouseUp. +

- Gui/NSSliderCell.h + AppKit/NSSliderCell.h NSCoding - -

An NSSliderCell controls the behaviour and appearance of an associated NSSlider, - or a single slider in an NSMatrix. Tick marks are defined in the official - standard, but are not implemented in GNUstep.

- -

An NSSliderCell can be customized through its set... methods. - If these do not provide enough customization, a subclass can be created, which - overrides any of the follwing methods: knobRectFlipped:, - drawBarInside:flipped:, drawKnob:, - or prefersTrackingUntilMouseUp.

-
+ + prefersTrackingUntilMouseUp -

The default implementation returns YES, so that the slider - continues to track the user's movement even if the cursor leaves the slider's - track.

- -

Do not call this method directly. Override it in subclasses where the tracking - behaviour needs to be different.

+

+ The default implementation returns YES, + so that the slider continues to track the user's + movement even if the cursor leaves the slider's + track. +

+

+ Do not call this method directly. Override it in + subclasses where the tracking behaviour needs + to be different. +

allowsTickMarkValuesOnly -

As of yet, unimplemented.

altIncrementValue -

Returns the value by which the slider is incremented when the user holds down - the ALT key.

+ Returns the value by which the slider is + incremented when the user holds down the ALT + key.
closestTickMarkValueToValue: aValue -

As of yet, unimplemented.

drawBarInside: - aRect + rect flipped: flipped -

Draws the slider's track, not including the bezel, in aRect

- -

flipped indicates whether the control view has a flipped - coordinate system.

- -

Do not call this method directly, it is provided for subclassing only.

+

+ Draws the slider's track, not including the bezel, + in aRect flipped indicates + whether the control view has a flipped + coordinate system. +

+

+ Do not call this method directly, it is provided for + subclassing only. +

drawKnob -

Calculates the rect in which to draw the knob, then calls drawKnob - Before calling this method, a lockFocus message must be sent to the - cell's control view.

- -

When subclassing NSSliderCell, do not override this method. Override - drawKnob: instead.

+

+ Calculates the rect in which to draw the knob, + then calls drawKnob: Before calling + this method, a lockFocus message must + be sent to the cell's control view. +

+

+ When subclassing NSSliderCell, do not override this + method. Override drawKnob: instead. +

drawKnob: knobRect -

Draws the knob in knobRect. Before calling this method, a - lockFocus message must be sent to the cell's control view.

- -

Do not call this method directly. It is included for subclassing only.

+

+ Draws the knob in knobRect. Before + calling this method, a lockFocus + message must be sent to the cell's control view. +

+

+ Do not call this method directly. It is included for + subclassing only. +

indexOfTickMarkAtPoint: point -

As of yet, unimplemented.

isVertical -

Returns whether or not the slider is vertical. If, for some reason, this cannot - be determined, for such reasons as the slider is not yet displayed, this method - returns -1. Generally, a slider is considered vertical if its height is greater - than its width.

+ Returns whether or not the slider is vertical. If, + for some reason, this cannot be determined, for such + reasons as the slider is not yet displayed, this + method returns -1. Generally, a slider is considered + vertical if its height is greater than its width.
knobRectFlipped: flipped -

Returns the rect in which to draw the knob, based on the coordinate system - of the NSSlider or NSMatrix this NSSliderCell is associated with. - flipped indicates whether or not that coordinate system is flipped, - which can be determined by sending the isFlipped message to the - associated NSSlider or NSMatrix.

- -

Do not call this method directly. It is included for subclassing only.

+

+ Returns the rect in which to draw the knob, based + on the coordinate system of the NSSlider or NSMatrix + this NSSliderCell is associated with. + flipped indicates whether or not that + coordinate system is flipped, which + can be determined by sending the + isFlipped message to the associated + NSSlider or NSMatrix. +

+

+ Do not call this method directly. It is included for + subclassing only. +

knobThickness -

Returns the thickness of the slider's knob. This value is in pixels, and is the - size of the knob along the slider's track.

+ Returns the thickness of the slider's knob. This + value is in pixels, and is the size of the knob along + the slider's track.
maxValue -

Returns the maximum value that the slider represents.

+ Returns the maximum value that the slider + represents.
minValue -

Returns the minimum value that the slider represents.

+ Returns the minimum value that the slider + represents.
numberOfTickMarks -

As of yet, unimplemented.

rectOfTickMarkAtIndex: index -

As of yet, unimplemented.

setAllowsTickMarkValuesOnly: flag -

As of yet, unimplemented.

setAltIncrementValue: increment -

Sets the value by which the slider will be be incremented when with the - ALT key down to increment.

+ Sets the value by which the slider will be be + incremented when with the ALT key down to + increment.
setKnobThickness: thickness -

Sets the thickness of the knob to thickness, in pixels. This value - sets the amount of space which the knob takes up in the slider's track.

+ Sets the thickness of the knob to + thickness, in pixels. This value sets the + amount of space which the knob takes up in the + slider's track.
setMaxValue: aDouble -

Sets the maximum value that the sliders represents to maxValue.

+ Sets the maximum value that the sliders represents to + maxValue.
setMinValue: aDouble -

Sets the minimum value that the sliders represents to maxValue.

+ Sets the minimum value that the sliders represents to + maxValue.
setNumberOfTickMarks: numberOfTickMarks -

As of yet, unimplemented.

setTickMarkPosition: position -

As of yet, unimplemented.

setTitle: title -

Sets the title of the slider to barTitle. This title is displayed - on the slider's track, behind the knob.

+ Sets the title of the slider to + barTitle. This title is + displayed on the slider's track, behind the knob.
setTitleCell: aCell -

Sets the cell used to draw the title to titleCell.

+ Sets the cell used to draw the title to + titleCell.
setTitleColor: color -

Sets the colour with which the title will be drawn to color.

+ Sets the colour with which the title will be drawn to + color.
setTitleFont: font -

Sets the font with which the title will be drawm to font.

+ Sets the font with which the title will be + drawm to font.
tickMarkPosition -

As of yet, unimplemented.

tickMarkValueAtIndex: index -

As of yet, unimplemented.

title -

Returns the title of the slider as an NSString.

titleCell -

Returns the cell used to draw the title.

+ Returns the cell used to draw the title.
titleColor -

Returns the colour used to draw the title.

+ Returns the colour used to draw the title.
titleFont -

Returns the font used to draw the title.

+ Returns the font used to draw the title.
trackRect -

Returns the rect of the track, minus the bezel.

+ Returns the rect of the track, minus the bezel.
diff --git a/Documentation/gsdoc/NSSliderCell.html b/Documentation/gsdoc/NSSliderCell.html index f3e12ab5a..77bb45c8b 100644 --- a/Documentation/gsdoc/NSSliderCell.html +++ b/Documentation/gsdoc/NSSliderCell.html @@ -1,391 +1,279 @@ - - NSSliderCell - - -[Previous] -[Up] -[Next] -

NSSliderCell

-

Authors

-
-
Richard Frith-Macdonald -
-
James Dessart -
-
-

Version: $Revision$

-

Date: $Date$

-

NSSliderCell

-

NSSliderCell

-

Declared in: Gui/NSSliderCell.h

-

Inherits from: NSActionCell

-

Conforms to: NSCoding -

-
- -

-An NSSliderCell controls the behaviour and appearance of an associated NSSlider, - or a single slider in an NSMatrix. Tick marks are defined in the official - standard, but are not implemented in GNUstep.

- - -

-An NSSliderCell can be customized through its set... methods. - If these do not provide enough customization, a subclass can be created, which - overrides any of the follwing methods: knobRectFlipped:, - drawBarInside:flipped:, drawKnob:, - or prefersTrackingUntilMouseUp.

- - -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

prefersTrackingUntilMouseUp

-+ (BOOL) prefersTrackingUntilMouseUp;
- -

-The default implementation returns YES, so that the slider - continues to track the user's movement even if the cursor leaves the slider's - track.

- - -

-Do not call this method directly. Override it in subclasses where the tracking - behaviour needs to be different.

- - -
-

Instances Methods

-

allowsTickMarkValuesOnly

-- (BOOL) allowsTickMarkValuesOnly;
- -

-As of yet, unimplemented.

- - -
-

altIncrementValue

-- (double) altIncrementValue;
- -

-Returns the value by which the slider is incremented when the user holds down - the ALT key.

- - -
-

closestTickMarkValueToValue:

-- (double) closestTickMarkValueToValue: (double)aValue;
- -

-As of yet, unimplemented.

- - -
-

drawBarInside:flipped:

-- (void) drawBarInside: (NSRect)aRect flipped: (BOOL)flipped;
- -

-Draws the slider's track, not including the bezel, in aRect

- - -

-flipped indicates whether the control view has a flipped - coordinate system.

- - -

-Do not call this method directly, it is provided for subclassing only.

- - -
-

drawKnob

-- (void) drawKnob;
- -

-Calculates the rect in which to draw the knob, then calls drawKnob - Before calling this method, a lockFocus message must be sent to the - cell's control view.

- - -

-When subclassing NSSliderCell, do not override this method. Override - drawKnob: instead.

- - -
-

drawKnob:

-- (void) drawKnob: (NSRect)knobRect;
- -

-Draws the knob in knobRect. Before calling this method, a - lockFocus message must be sent to the cell's control view.

- - -

-Do not call this method directly. It is included for subclassing only.

- - -
-

indexOfTickMarkAtPoint:

-- (int) indexOfTickMarkAtPoint: (NSPoint)point;
- -

-As of yet, unimplemented.

- - -
-

isVertical

-- (int) isVertical;
- -

-Returns whether or not the slider is vertical. If, for some reason, this cannot - be determined, for such reasons as the slider is not yet displayed, this method - returns -1. Generally, a slider is considered vertical if its height is greater - than its width.

- - -
-

knobRectFlipped:

-- (NSRect) knobRectFlipped: (BOOL)flipped;
- -

-Returns the rect in which to draw the knob, based on the coordinate system - of the NSSlider or NSMatrix this NSSliderCell is associated with. - flipped indicates whether or not that coordinate system is flipped, - which can be determined by sending the isFlipped message to the - associated NSSlider or NSMatrix.

- - -

-Do not call this method directly. It is included for subclassing only.

- - -
-

knobThickness

-- (float) knobThickness;
- -

-Returns the thickness of the slider's knob. This value is in pixels, and is the - size of the knob along the slider's track.

- - -
-

maxValue

-- (double) maxValue;
- -

-Returns the maximum value that the slider represents.

- - -
-

minValue

-- (double) minValue;
- -

-Returns the minimum value that the slider represents.

- - -
-

numberOfTickMarks

-- (int) numberOfTickMarks;
- -

-As of yet, unimplemented.

- - -
-

rectOfTickMarkAtIndex:

-- (NSRect) rectOfTickMarkAtIndex: (int)index;
- -

-As of yet, unimplemented.

- - -
-

setAllowsTickMarkValuesOnly:

-- (void) setAllowsTickMarkValuesOnly: (BOOL)flag;
- -

-As of yet, unimplemented.

- - -
-

setAltIncrementValue:

-- (void) setAltIncrementValue: (double)increment;
- -

-Sets the value by which the slider will be be incremented when with the - ALT key down to increment.

- - -
-

setKnobThickness:

-- (void) setKnobThickness: (float)thickness;
- -

-Sets the thickness of the knob to thickness, in pixels. This value - sets the amount of space which the knob takes up in the slider's track.

- - -
-

setMaxValue:

-- (void) setMaxValue: (double)aDouble;
- -

-Sets the maximum value that the sliders represents to maxValue.

- - -
-

setMinValue:

-- (void) setMinValue: (double)aDouble;
- -

-Sets the minimum value that the sliders represents to maxValue.

- - -
-

setNumberOfTickMarks:

-- (void) setNumberOfTickMarks: (int)numberOfTickMarks;
- -

-As of yet, unimplemented.

- - -
-

setTickMarkPosition:

-- (void) setTickMarkPosition: (NSTickMarkPosition)position;
- -

-As of yet, unimplemented.

- - -
-

setTitle:

-- (void) setTitle: (NSString*)title;
- -

-Sets the title of the slider to barTitle. This title is displayed - on the slider's track, behind the knob.

- - -
-

setTitleCell:

-- (void) setTitleCell: (NSCell*)aCell;
- -

-Sets the cell used to draw the title to titleCell.

- - -
-

setTitleColor:

-- (void) setTitleColor: (NSColor*)color;
- -

-Sets the colour with which the title will be drawn to color.

- - -
-

setTitleFont:

-- (void) setTitleFont: (NSFont*)font;
- -

-Sets the font with which the title will be drawm to font.

- - -
-

tickMarkPosition

-- (NSTickMarkPosition) tickMarkPosition;
- -

-As of yet, unimplemented.

- - -
-

tickMarkValueAtIndex:

-- (double) tickMarkValueAtIndex: (int)index;
- -

-As of yet, unimplemented.

- - -
-

title

-- (NSString*) title;
- -

-Returns the title of the slider as an NSString.

- - -
-

titleCell

-- (id) titleCell;
- -

-Returns the cell used to draw the title.

- - -
-

titleColor

-- (NSColor*) titleColor;
- -

-Returns the colour used to draw the title.

- - -
-

titleFont

-- (NSFont*) titleFont;
- -

-Returns the font used to draw the title.

- - -
-

trackRect

-- (NSRect) trackRect;
- -

-Returns the rect of the track, minus the bezel.

- - -
- - - + + + NSSliderCell + + +

NSSliderCell

+

Authors

+
+
Ovidiu Predescu( + ovidiu@net-community.com + )
+
+
+
+

Copyright: (C) 1996,1999 Free Software Foundation, Inc.

+

Class Description

+

+ + An NSSliderCell controls the behaviour and appearance of an + associated NSSlider, or a single slider in an + NSMatrix. Tick marks are defined in the official + standard, but are not implemented in GNUstep. +

+

+ + An NSSliderCell can be customized through its + set... methods. If these do not provide + enough customization, a subclass can be created, which + overrides any of the follwing methods: + knobRectFlipped:, + drawBarInside:flipped:, + drawKnob:, or + prefersTrackingUntilMouseUp. +

+

NSSliderCell : NSActionCell

+ Declared: AppKit/NSSliderCell.h
+ Conform: NSCoding
+

+ +

+

prefersTrackingUntilMouseUp

+ + (BOOL) prefersTrackingUntilMouseUp;
+

+ +

+
+

allowsTickMarkValuesOnly

+ - (BOOL) allowsTickMarkValuesOnly;
+

+ +

+
+

altIncrementValue

+ - (double) altIncrementValue;
+

+ + Returns the value by which the slider is + incremented when the user holds down the ALT + key. +

+
+

closestTickMarkValueToValue:

+ - (double) closestTickMarkValueToValue: (double)aValue;
+

+ +

+
+

drawBarInside:flipped:

+ - (void) drawBarInside: (NSRect)rect flipped: (BOOL)flipped;
+

+ +

+
+

drawKnob

+ - (void) drawKnob;
+

+ +

+
+

drawKnob:

+ - (void) drawKnob: (NSRect)knobRect;
+

+ +

+
+

indexOfTickMarkAtPoint:

+ - (int) indexOfTickMarkAtPoint: (NSPoint)point;
+

+ +

+
+

isVertical

+ - (int) isVertical;
+

+ + Returns whether or not the slider is vertical. If, + for some reason, this cannot be determined, for such + reasons as the slider is not yet displayed, this + method returns -1. Generally, a slider is considered + vertical if its height is greater than its width. +

+
+

knobRectFlipped:

+ - (NSRect) knobRectFlipped: (BOOL)flipped;
+

+ +

+
+

knobThickness

+ - (float) knobThickness;
+

+ + Returns the thickness of the slider's knob. This + value is in pixels, and is the size of the knob along + the slider's track. +

+
+

maxValue

+ - (double) maxValue;
+

+ + Returns the maximum value that the slider + represents. +

+
+

minValue

+ - (double) minValue;
+

+ + Returns the minimum value that the slider + represents. +

+
+

numberOfTickMarks

+ - (int) numberOfTickMarks;
+

+ +

+
+

rectOfTickMarkAtIndex:

+ - (NSRect) rectOfTickMarkAtIndex: (int)index;
+

+ +

+
+

setAllowsTickMarkValuesOnly:

+ - (void) setAllowsTickMarkValuesOnly: (BOOL)flag;
+

+ +

+
+

setAltIncrementValue:

+ - (void) setAltIncrementValue: (double)increment;
+

+ + Sets the value by which the slider will be be + incremented when with the ALT key down to + increment. +

+
+

setKnobThickness:

+ - (void) setKnobThickness: (float)thickness;
+

+ + Sets the thickness of the knob to + thickness, in pixels. This value sets the + amount of space which the knob takes up in the + slider's track. +

+
+

setMaxValue:

+ - (void) setMaxValue: (double)aDouble;
+

+ + Sets the maximum value that the sliders represents to + maxValue. +

+
+

setMinValue:

+ - (void) setMinValue: (double)aDouble;
+

+ + Sets the minimum value that the sliders represents to + maxValue. +

+
+

setNumberOfTickMarks:

+ - (void) setNumberOfTickMarks: (int)numberOfTickMarks;
+

+ +

+
+

setTickMarkPosition:

+ - (void) setTickMarkPosition: (NSTickMarkPosition)position;
+

+ +

+
+

setTitle:

+ - (void) setTitle: (NSString*)title;
+

+ + Sets the title of the slider to + barTitle. This title is + displayed on the slider's track, behind the knob. +

+
+

setTitleCell:

+ - (void) setTitleCell: (NSCell*)aCell;
+

+ + Sets the cell used to draw the title to + titleCell. +

+
+

setTitleColor:

+ - (void) setTitleColor: (NSColor*)color;
+

+ + Sets the colour with which the title will be drawn to + color. +

+
+

setTitleFont:

+ - (void) setTitleFont: (NSFont*)font;
+

+ + Sets the font with which the title will be + drawm to font. +

+
+

tickMarkPosition

+ - (NSTickMarkPosition) tickMarkPosition;
+

+ +

+
+

tickMarkValueAtIndex:

+ - (double) tickMarkValueAtIndex: (int)index;
+

+ +

+
+

title

+ - (NSString*) title;
+

+ +

+
+

titleCell

+ - (id) titleCell;
+

+ + Returns the cell used to draw the title. +

+
+

titleColor

+ - (NSColor*) titleColor;
+

+ + Returns the colour used to draw the title. +

+
+

titleFont

+ - (NSFont*) titleFont;
+

+ + Returns the font used to draw the title. +

+
+

trackRect

+ - (NSRect) trackRect;
+

+ + Returns the rect of the track, minus the bezel. +

+
+ + diff --git a/Documentation/gsdoc/NSSpellChecker.gsdoc b/Documentation/gsdoc/NSSpellChecker.gsdoc index 96e88d64d..6eadee5d7 100644 --- a/Documentation/gsdoc/NSSpellChecker.gsdoc +++ b/Documentation/gsdoc/NSSpellChecker.gsdoc @@ -1,23 +1,33 @@ - - + + NSSpellChecker - - - + + + borgheron@yahoo.com + - $Revision$ - $Date$ + + + scottc@net-community.com + + + + Class to provide the graphical interface to the spell + checking service. + + 2001, 1996 Free Software Foundation, Inc. - NSSpellChecker + + Software documentation for the NSSpellChecker class + - Gui/NSSpellChecker.h - NSObject - - + AppKit/NSSpellChecker.h + + sharedSpellChecker @@ -41,6 +51,8 @@ checkSpellingOfString: stringToCheck + startingAt: + startingOffset @@ -68,7 +80,15 @@ countWordsInString: - stringToCount + aString + language: + language + + + + + guessesForWord: + word @@ -107,7 +127,7 @@
setLanguage: - language + aLanguage diff --git a/Documentation/gsdoc/NSSpellChecker.html b/Documentation/gsdoc/NSSpellChecker.html index eb51aaad9..7053eeb4e 100644 --- a/Documentation/gsdoc/NSSpellChecker.html +++ b/Documentation/gsdoc/NSSpellChecker.html @@ -1,137 +1,143 @@ - - NSSpellChecker - - -[Previous] -[Up] -[Next] -

NSSpellChecker

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSSpellChecker

-

NSSpellChecker

-

Declared in: Gui/NSSpellChecker.h

-

Inherits from: NSObject

-

Conforms to: NSObject -

-
+ + + NSSpellChecker + + +

NSSpellChecker

+

Authors

+
+
Gregory John Casamento( + borgheron@yahoo.com + )
+
+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

sharedSpellChecker

-+ (NSSpellChecker*) sharedSpellChecker;
+ Class to provide the graphical interface to the spell + checking service. +
+

Copyright: (C) 2001, 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSSpellChecker class +

+

NSSpellChecker : NSObject

+ Declared: AppKit/NSSpellChecker.h
+

- -


-

sharedSpellCheckerExists

-+ (BOOL) sharedSpellCheckerExists;
+

+

sharedSpellChecker

+ + (NSSpellChecker*) sharedSpellChecker;
+

- -


-

uniqueSpellDocumentTag

-+ (int) uniqueSpellDocumentTag;
+

+
+

sharedSpellCheckerExists

+ + (BOOL) sharedSpellCheckerExists;
+

- -


-

Instances Methods

-

accessoryView

-- (NSView*) accessoryView;
+

+
+

uniqueSpellDocumentTag

+ + (int) uniqueSpellDocumentTag;
+

- -


-

checkSpellingOfString:

-- (NSRange) checkSpellingOfString: (NSString*)stringToCheck;
+

+
+

accessoryView

+ - (NSView*) accessoryView;
+

- -


-

checkSpellingOfString:startingAt:language:wrap:inSpellDocumentWithTag:wordCount:

-- (NSRange) checkSpellingOfString: (NSString*)stringToCheck startingAt: (int)startingOffset language: (NSString*)language wrap: (BOOL)wrapFlag inSpellDocumentWithTag: (int)tag wordCount: (int*)wordCount;
+

+
+

checkSpellingOfString:startingAt:

+ - (NSRange) checkSpellingOfString: (NSString*)stringToCheck startingAt: (int)startingOffset;
+

- -


-

closeSpellDocumentWithTag:

-- (void) closeSpellDocumentWithTag: (int)tag;
+

+
+

checkSpellingOfString:startingAt:language:wrap:inSpellDocumentWithTag:wordCount:

+ - (NSRange) checkSpellingOfString: (NSString*)stringToCheck startingAt: (int)startingOffset language: (NSString*)language wrap: (BOOL)wrapFlag inSpellDocumentWithTag: (int)tag wordCount: (int*)wordCount;
+

- -


-

countWordsInString:

-- (int) countWordsInString: (NSString*)stringToCount;
+

+
+

closeSpellDocumentWithTag:

+ - (void) closeSpellDocumentWithTag: (int)tag;
+

- -


-

ignoreWord:inSpellDocumentWithTag:

-- (void) ignoreWord: (NSString*)wordToIgnore inSpellDocumentWithTag: (int)tag;
+

+
+

countWordsInString:language:

+ - (int) countWordsInString: (NSString*)aString language: (NSString*)language;
+

- -


-

ignoredWordsInSpellDocumentWithTag:

-- (NSArray*) ignoredWordsInSpellDocumentWithTag: (int)tag;
+

+
+

guessesForWord:

+ - (NSArray*) guessesForWord: (NSString*)word;
+

- -


-

language

-- (NSString*) language;
+

+
+

ignoreWord:inSpellDocumentWithTag:

+ - (void) ignoreWord: (NSString*)wordToIgnore inSpellDocumentWithTag: (int)tag;
+

- -


-

setAccessoryView:

-- (void) setAccessoryView: (NSView*)aView;
+

+
+

ignoredWordsInSpellDocumentWithTag:

+ - (NSArray*) ignoredWordsInSpellDocumentWithTag: (int)tag;
+

- -


-

setIgnoredWords:inSpellDocumentWithTag:

-- (void) setIgnoredWords: (NSArray*)someWords inSpellDocumentWithTag: (int)tag;
+

+
+

language

+ - (NSString*) language;
+

- -


-

setLanguage:

-- (BOOL) setLanguage: (NSString*)language;
+

+
+

setAccessoryView:

+ - (void) setAccessoryView: (NSView*)aView;
+

- -


-

setWordFieldStringValue:

-- (void) setWordFieldStringValue: (NSString*)aString;
+

+
+

setIgnoredWords:inSpellDocumentWithTag:

+ - (void) setIgnoredWords: (NSArray*)someWords inSpellDocumentWithTag: (int)tag;
+

- -


-

spellingPanel

-- (NSPanel*) spellingPanel;
+

+
+

setLanguage:

+ - (BOOL) setLanguage: (NSString*)aLanguage;
+

- -


-

updateSpellingPanelWithMisspelledWord:

-- (void) updateSpellingPanelWithMisspelledWord: (NSString*)word;
+

+
+

setWordFieldStringValue:

+ - (void) setWordFieldStringValue: (NSString*)aString;
+

- -


- - - +

+
+

spellingPanel

+ - (NSPanel*) spellingPanel;
+

+ +

+
+

updateSpellingPanelWithMisspelledWord:

+ - (void) updateSpellingPanelWithMisspelledWord: (NSString*)word;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSSpellServer.gsdoc b/Documentation/gsdoc/NSSpellServer.gsdoc index 9ccd2b48c..14fc40a81 100644 --- a/Documentation/gsdoc/NSSpellServer.gsdoc +++ b/Documentation/gsdoc/NSSpellServer.gsdoc @@ -1,23 +1,33 @@ - - + + NSSpellServer - - - + + + borgheron@yahoo.com + - $Revision$ - $Date$ + + + scottc@net-community.com + + + + Class to allow a spell checker to be available to other + apps. + + 2001, 1996 Free Software Foundation, Inc. - NSSpellServer + + Software documentation for the NSSpellServer class + - Gui/NSSpellServer.h - NSObject - - + AppKit/NSSpellServer.h + + delegate @@ -34,6 +44,8 @@ registerLanguage: language + byVendor: + vendor @@ -48,6 +60,18 @@ + + + + + Software documentation for the + NSObject(NSSpellServerDelegate) + category + + + AppKit/NSSpellServer.h + + spellServer: sender @@ -74,9 +98,11 @@ findMisspelledWordInString: stringToCheck language: - language + language wordCount: wordCount + countOnly: + countOnly @@ -90,7 +116,7 @@ -
+
diff --git a/Documentation/gsdoc/NSSpellServer.html b/Documentation/gsdoc/NSSpellServer.html index f63117909..9b2dcccbc 100644 --- a/Documentation/gsdoc/NSSpellServer.html +++ b/Documentation/gsdoc/NSSpellServer.html @@ -1,88 +1,99 @@ - - NSSpellServer - - -[Previous] -[Up] -[Next] -

NSSpellServer

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSSpellServer

-

NSSpellServer

-

Declared in: Gui/NSSpellServer.h

-

Inherits from: NSObject

-

Conforms to: NSObject -

-
+ + + NSSpellServer + + +

NSSpellServer

+

Authors

+
+
Gregory John Casamento( + borgheron@yahoo.com + )
+
+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

delegate

-- (id) delegate;
+ Class to allow a spell checker to be available to other + apps. +
+

Copyright: (C) 2001, 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSSpellServer class +

+

NSSpellServer : NSObject

+ Declared: AppKit/NSSpellServer.h
+

- -


-

isWordInUserDictionaries:caseSensitive:

-- (BOOL) isWordInUserDictionaries: (NSString*)word caseSensitive: (BOOL)flag;
+

+

delegate

+ - (id) delegate;
+

- -


-

registerLanguage:

-- (BOOL) registerLanguage: (NSString*)language;
+

+
+

isWordInUserDictionaries:caseSensitive:

+ - (BOOL) isWordInUserDictionaries: (NSString*)word caseSensitive: (BOOL)flag;
+

- -


-

run

-- (void) run;
+

+
+

registerLanguage:byVendor:

+ - (BOOL) registerLanguage: (NSString*)language byVendor: (NSString*)vendor;
+

- -


-

setDelegate:

-- (void) setDelegate: (id)anObject;
+

+
+

run

+ - (void) run;
+

- -


-

spellServer:didForgetWord:inLanguage:

-- (void) spellServer: (NSSpellServer*)sender didForgetWord: (NSString*)word inLanguage: (NSString*)language;
+

+
+

setDelegate:

+ - (void) setDelegate: (id)anObject;
+

- -


-

spellServer:didLearnWord:inLanguage:

-- (void) spellServer: (NSSpellServer*)sender didLearnWord: (NSString*)word inLanguage: (NSString*)language;
+

+
+

+ Software documentation for the + NSObject(NSSpellServerDelegate) + category +

+

NSObject(NSSpellServerDelegate)

+ Declared: AppKit/NSSpellServer.h
+

- -


-

spellServer:findMisspelledWordInString:language:wordCount:

-- (NSRange) spellServer: (NSSpellServer*)sender findMisspelledWordInString: (NSString*)stringToCheck language: (NSString *)language wordCount: (int*)wordCount;
+

+

spellServer:didForgetWord:inLanguage:

+ - (void) spellServer: (NSSpellServer*)sender didForgetWord: (NSString*)word inLanguage: (NSString*)language;
+

- -


-

spellServer:suggestGuessesForWord:inLanguage:

-- (NSArray*) spellServer: (NSSpellServer*)sender suggestGuessesForWord: (NSString*)word inLanguage: (NSString*)language;
+

+
+

spellServer:didLearnWord:inLanguage:

+ - (void) spellServer: (NSSpellServer*)sender didLearnWord: (NSString*)word inLanguage: (NSString*)language;
+

- -


- - - +

+
+

spellServer:findMisspelledWordInString:language:wordCount:countOnly:

+ - (NSRange) spellServer: (NSSpellServer*)sender findMisspelledWordInString: (NSString*)stringToCheck language: (NSString*)language wordCount: (int*)wordCount countOnly: (BOOL)countOnly;
+

+ +

+
+

spellServer:suggestGuessesForWord:inLanguage:

+ - (NSArray*) spellServer: (NSSpellServer*)sender suggestGuessesForWord: (NSString*)word inLanguage: (NSString*)language;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSSplitView.gsdoc b/Documentation/gsdoc/NSSplitView.gsdoc index db4c92ce6..7edbb1452 100644 --- a/Documentation/gsdoc/NSSplitView.gsdoc +++ b/Documentation/gsdoc/NSSplitView.gsdoc @@ -1,23 +1,44 @@ - - + + NSSplitView - - - + + + vrobi@ddrummer.com + - $Revision$ - $Date$ + + + far@ix.netcom.com + + + + + richard@brainstorm.co.uk + + + + + n.pero@mi.flashnet.it + + + + Allows multiple views to share a region in a window + + + 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + - NSSplitView + + Software documentation for the NSSplitView class + - Gui/NSSplitView.h - NSCoding - - + AppKit/NSSplitView.h + + adjustSubviews @@ -39,6 +60,17 @@ + + isPaneSplitter + + + + + isSubviewCollapsed: + subview + + + isVertical @@ -50,6 +82,12 @@ + + setIsPaneSplitter: + flag + + + setVertical: flag @@ -58,5 +96,144 @@ + + + Software documentation for the + NSObject(NSSplitViewDelegate) + category + + + AppKit/NSSplitView.h + + + + splitView: + sender + canCollapseSubview: + subview + + + + + splitView: + sender + constrainMaxCoordinate: + proposedMax + ofSubviewAt: + offset + + + + + splitView: + sender + constrainMinCoordinate: + min + maxCoordinate: + max + ofSubviewAt: + offset + + + + + splitView: + sender + constrainMinCoordinate: + proposedMin + ofSubviewAt: + offset + + + + + splitView: + sender + constrainSplitPosition: + proposedPosition + ofSubviewAt: + offset + + + + + splitView: + sender + resizeSubviewsWithOldSize: + oldSize + + + + + splitViewDidResizeSubviews: + notification + + + + + splitViewWillResizeSubviews: + notification + + + + + + + + Software documentation for the + NSSplitView(GNUstepExtra) category + + + AppKit/NSSplitView.h + + + + backgroundColor + + + + + dimpleImage + + + + + dividerColor + + + + + draggedBarWidth + + + + + setBackgroundColor: + aColor + + + + + setDimpleImage: + anImage + resetDividerThickness: + flag + + + + + setDividerColor: + aColor + + + + + setDraggedBarWidth: + newWidth + + + + + diff --git a/Documentation/gsdoc/NSSplitView.html b/Documentation/gsdoc/NSSplitView.html index aa21c8656..6e3ef83d8 100644 --- a/Documentation/gsdoc/NSSplitView.html +++ b/Documentation/gsdoc/NSSplitView.html @@ -1,76 +1,221 @@ - - NSSplitView - - -[Previous] -[Up] -[Next] -

NSSplitView

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSSplitView

-

NSSplitView

-

Declared in: Gui/NSSplitView.h

-

Inherits from: NSView

-

Conforms to: NSCoding -

-
+ + + NSSplitView + + +

NSSplitView

+

Authors

+
+
Robert Vasvari( + vrobi@ddrummer.com + )
+
+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
Richard Frith-Macdonald( + richard@brainstorm.co.uk + )
+
+
+
Nicola Pero( + n.pero@mi.flashnet.it + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

adjustSubviews

-- (void) adjustSubviews;
+ Allows multiple views to share a region in a window +
+

Copyright: (C) + 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. +

+

+ Software documentation for the NSSplitView class +

+

NSSplitView : NSView

+ Declared: AppKit/NSSplitView.h
+

- -


-

delegate

-- (id) delegate;
+

+

adjustSubviews

+ - (void) adjustSubviews;
+

- -


-

dividerThickness

-- (float) dividerThickness;
+

+
+

delegate

+ - (id) delegate;
+

- -


-

drawDividerInRect:

-- (void) drawDividerInRect: (NSRect)aRect;
+

+
+

dividerThickness

+ - (float) dividerThickness;
+

- -


-

isVertical

-- (BOOL) isVertical;
+

+
+

drawDividerInRect:

+ - (void) drawDividerInRect: (NSRect)aRect;
+

- -


-

setDelegate:

-- (void) setDelegate: (id)anObject;
+

+
+

isPaneSplitter

+ - (BOOL) isPaneSplitter;
+

- -


-

setVertical:

-- (void) setVertical: (BOOL)flag;
+

+
+

isSubviewCollapsed:

+ - (BOOL) isSubviewCollapsed: (NSView*)subview;
+

- -


- - - +

+
+

isVertical

+ - (BOOL) isVertical;
+

+ +

+
+

setDelegate:

+ - (void) setDelegate: (id)anObject;
+

+ +

+
+

setIsPaneSplitter:

+ - (void) setIsPaneSplitter: (BOOL)flag;
+

+ +

+
+

setVertical:

+ - (void) setVertical: (BOOL)flag;
+

+ +

+
+

+ Software documentation for the + NSObject(NSSplitViewDelegate) + category +

+

NSObject(NSSplitViewDelegate)

+ Declared: AppKit/NSSplitView.h
+

+ +

+

splitView:canCollapseSubview:

+ - (BOOL) splitView: (NSSplitView*)sender canCollapseSubview: (NSView*)subview;
+

+ +

+
+

splitView:constrainMaxCoordinate:ofSubviewAt:

+ - (float) splitView: (NSSplitView*)sender constrainMaxCoordinate: (float)proposedMax ofSubviewAt: (int)offset;
+

+ +

+
+

splitView:constrainMinCoordinate:maxCoordinate:ofSubviewAt:

+ - (void) splitView: (NSSplitView*)sender constrainMinCoordinate: (float*)min maxCoordinate: (float*)max ofSubviewAt: (int)offset;
+

+ +

+
+

splitView:constrainMinCoordinate:ofSubviewAt:

+ - (float) splitView: (NSSplitView*)sender constrainMinCoordinate: (float)proposedMin ofSubviewAt: (int)offset;
+

+ +

+
+

splitView:constrainSplitPosition:ofSubviewAt:

+ - (float) splitView: (NSSplitView*)sender constrainSplitPosition: (float)proposedPosition ofSubviewAt: (int)offset;
+

+ +

+
+

splitView:resizeSubviewsWithOldSize:

+ - (void) splitView: (NSSplitView*)sender resizeSubviewsWithOldSize: (NSSize)oldSize;
+

+ +

+
+

splitViewDidResizeSubviews:

+ - (void) splitViewDidResizeSubviews: (NSNotification*)notification;
+

+ +

+
+

splitViewWillResizeSubviews:

+ - (void) splitViewWillResizeSubviews: (NSNotification*)notification;
+

+ +

+
+

+ Software documentation for the + NSSplitView(GNUstepExtra) category +

+

NSSplitView(GNUstepExtra)

+ Declared: AppKit/NSSplitView.h
+

+ +

+

backgroundColor

+ - (NSColor*) backgroundColor;
+

+ +

+
+

dimpleImage

+ - (NSImage*) dimpleImage;
+

+ +

+
+

dividerColor

+ - (NSColor*) dividerColor;
+

+ +

+
+

draggedBarWidth

+ - (float) draggedBarWidth;
+

+ +

+
+

setBackgroundColor:

+ - (void) setBackgroundColor: (NSColor*)aColor;
+

+ +

+
+

setDimpleImage:resetDividerThickness:

+ - (void) setDimpleImage: (NSImage*)anImage resetDividerThickness: (BOOL)flag;
+

+ +

+
+

setDividerColor:

+ - (void) setDividerColor: (NSColor*)aColor;
+

+ +

+
+

setDraggedBarWidth:

+ - (void) setDraggedBarWidth: (float)newWidth;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSTabView.gsdoc b/Documentation/gsdoc/NSTabView.gsdoc index 3689675b1..96659e43f 100644 --- a/Documentation/gsdoc/NSTabView.gsdoc +++ b/Documentation/gsdoc/NSTabView.gsdoc @@ -1,23 +1,26 @@ - - + + NSTabView - - - + + + mhanni@sprintmail.com + - $Revision$ - $Date$ + The tabular view class + 1999,2000 Free Software Foundation, Inc. - NSTabView + + Software documentation for the NSTabView class + - Gui/NSTabView.h + AppKit/NSTabView.h NSCoding - - + + addTabViewItem: tabViewItem @@ -34,13 +37,23 @@ + + controlSize + + + + + controlTint + + + delegate - drawsBackground + drawsBackground @@ -64,6 +77,8 @@ insertTabViewItem: tabViewItem + atIndex: + index @@ -107,11 +122,6 @@ - - selectedTabViewItem - - - selectTabViewItem: tabViewItem @@ -125,14 +135,20 @@ - selectTabViewItemWithIdentifier: - identifier; + setAllowsTruncatedLabels: + allowTruncatedLabels - setAllowsTruncatedLabels: - allowTruncatedLabels + setControlSize: + size + + + + + setControlTint: + tint @@ -190,5 +206,47 @@ + + + Software documentation for the + NSObject(NSTabViewDelegate) + category + + + AppKit/NSTabView.h + + + + tabView: + tabView + didSelectTabViewItem: + tabViewItem + + + + + tabView: + tabView + shouldSelectTabViewItem: + tabViewItem + + + + + tabView: + tabView + willSelectTabViewItem: + tabViewItem + + + + + tabViewDidChangeNumberOfTabViewItems: + TabView + + + + + diff --git a/Documentation/gsdoc/NSTabView.html b/Documentation/gsdoc/NSTabView.html index bd58f01f4..c06e6edef 100644 --- a/Documentation/gsdoc/NSTabView.html +++ b/Documentation/gsdoc/NSTabView.html @@ -1,214 +1,254 @@ - - NSTabView - - -[Previous] -[Up] -[Next] -

NSTabView

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSTabView

-

NSTabView

-

Declared in: Gui/NSTabView.h

-

Inherits from: NSView

-

Conforms to: NSCoding -

-
+ + + NSTabView + + +

NSTabView

+

Authors

+
+
Michael Hanni( + mhanni@sprintmail.com + )
+
+
+
+
+The tabular view class
+

Copyright: (C) 1999,2000 Free Software Foundation, Inc.

+

+ Software documentation for the NSTabView class +

+

NSTabView : NSView

+ Declared: AppKit/NSTabView.h
+ Conform: NSCoding
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

addTabViewItem:

-- (void) addTabViewItem: (NSTabViewItem*)tabViewItem;
+

+

addTabViewItem:

+ - (void) addTabViewItem: (NSTabViewItem*)tabViewItem;
+

- -


-

allowsTruncatedLabels

-- (BOOL) allowsTruncatedLabels;
+

+
+

allowsTruncatedLabels

+ - (BOOL) allowsTruncatedLabels;
+

- -


-

contentRect

-- (NSRect) contentRect;
+

+
+

contentRect

+ - (NSRect) contentRect;
+

- -


-

delegate

-- (id) delegate;
+

+
+

controlSize

+ - (NSControlSize) controlSize;
+

- -


-

drawsBackground

-- (BOOL) drawsBackground;
+

+
+

controlTint

+ - (NSControlTint) controlTint;
+

- -


-

font

-- (NSFont*) font;
+

+
+

delegate

+ - (id) delegate;
+

- -


-

indexOfTabViewItem:

-- (int) indexOfTabViewItem: (NSTabViewItem*)tabViewItem;
+

+
+

drawsBackground

+ - (BOOL) drawsBackground;
+

- -


-

indexOfTabViewItemWithIdentifier:

-- (int) indexOfTabViewItemWithIdentifier: (id)identifier;
+

+
+

font

+ - (NSFont*) font;
+

- -


-

insertTabViewItem:

-- (void) insertTabViewItem: (NSTabViewItem*)tabViewItem;
+

+
+

indexOfTabViewItem:

+ - (int) indexOfTabViewItem: (NSTabViewItem*)tabViewItem;
+

- -


-

minimumSize

-- (NSSize) minimumSize;
+

+
+

indexOfTabViewItemWithIdentifier:

+ - (int) indexOfTabViewItemWithIdentifier: (id)identifier;
+

- -


-

numberOfTabViewItems

-- (int) numberOfTabViewItems;
+

+
+

insertTabViewItem:atIndex:

+ - (void) insertTabViewItem: (NSTabViewItem*)tabViewItem atIndex: (int)index;
+

- -


-

removeTabViewItem:

-- (void) removeTabViewItem: (NSTabViewItem*)tabViewItem;
+

+
+

minimumSize

+ - (NSSize) minimumSize;
+

- -


-

selectFirstTabViewItem:

-- (void) selectFirstTabViewItem: (id)sender;
+

+
+

numberOfTabViewItems

+ - (int) numberOfTabViewItems;
+

- -


-

selectLastTabViewItem:

-- (void) selectLastTabViewItem: (id)sender;
+

+
+

removeTabViewItem:

+ - (void) removeTabViewItem: (NSTabViewItem*)tabViewItem;
+

- -


-

selectNextTabViewItem:

-- (void) selectNextTabViewItem: (id)sender;
+

+
+

selectFirstTabViewItem:

+ - (void) selectFirstTabViewItem: (id)sender;
+

- -


-

selectPreviousTabViewItem:

-- (void) selectPreviousTabViewItem: (id)sender;
+

+
+

selectLastTabViewItem:

+ - (void) selectLastTabViewItem: (id)sender;
+

- -


-

selectedTabViewItem

-- (NSTabViewItem*) selectedTabViewItem;
+

+
+

selectNextTabViewItem:

+ - (void) selectNextTabViewItem: (id)sender;
+

- -


-

selectTabViewItem:

-- (void) selectTabViewItem: (NSTabViewItem*)tabViewItem;
+

+
+

selectPreviousTabViewItem:

+ - (void) selectPreviousTabViewItem: (id)sender;
+

- -


-

selectTabViewItemAtIndex:

-- (void) selectTabViewItemAtIndex: (int)index;
+

+
+

selectTabViewItem:

+ - (void) selectTabViewItem: (NSTabViewItem*)tabViewItem;
+

- -


-

selectTabViewItemWithIdentifier:

-- (void) selectTabViewItemWithIdentifier: (id)identifier;;
+

+
+

selectTabViewItemAtIndex:

+ - (void) selectTabViewItemAtIndex: (int)index;
+

- -


-

setAllowsTruncatedLabels:

-- (void) setAllowsTruncatedLabels: (BOOL)allowTruncatedLabels;
+

+
+

setAllowsTruncatedLabels:

+ - (void) setAllowsTruncatedLabels: (BOOL)allowTruncatedLabels;
+

- -


-

setDelegate:

-- (void) setDelegate: (id)anObject;
+

+
+

setControlSize:

+ - (void) setControlSize: (NSControlSize)size;
+

- -


-

setDrawsBackground:

-- (void) setDrawsBackground: (BOOL)flag;
+

+
+

setControlTint:

+ - (void) setControlTint: (NSControlTint)tint;
+

- -


-

setFont:

-- (void) setFont: (NSFont*)font;
+

+
+

setDelegate:

+ - (void) setDelegate: (id)anObject;
+

- -


-

setTabViewType:

-- (void) setTabViewType: (NSTabViewType)tabViewType;
+

+
+

setDrawsBackground:

+ - (void) setDrawsBackground: (BOOL)flag;
+

- -


-

tabViewItemAtIndex:

-- (NSTabViewItem*) tabViewItemAtIndex: (int)index;
+

+
+

setFont:

+ - (void) setFont: (NSFont*)font;
+

- -


-

tabViewItemAtPoint:

-- (NSTabViewItem*) tabViewItemAtPoint: (NSPoint)point;
+

+
+

setTabViewType:

+ - (void) setTabViewType: (NSTabViewType)tabViewType;
+

- -


-

tabViewItems

-- (NSArray*) tabViewItems;
+

+
+

tabViewItemAtIndex:

+ - (NSTabViewItem*) tabViewItemAtIndex: (int)index;
+

- -


-

tabViewType

-- (NSTabViewType) tabViewType;
+

+
+

tabViewItemAtPoint:

+ - (NSTabViewItem*) tabViewItemAtPoint: (NSPoint)point;
+

- -


-

takeSelectedTabViewItemFromSender:

-- (void) takeSelectedTabViewItemFromSender: (id)sender;
+

+
+

tabViewItems

+ - (NSArray*) tabViewItems;
+

- -


- - - +

+
+

tabViewType

+ - (NSTabViewType) tabViewType;
+

+ +

+
+

takeSelectedTabViewItemFromSender:

+ - (void) takeSelectedTabViewItemFromSender: (id)sender;
+

+ +

+
+

+ Software documentation for the + NSObject(NSTabViewDelegate) + category +

+

NSObject(NSTabViewDelegate)

+ Declared: AppKit/NSTabView.h
+

+ +

+

tabView:didSelectTabViewItem:

+ - (void) tabView: (NSTabView*)tabView didSelectTabViewItem: (NSTabViewItem*)tabViewItem;
+

+ +

+
+

tabView:shouldSelectTabViewItem:

+ - (BOOL) tabView: (NSTabView*)tabView shouldSelectTabViewItem: (NSTabViewItem*)tabViewItem;
+

+ +

+
+

tabView:willSelectTabViewItem:

+ - (void) tabView: (NSTabView*)tabView willSelectTabViewItem: (NSTabViewItem*)tabViewItem;
+

+ +

+
+

tabViewDidChangeNumberOfTabViewItems:

+ - (void) tabViewDidChangeNumberOfTabViewItems: (NSTabView*)TabView;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSTabViewItem.gsdoc b/Documentation/gsdoc/NSTabViewItem.gsdoc index d3d5ba38c..805a0f9cb 100644 --- a/Documentation/gsdoc/NSTabViewItem.gsdoc +++ b/Documentation/gsdoc/NSTabViewItem.gsdoc @@ -1,23 +1,25 @@ - - + + NSTabViewItem - - - + + + mhanni@sprintmail.com + - $Revision$ - $Date$ + 2000 Free Software Foundation, Inc. - NSTabViewItem + + Software documentation for the NSTabViewItem class + - Gui/NSTabViewItem.h + AppKit/NSTabViewItem.h NSCoding - - + + color @@ -26,6 +28,8 @@ drawLabel: shouldTruncateLabel + inRect: + tabRect @@ -35,13 +39,13 @@ - initialFirstResponder + initWithIdentifier: + identifier - initWithIdentifier: - identifier + initialFirstResponder @@ -96,12 +100,45 @@ - + view + + + Software documentation for the NSTabViewItem(GNUstep) + category + + + AppKit/NSTabViewItem.h + + + + _setTabState: + tabState + + + + + _setTabView: + tabView + + + + + _tabRect + + + + + _truncatedLabel + + + + + diff --git a/Documentation/gsdoc/NSTabViewItem.html b/Documentation/gsdoc/NSTabViewItem.html index fafd9b965..921bbc3d8 100644 --- a/Documentation/gsdoc/NSTabViewItem.html +++ b/Documentation/gsdoc/NSTabViewItem.html @@ -1,124 +1,149 @@ - - NSTabViewItem - - -[Previous] -[Up] -[Next] -

NSTabViewItem

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSTabViewItem

-

NSTabViewItem

-

Declared in: Gui/NSTabViewItem.h

-

Inherits from: NSObject

-

Conforms to: NSCoding -

-
+ + + NSTabViewItem + + +

NSTabViewItem

+

Authors

+
+
Michael Hanni( + mhanni@sprintmail.com + )
+
+
+
+

Copyright: (C) 2000 Free Software Foundation, Inc.

+

+ Software documentation for the NSTabViewItem class +

+

NSTabViewItem : NSObject

+ Declared: AppKit/NSTabViewItem.h
+ Conform: NSCoding
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

color

-- (NSColor*) color;
+

+

color

+ - (NSColor*) color;
+

- -


-

drawLabel:

-- (void) drawLabel: (BOOL)shouldTruncateLabel;
+

+
+

drawLabel:inRect:

+ - (void) drawLabel: (BOOL)shouldTruncateLabel inRect: (NSRect)tabRect;
+

- -


-

identifier

-- (id) identifier;
+

+
+

identifier

+ - (id) identifier;
+

- -


-

initialFirstResponder

-- (id) initialFirstResponder;
+

+
+

initWithIdentifier:

+ - (id) initWithIdentifier: (id)identifier;
+

- -


-

initWithIdentifier:

-- (id) initWithIdentifier: (id)identifier;
+

+
+

initialFirstResponder

+ - (id) initialFirstResponder;
+

- -


-

label

-- (NSString*) label;
+

+
+

label

+ - (NSString*) label;
+

- -


-

setColor:

-- (void) setColor: (NSColor*)color;
+

+
+

setColor:

+ - (void) setColor: (NSColor*)color;
+

- -


-

setIdentifier:

-- (void) setIdentifier: (id)identifier;
+

+
+

setIdentifier:

+ - (void) setIdentifier: (id)identifier;
+

- -


-

setInitialFirstResponder:

-- (void) setInitialFirstResponder: (NSView*)view;
+

+
+

setInitialFirstResponder:

+ - (void) setInitialFirstResponder: (NSView*)view;
+

- -


-

setLabel:

-- (void) setLabel: (NSString*)label;
+

+
+

setLabel:

+ - (void) setLabel: (NSString*)label;
+

- -


-

setView:

-- (void) setView: (NSView*)view;
+

+
+

setView:

+ - (void) setView: (NSView*)view;
+

- -


-

sizeOfLabel:

-- (NSSize) sizeOfLabel: (BOOL)shouldTruncateLabel;
+

+
+

sizeOfLabel:

+ - (NSSize) sizeOfLabel: (BOOL)shouldTruncateLabel;
+

- -


-

tabState

-- (NSTabState) tabState;
+

+
+

tabState

+ - (NSTabState) tabState;
+

- -


-

tabView

-- (NSTabView*) tabView;
+

+
+

tabView

+ - (NSTabView*) tabView;
+

- -


-

view

-- (id) view;
+

+
+

view

+ - (NSView*) view;
+

- -


- - - +

+
+

+ Software documentation for the NSTabViewItem(GNUstep) + category +

+

NSTabViewItem(GNUstep)

+ Declared: AppKit/NSTabViewItem.h
+

+ +

+

_setTabState:

+ - (void) _setTabState: (NSTabState)tabState;
+

+ +

+
+

_setTabView:

+ - (void) _setTabView: (NSTabView*)tabView;
+

+ +

+
+

_tabRect

+ - (NSRect) _tabRect;
+

+ +

+
+

_truncatedLabel

+ - (NSString*) _truncatedLabel;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSTableHeaderCell.gsdoc b/Documentation/gsdoc/NSTableHeaderCell.gsdoc index 984ca5231..2d4c2a2a3 100644 --- a/Documentation/gsdoc/NSTableHeaderCell.gsdoc +++ b/Documentation/gsdoc/NSTableHeaderCell.gsdoc @@ -1,29 +1,24 @@ - - + + NSTableHeaderCell - - - + + + n.pero@mi.flashnet.it + - $Revision$ - $Date$ + 1999 Free Software Foundation, Inc. - NSTableHeaderCell + + Software documentation for the NSTableHeaderCell class + - Gui/NSTableHeaderCell.h - NSCoding - - - - drawInteriorWithFrame: - cellFrame - - - + AppKit/NSTableHeaderCell.h + + diff --git a/Documentation/gsdoc/NSTableHeaderCell.html b/Documentation/gsdoc/NSTableHeaderCell.html index 615ed93ff..101c20b68 100644 --- a/Documentation/gsdoc/NSTableHeaderCell.html +++ b/Documentation/gsdoc/NSTableHeaderCell.html @@ -1,40 +1,25 @@ - - NSTableHeaderCell - - -[Previous] -[Up] -[Next] -

NSTableHeaderCell

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSTableHeaderCell

-

NSTableHeaderCell

-

Declared in: Gui/NSTableHeaderCell.h

-

Inherits from: NSTextFieldCell

-

Conforms to: NSCoding -

-
+ + + NSTableHeaderCell + + +

NSTableHeaderCell

+

Authors

+
+
Nicola Pero( + n.pero@mi.flashnet.it + )
+
+
+
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSTableHeaderCell class +

+

NSTableHeaderCell : NSTextFieldCell

+ Declared: AppKit/NSTableHeaderCell.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

drawInteriorWithFrame:

-- (void) drawInteriorWithFrame: (NSRect)cellFrame;
- - -
- - - +

+ + diff --git a/Documentation/gsdoc/NSTableHeaderView.gsdoc b/Documentation/gsdoc/NSTableHeaderView.gsdoc index 69375fb31..bb2059686 100644 --- a/Documentation/gsdoc/NSTableHeaderView.gsdoc +++ b/Documentation/gsdoc/NSTableHeaderView.gsdoc @@ -1,23 +1,29 @@ - - + + NSTableHeaderView - - - + + + n.pero@mi.flashnet.it + - $Revision$ - $Date$ + + + nicola@brainstorm.co.uk + + + 1999 Free Software Foundation, Inc. - NSTableHeaderView + + Software documentation for the NSTableHeaderView class + - Gui/NSTableHeaderView.h - NSCoding - - + AppKit/NSTableHeaderView.h + + columnAtPoint: aPoint diff --git a/Documentation/gsdoc/NSTableHeaderView.html b/Documentation/gsdoc/NSTableHeaderView.html index 996da4939..acb14ab20 100644 --- a/Documentation/gsdoc/NSTableHeaderView.html +++ b/Documentation/gsdoc/NSTableHeaderView.html @@ -1,76 +1,72 @@ - - NSTableHeaderView - - -[Previous] -[Up] -[Next] -

NSTableHeaderView

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSTableHeaderView

-

NSTableHeaderView

-

Declared in: Gui/NSTableHeaderView.h

-

Inherits from: NSView

-

Conforms to: NSCoding -

-
+ + + NSTableHeaderView + + +

NSTableHeaderView

+

Authors

+
+
Nicola Pero( + n.pero@mi.flashnet.it + )
+
+
+
Nicola Pero( + nicola@brainstorm.co.uk + )
+
+
+
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSTableHeaderView class +

+

NSTableHeaderView : NSView

+ Declared: AppKit/NSTableHeaderView.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

columnAtPoint:

-- (int) columnAtPoint: (NSPoint)aPoint;
+

+

columnAtPoint:

+ - (int) columnAtPoint: (NSPoint)aPoint;
+

- -


-

draggedColumn

-- (int) draggedColumn;
+

+
+

draggedColumn

+ - (int) draggedColumn;
+

- -


-

draggedDistance

-- (float) draggedDistance;
+

+
+

draggedDistance

+ - (float) draggedDistance;
+

- -


-

headerRectOfColumn:

-- (NSRect) headerRectOfColumn: (int)columnIndex;
+

+
+

headerRectOfColumn:

+ - (NSRect) headerRectOfColumn: (int)columnIndex;
+

- -


-

resizedColumn

-- (int) resizedColumn;
+

+
+

resizedColumn

+ - (int) resizedColumn;
+

- -


-

setTableView:

-- (void) setTableView: (NSTableView*)aTableView;
+

+
+

setTableView:

+ - (void) setTableView: (NSTableView*)aTableView;
+

- -


-

tableView

-- (NSTableView*) tableView;
+

+
+

tableView

+ - (NSTableView*) tableView;
+

- -


- - - +

+
+ + diff --git a/Documentation/gsdoc/NSTableView.gsdoc b/Documentation/gsdoc/NSTableView.gsdoc index aafed2e31..ba71d578e 100644 --- a/Documentation/gsdoc/NSTableView.gsdoc +++ b/Documentation/gsdoc/NSTableView.gsdoc @@ -1,23 +1,29 @@ - - + + NSTableView - - - + + + n.pero@mi.flashnet.it + - $Revision$ - $Date$ + + + pyrivail@ens-lyon.fr + + + 2000 Free Software Foundation, Inc. - NSTableView + + Software documentation for the NSTableView class + - Gui/NSTableView.h - NSCoding - - + AppKit/NSTableView.h + + addTableColumn: aColumn @@ -85,18 +91,18 @@ - - columnsInRect: - aRect - - - columnWithIdentifier: anObject + + columnsInRect: + aRect + + + cornerView @@ -135,6 +141,16 @@ + + dragImageForRows: + dragRows + event: + dragEvent + dragImageOffset: + dragImageOffset + + + drawGridInClipRect: aRect @@ -144,6 +160,8 @@ drawRow: rowIndex + clipRect: + aRect @@ -159,6 +177,8 @@ rowIndex withEvent: theEvent + select: + flag @@ -175,6 +195,8 @@ frameOfCellAtColumn: columnIndex + row: + rowIndex @@ -194,9 +216,14 @@
- - initWithFrame: - frameRect + + highlightedTableColumn + + + + + indicatorImageInTableColumn: + aTableColumn @@ -220,6 +247,8 @@ moveColumn: columnIndex + toColumn: + newIndex @@ -267,7 +296,7 @@ removeTableColumn: - aTableColumn + aColumn @@ -314,6 +343,14 @@ + + selectRow: + rowIndex + byExtendingSelection: + flag + + + selectedColumn @@ -334,14 +371,6 @@ - - selectRow: - rowIndex - byExtendingSelection: - flag - - - setAllowsColumnReordering: flag @@ -426,6 +455,20 @@ + + setDropRow: + row + dropOperation: + operation + + + + + setFrame: + aRect + + + setGridColor: aColor @@ -438,6 +481,20 @@ + + setHighlightedTableColumn: + aTableColumn + + + + + setIndicatorImage: + anImage + inTableColumn: + aTableColumn + + + setIntercellSpacing: aSize @@ -451,17 +508,13 @@ - sizeLastColumnToFit + setVerticalMotionCanBeginDrag: + flag - sizeToFit - - - - - tableColumns + sizeLastColumnToFit @@ -471,6 +524,11 @@ + + tableColumns + + + textDidBeginEditing: aNotification @@ -497,7 +555,7 @@ textShouldEndEditing: - textObject + aTextObject @@ -506,17 +564,134 @@ + + verticalMotionCanBeginDrag + + + +
+
+ + + Software documentation for the + NSObject(NSTableDataSource) + category + + + AppKit/NSTableView.h + + + + numberOfRowsInTableView: + aTableView + + + + + tableView: + tableView + acceptDrop: + info + row: + row + dropOperation: + operation + + + + + tableView: + aTableView + objectValueForTableColumn: + aTableColumn + row: + rowIndex + + + + + tableView: + aTableView + setObjectValue: + anObject + forTableColumn: + aTableColumn + row: + rowIndex + + + + + tableView: + tableView + validateDrop: + info + proposedRow: + row + proposedDropOperation: + operation + + + + + tableView: + tableView + writeRows: + rows + toPasteboard: + pboard + + + + + + + + Software documentation for the + NSObject(NSTableViewDelegate) + category + + + AppKit/NSTableView.h + + selectionShouldChangeInTableView: aTableView + + tableView: + tableView + didClickTableColumn: + tableColumn + + + + + tableView: + tableView + didDragTableColumn: + tableColumn + + + + + tableView: + tableView + mouseDownInHeaderOfTableColumn: + tableColumn + + + tableView: aTableView shouldEditTableColumn: aTableColumn + row: + rowIndex @@ -543,6 +718,8 @@ aCell forTableColumn: aTableColumn + row: + rowIndex @@ -570,7 +747,32 @@ -
+ +
+ + + Software documentation for the NSTableView(GNUPrivate) + category + + + AppKit/NSTableView.h + + + + _selectColumn: + columnIndex + modifiers: + modifiers + + + + + _sendDoubleActionForColumn: + columnIndex + + + +
diff --git a/Documentation/gsdoc/NSTableView.html b/Documentation/gsdoc/NSTableView.html index fe496b931..fb2c74af3 100644 --- a/Documentation/gsdoc/NSTableView.html +++ b/Documentation/gsdoc/NSTableView.html @@ -1,604 +1,737 @@ - - NSTableView - - -[Previous] -[Up] -[Next] -

NSTableView

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSTableView

-

NSTableView

-

Declared in: Gui/NSTableView.h

-

Inherits from: NSControl

-

Conforms to: NSCoding -

-
- - -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

addTableColumn:

-- (void) addTableColumn: (NSTableColumn*)aColumn;
- - -
-

allowsColumnReordering

-- (BOOL) allowsColumnReordering;
- - -
-

allowsColumnResizing

-- (BOOL) allowsColumnResizing;
- - -
-

allowsColumnSelection

-- (BOOL) allowsColumnSelection;
- - -
-

allowsEmptySelection

-- (BOOL) allowsEmptySelection;
- - -
-

allowsMultipleSelection

-- (BOOL) allowsMultipleSelection;
- - -
-

autoresizesAllColumnsToFit

-- (BOOL) autoresizesAllColumnsToFit;
- - -
-

autosaveName

-- (NSString*) autosaveName;
- - -
-

autosaveTableColumns

-- (BOOL) autosaveTableColumns;
- - -
-

backgroundColor

-- (NSColor*) backgroundColor;
- - -
-

clickedColumn

-- (int) clickedColumn;
- - -
-

clickedRow

-- (int) clickedRow;
- - -
-

columnAtPoint:

-- (int) columnAtPoint: (NSPoint)aPoint;
- - -
-

columnsInRect:

-- (NSRange) columnsInRect: (NSRect)aRect;
- - -
-

columnWithIdentifier:

-- (int) columnWithIdentifier: (id)anObject;
- - -
-

cornerView

-- (NSView*) cornerView;
- - -
-

dataSource

-- (id) dataSource;
- - -
-

delegate

-- (id) delegate;
- - -
-

deselectAll:

-- (void) deselectAll: (id)sender;
- - -
-

deselectColumn:

-- (void) deselectColumn: (int)columnIndex;
- - -
-

deselectRow:

-- (void) deselectRow: (int)rowIndex;
- - -
-

doubleAction

-- (SEL) doubleAction;
- - -
-

drawGridInClipRect:

-- (void) drawGridInClipRect: (NSRect)aRect;
- - -
-

drawRow:

-- (void) drawRow: (int)rowIndex;
- - -
-

drawsGrid

-- (BOOL) drawsGrid;
- - -
-

editColumn:row:withEvent:

-- (void) editColumn: (int)columnIndex row: (int)rowIndex withEvent: (NSEvent*)theEvent;
- - -
-

editedColumn

-- (int) editedColumn;
- - -
-

editedRow

-- (int) editedRow;
- - -
-

frameOfCellAtColumn:

-- (NSRect) frameOfCellAtColumn: (int)columnIndex;
- - -
-

gridColor

-- (NSColor*) gridColor;
- - -
-

headerView

-- (NSTableHeaderView*) headerView;
- - -
-

highlightSelectionInClipRect:

-- (void) highlightSelectionInClipRect: (NSRect)clipRect;
- - -
-

initWithFrame:

-- (id) initWithFrame: (NSRect)frameRect;
- - -
-

intercellSpacing

-- (NSSize) intercellSpacing;
- - -
-

isColumnSelected:

-- (BOOL) isColumnSelected: (int)columnIndex;
- - -
-

isRowSelected:

-- (BOOL) isRowSelected: (int)rowIndex;
- - -
-

moveColumn:

-- (void) moveColumn: (int)columnIndex;
- - -
-

noteNumberOfRowsChanged

-- (void) noteNumberOfRowsChanged;
- - -
-

numberOfColumns

-- (int) numberOfColumns;
- - -
-

numberOfRows

-- (int) numberOfRows;
- - -
-

numberOfSelectedColumns

-- (int) numberOfSelectedColumns;
- - -
-

numberOfSelectedRows

-- (int) numberOfSelectedRows;
- - -
-

rectOfColumn:

-- (NSRect) rectOfColumn: (int)columnIndex;
- - -
-

rectOfRow:

-- (NSRect) rectOfRow: (int)rowIndex;
- - -
-

reloadData

-- (void) reloadData;
- - -
-

removeTableColumn:

-- (void) removeTableColumn: (NSTableColumn*)aTableColumn;
- - -
-

rowAtPoint:

-- (int) rowAtPoint: (NSPoint)aPoint;
- - -
-

rowHeight

-- (float) rowHeight;
- - -
-

rowsInRect:

-- (NSRange) rowsInRect: (NSRect)aRect;
- - -
-

scrollColumnToVisible:

-- (void) scrollColumnToVisible: (int)columnIndex;
- - -
-

scrollRowToVisible:

-- (void) scrollRowToVisible: (int)rowIndex;
- - -
-

selectAll:

-- (void) selectAll: (id)sender;
- - -
-

selectColumn:byExtendingSelection:

-- (void) selectColumn: (int)columnIndex byExtendingSelection: (BOOL)flag;
- - -
-

selectedColumn

-- (int) selectedColumn;
- - -
-

selectedColumnEnumerator

-- (NSEnumerator*) selectedColumnEnumerator;
- - -
-

selectedRow

-- (int) selectedRow;
- - -
-

selectedRowEnumerator

-- (NSEnumerator*) selectedRowEnumerator;
- - -
-

selectRow:byExtendingSelection:

-- (void) selectRow: (int)rowIndex byExtendingSelection: (BOOL)flag;
- - -
-

setAllowsColumnReordering:

-- (void) setAllowsColumnReordering: (BOOL)flag;
- - -
-

setAllowsColumnResizing:

-- (void) setAllowsColumnResizing: (BOOL)flag;
- - -
-

setAllowsColumnSelection:

-- (void) setAllowsColumnSelection: (BOOL)flag;
- - -
-

setAllowsEmptySelection:

-- (void) setAllowsEmptySelection: (BOOL)flag;
- - -
-

setAllowsMultipleSelection:

-- (void) setAllowsMultipleSelection: (BOOL)flag;
- - -
-

setAutoresizesAllColumnsToFit:

-- (void) setAutoresizesAllColumnsToFit: (BOOL)flag;
- - -
-

setAutosaveName:

-- (void) setAutosaveName: (NSString*)name;
- - -
-

setAutosaveTableColumns:

-- (void) setAutosaveTableColumns: (BOOL)flag;
- - -
-

setBackgroundColor:

-- (void) setBackgroundColor: (NSColor*)aColor;
- - -
-

setCornerView:

-- (void) setCornerView: (NSView*)aView;
- - -
-

setDataSource:

-- (void) setDataSource: (id)anObject;
- - -
-

setDelegate:

-- (void) setDelegate: (id)anObject;
- - -
-

setDoubleAction:

-- (void) setDoubleAction: (SEL)aSelector;
- - -
-

setDrawsGrid:

-- (void) setDrawsGrid: (BOOL)flag;
- - -
-

setGridColor:

-- (void) setGridColor: (NSColor*)aColor;
- - -
-

setHeaderView:

-- (void) setHeaderView: (NSTableHeaderView*)aHeaderView;
- - -
-

setIntercellSpacing:

-- (void) setIntercellSpacing: (NSSize)aSize;
- - -
-

setRowHeight:

-- (void) setRowHeight: (float)rowHeight;
- - -
-

sizeLastColumnToFit

-- (void) sizeLastColumnToFit;
- - -
-

sizeToFit

-- (void) sizeToFit;
- - -
-

tableColumns

-- (NSArray*) tableColumns;
- - -
-

tableColumnWithIdentifier:

-- (NSTableColumn*) tableColumnWithIdentifier: (id)anObject;
- - -
-

textDidBeginEditing:

-- (void) textDidBeginEditing: (NSNotification*)aNotification;
- - -
-

textDidChange:

-- (void) textDidChange: (NSNotification*)aNotification;
- - -
-

textDidEndEditing:

-- (void) textDidEndEditing: (NSNotification*)aNotification;
- - -
-

textShouldBeginEditing:

-- (BOOL) textShouldBeginEditing: (NSText*)textObject;
- - -
-

textShouldEndEditing:

-- (BOOL) textShouldEndEditing: (NSText*)textObject;
- - -
-

tile

-- (void) tile;
- - -
-

selectionShouldChangeInTableView:

-- (BOOL) selectionShouldChangeInTableView: (NSTableView*)aTableView;
- - -
-

tableView:shouldEditTableColumn:

-- (BOOL) tableView: (NSTableView*)aTableView shouldEditTableColumn: (NSTableColumn*)aTableColumn;
- - -
-

tableView:shouldSelectRow:

-- (BOOL) tableView: (NSTableView*)aTableView shouldSelectRow: (int)rowIndex;
- - -
-

tableView:shouldSelectTableColumn:

-- (BOOL) tableView: (NSTableView*)aTableView shouldSelectTableColumn: (NSTableColumn*)aTableColumn;
- - -
-

tableView:willDisplayCell:forTableColumn:

-- (void) tableView: (NSTableView*)aTableView willDisplayCell: (id)aCell forTableColumn: (NSTableColumn*)aTableColumn;
- - -
-

tableViewColumnDidMove:

-- (void) tableViewColumnDidMove: (NSNotification*)aNotification;
- - -
-

tableViewColumnDidResize:

-- (void) tableViewColumnDidResize: (NSNotification*)aNotification;
- - -
-

tableViewSelectionDidChange:

-- (void) tableViewSelectionDidChange: (NSNotification*)aNotification;
- - -
-

tableViewSelectionIsChanging:

-- (void) tableViewSelectionIsChanging: (NSNotification*)aNotification;
- - -
- - - + + + NSTableView + + +

NSTableView

+

Authors

+
+
Nicola Pero( + n.pero@mi.flashnet.it + )
+
+
+
Pierre-Yves Rivaille( + pyrivail@ens-lyon.fr + )
+
+
+
+

Copyright: (C) 2000 Free Software Foundation, Inc.

+

+ Software documentation for the NSTableView class +

+

NSTableView : NSControl

+ Declared: AppKit/NSTableView.h
+

+ +

+

addTableColumn:

+ - (void) addTableColumn: (NSTableColumn*)aColumn;
+

+ +

+
+

allowsColumnReordering

+ - (BOOL) allowsColumnReordering;
+

+ +

+
+

allowsColumnResizing

+ - (BOOL) allowsColumnResizing;
+

+ +

+
+

allowsColumnSelection

+ - (BOOL) allowsColumnSelection;
+

+ +

+
+

allowsEmptySelection

+ - (BOOL) allowsEmptySelection;
+

+ +

+
+

allowsMultipleSelection

+ - (BOOL) allowsMultipleSelection;
+

+ +

+
+

autoresizesAllColumnsToFit

+ - (BOOL) autoresizesAllColumnsToFit;
+

+ +

+
+

autosaveName

+ - (NSString*) autosaveName;
+

+ +

+
+

autosaveTableColumns

+ - (BOOL) autosaveTableColumns;
+

+ +

+
+

backgroundColor

+ - (NSColor*) backgroundColor;
+

+ +

+
+

clickedColumn

+ - (int) clickedColumn;
+

+ +

+
+

clickedRow

+ - (int) clickedRow;
+

+ +

+
+

columnAtPoint:

+ - (int) columnAtPoint: (NSPoint)aPoint;
+

+ +

+
+

columnWithIdentifier:

+ - (int) columnWithIdentifier: (id)anObject;
+

+ +

+
+

columnsInRect:

+ - (NSRange) columnsInRect: (NSRect)aRect;
+

+ +

+
+

cornerView

+ - (NSView*) cornerView;
+

+ +

+
+

dataSource

+ - (id) dataSource;
+

+ +

+
+

delegate

+ - (id) delegate;
+

+ +

+
+

deselectAll:

+ - (void) deselectAll: (id)sender;
+

+ +

+
+

deselectColumn:

+ - (void) deselectColumn: (int)columnIndex;
+

+ +

+
+

deselectRow:

+ - (void) deselectRow: (int)rowIndex;
+

+ +

+
+

doubleAction

+ - (SEL) doubleAction;
+

+ +

+
+

dragImageForRows:event:dragImageOffset:

+ - (NSImage*) dragImageForRows: (NSArray*)dragRows event: (NSEvent*)dragEvent dragImageOffset: (NSPoint*)dragImageOffset;
+

+ +

+
+

drawGridInClipRect:

+ - (void) drawGridInClipRect: (NSRect)aRect;
+

+ +

+
+

drawRow:clipRect:

+ - (void) drawRow: (int)rowIndex clipRect: (NSRect)aRect;
+

+ +

+
+

drawsGrid

+ - (BOOL) drawsGrid;
+

+ +

+
+

editColumn:row:withEvent:select:

+ - (void) editColumn: (int)columnIndex row: (int)rowIndex withEvent: (NSEvent*)theEvent select: (BOOL)flag;
+

+ +

+
+

editedColumn

+ - (int) editedColumn;
+

+ +

+
+

editedRow

+ - (int) editedRow;
+

+ +

+
+

frameOfCellAtColumn:row:

+ - (NSRect) frameOfCellAtColumn: (int)columnIndex row: (int)rowIndex;
+

+ +

+
+

gridColor

+ - (NSColor*) gridColor;
+

+ +

+
+

headerView

+ - (NSTableHeaderView*) headerView;
+

+ +

+
+

highlightSelectionInClipRect:

+ - (void) highlightSelectionInClipRect: (NSRect)clipRect;
+

+ +

+
+

highlightedTableColumn

+ - (NSTableColumn*) highlightedTableColumn;
+

+ +

+
+

indicatorImageInTableColumn:

+ - (NSImage*) indicatorImageInTableColumn: (NSTableColumn*)aTableColumn;
+

+ +

+
+

intercellSpacing

+ - (NSSize) intercellSpacing;
+

+ +

+
+

isColumnSelected:

+ - (BOOL) isColumnSelected: (int)columnIndex;
+

+ +

+
+

isRowSelected:

+ - (BOOL) isRowSelected: (int)rowIndex;
+

+ +

+
+

moveColumn:toColumn:

+ - (void) moveColumn: (int)columnIndex toColumn: (int)newIndex;
+

+ +

+
+

noteNumberOfRowsChanged

+ - (void) noteNumberOfRowsChanged;
+

+ +

+
+

numberOfColumns

+ - (int) numberOfColumns;
+

+ +

+
+

numberOfRows

+ - (int) numberOfRows;
+

+ +

+
+

numberOfSelectedColumns

+ - (int) numberOfSelectedColumns;
+

+ +

+
+

numberOfSelectedRows

+ - (int) numberOfSelectedRows;
+

+ +

+
+

rectOfColumn:

+ - (NSRect) rectOfColumn: (int)columnIndex;
+

+ +

+
+

rectOfRow:

+ - (NSRect) rectOfRow: (int)rowIndex;
+

+ +

+
+

reloadData

+ - (void) reloadData;
+

+ +

+
+

removeTableColumn:

+ - (void) removeTableColumn: (NSTableColumn*)aColumn;
+

+ +

+
+

rowAtPoint:

+ - (int) rowAtPoint: (NSPoint)aPoint;
+

+ +

+
+

rowHeight

+ - (float) rowHeight;
+

+ +

+
+

rowsInRect:

+ - (NSRange) rowsInRect: (NSRect)aRect;
+

+ +

+
+

scrollColumnToVisible:

+ - (void) scrollColumnToVisible: (int)columnIndex;
+

+ +

+
+

scrollRowToVisible:

+ - (void) scrollRowToVisible: (int)rowIndex;
+

+ +

+
+

selectAll:

+ - (void) selectAll: (id)sender;
+

+ +

+
+

selectColumn:byExtendingSelection:

+ - (void) selectColumn: (int)columnIndex byExtendingSelection: (BOOL)flag;
+

+ +

+
+

selectRow:byExtendingSelection:

+ - (void) selectRow: (int)rowIndex byExtendingSelection: (BOOL)flag;
+

+ +

+
+

selectedColumn

+ - (int) selectedColumn;
+

+ +

+
+

selectedColumnEnumerator

+ - (NSEnumerator*) selectedColumnEnumerator;
+

+ +

+
+

selectedRow

+ - (int) selectedRow;
+

+ +

+
+

selectedRowEnumerator

+ - (NSEnumerator*) selectedRowEnumerator;
+

+ +

+
+

setAllowsColumnReordering:

+ - (void) setAllowsColumnReordering: (BOOL)flag;
+

+ +

+
+

setAllowsColumnResizing:

+ - (void) setAllowsColumnResizing: (BOOL)flag;
+

+ +

+
+

setAllowsColumnSelection:

+ - (void) setAllowsColumnSelection: (BOOL)flag;
+

+ +

+
+

setAllowsEmptySelection:

+ - (void) setAllowsEmptySelection: (BOOL)flag;
+

+ +

+
+

setAllowsMultipleSelection:

+ - (void) setAllowsMultipleSelection: (BOOL)flag;
+

+ +

+
+

setAutoresizesAllColumnsToFit:

+ - (void) setAutoresizesAllColumnsToFit: (BOOL)flag;
+

+ +

+
+

setAutosaveName:

+ - (void) setAutosaveName: (NSString*)name;
+

+ +

+
+

setAutosaveTableColumns:

+ - (void) setAutosaveTableColumns: (BOOL)flag;
+

+ +

+
+

setBackgroundColor:

+ - (void) setBackgroundColor: (NSColor*)aColor;
+

+ +

+
+

setCornerView:

+ - (void) setCornerView: (NSView*)aView;
+

+ +

+
+

setDataSource:

+ - (void) setDataSource: (id)anObject;
+

+ +

+
+

setDelegate:

+ - (void) setDelegate: (id)anObject;
+

+ +

+
+

setDoubleAction:

+ - (void) setDoubleAction: (SEL)aSelector;
+

+ +

+
+

setDrawsGrid:

+ - (void) setDrawsGrid: (BOOL)flag;
+

+ +

+
+

setDropRow:dropOperation:

+ - (void) setDropRow: (int)row dropOperation: (NSTableViewDropOperation)operation;
+

+ +

+
+

setFrame:

+ - (void) setFrame: (NSRect)aRect;
+

+ +

+
+

setGridColor:

+ - (void) setGridColor: (NSColor*)aColor;
+

+ +

+
+

setHeaderView:

+ - (void) setHeaderView: (NSTableHeaderView*)aHeaderView;
+

+ +

+
+

setHighlightedTableColumn:

+ - (void) setHighlightedTableColumn: (NSTableColumn*)aTableColumn;
+

+ +

+
+

setIndicatorImage:inTableColumn:

+ - (void) setIndicatorImage: (NSImage*)anImage inTableColumn: (NSTableColumn*)aTableColumn;
+

+ +

+
+

setIntercellSpacing:

+ - (void) setIntercellSpacing: (NSSize)aSize;
+

+ +

+
+

setRowHeight:

+ - (void) setRowHeight: (float)rowHeight;
+

+ +

+
+

setVerticalMotionCanBeginDrag:

+ - (void) setVerticalMotionCanBeginDrag: (BOOL)flag;
+

+ +

+
+

sizeLastColumnToFit

+ - (void) sizeLastColumnToFit;
+

+ +

+
+

tableColumnWithIdentifier:

+ - (NSTableColumn*) tableColumnWithIdentifier: (id)anObject;
+

+ +

+
+

tableColumns

+ - (NSArray*) tableColumns;
+

+ +

+
+

textDidBeginEditing:

+ - (void) textDidBeginEditing: (NSNotification*)aNotification;
+

+ +

+
+

textDidChange:

+ - (void) textDidChange: (NSNotification*)aNotification;
+

+ +

+
+

textDidEndEditing:

+ - (void) textDidEndEditing: (NSNotification*)aNotification;
+

+ +

+
+

textShouldBeginEditing:

+ - (BOOL) textShouldBeginEditing: (NSText*)textObject;
+

+ +

+
+

textShouldEndEditing:

+ - (BOOL) textShouldEndEditing: (NSText*)aTextObject;
+

+ +

+
+

tile

+ - (void) tile;
+

+ +

+
+

verticalMotionCanBeginDrag

+ - (BOOL) verticalMotionCanBeginDrag;
+

+ +

+
+

+ Software documentation for the + NSObject(NSTableDataSource) + category +

+

NSObject(NSTableDataSource)

+ Declared: AppKit/NSTableView.h
+

+ +

+

numberOfRowsInTableView:

+ - (int) numberOfRowsInTableView: (NSTableView*)aTableView;
+

+ +

+
+

tableView:acceptDrop:row:dropOperation:

+ - (BOOL) tableView: (NSTableView*)tableView acceptDrop: (id)info row: (int)row dropOperation: (NSTableViewDropOperation)operation;
+

+ +

+
+

tableView:objectValueForTableColumn:row:

+ - (id) tableView: (NSTableView*)aTableView objectValueForTableColumn: (NSTableColumn*)aTableColumn row: (int)rowIndex;
+

+ +

+
+

tableView:setObjectValue:forTableColumn:row:

+ - (void) tableView: (NSTableView*)aTableView setObjectValue: (id)anObject forTableColumn: (NSTableColumn*)aTableColumn row: (int)rowIndex;
+

+ +

+
+

tableView:validateDrop:proposedRow:proposedDropOperation:

+ - (NSDragOperation) tableView: (NSTableView*)tableView validateDrop: (id)info proposedRow: (int)row proposedDropOperation: (NSTableViewDropOperation)operation;
+

+ +

+
+

tableView:writeRows:toPasteboard:

+ - (BOOL) tableView: (NSTableView*)tableView writeRows: (NSArray*)rows toPasteboard: (NSPasteboard*)pboard;
+

+ +

+
+

+ Software documentation for the + NSObject(NSTableViewDelegate) + category +

+

NSObject(NSTableViewDelegate)

+ Declared: AppKit/NSTableView.h
+

+ +

+

selectionShouldChangeInTableView:

+ - (BOOL) selectionShouldChangeInTableView: (NSTableView*)aTableView;
+

+ +

+
+

tableView:didClickTableColumn:

+ - (void) tableView: (NSTableView*)tableView didClickTableColumn: (NSTableColumn*)tableColumn;
+

+ +

+
+

tableView:didDragTableColumn:

+ - (void) tableView: (NSTableView*)tableView didDragTableColumn: (NSTableColumn*)tableColumn;
+

+ +

+
+

tableView:mouseDownInHeaderOfTableColumn:

+ - (void) tableView: (NSTableView*)tableView mouseDownInHeaderOfTableColumn: (NSTableColumn*)tableColumn;
+

+ +

+
+

tableView:shouldEditTableColumn:row:

+ - (BOOL) tableView: (NSTableView*)aTableView shouldEditTableColumn: (NSTableColumn*)aTableColumn row: (int)rowIndex;
+

+ +

+
+

tableView:shouldSelectRow:

+ - (BOOL) tableView: (NSTableView*)aTableView shouldSelectRow: (int)rowIndex;
+

+ +

+
+

tableView:shouldSelectTableColumn:

+ - (BOOL) tableView: (NSTableView*)aTableView shouldSelectTableColumn: (NSTableColumn*)aTableColumn;
+

+ +

+
+

tableView:willDisplayCell:forTableColumn:row:

+ - (void) tableView: (NSTableView*)aTableView willDisplayCell: (id)aCell forTableColumn: (NSTableColumn*)aTableColumn row: (int)rowIndex;
+

+ +

+
+

tableViewColumnDidMove:

+ - (void) tableViewColumnDidMove: (NSNotification*)aNotification;
+

+ +

+
+

tableViewColumnDidResize:

+ - (void) tableViewColumnDidResize: (NSNotification*)aNotification;
+

+ +

+
+

tableViewSelectionDidChange:

+ - (void) tableViewSelectionDidChange: (NSNotification*)aNotification;
+

+ +

+
+

tableViewSelectionIsChanging:

+ - (void) tableViewSelectionIsChanging: (NSNotification*)aNotification;
+

+ +

+
+

+ Software documentation for the NSTableView(GNUPrivate) + category +

+

NSTableView(GNUPrivate)

+ Declared: AppKit/NSTableView.h
+

+ +

+

_selectColumn:modifiers:

+ - (void) _selectColumn: (int)columnIndex modifiers: (unsigned int)modifiers;
+

+ +

+
+

_sendDoubleActionForColumn:

+ - (void) _sendDoubleActionForColumn: (int)columnIndex;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSText.gsdoc b/Documentation/gsdoc/NSText.gsdoc index dc55aefce..345512c60 100644 --- a/Documentation/gsdoc/NSText.gsdoc +++ b/Documentation/gsdoc/NSText.gsdoc @@ -1,23 +1,59 @@ - - + + NSText - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + far@ix.netcom.com + + + + + boehring@biomed.ruhr-uni-bochum.de + + + + + FredKiefer@gmx.de + + + + + n.pero@mi.flashnet.it + + + The RTFD text class + 1996 Free Software Foundation, Inc. - NSText + + Software documentation for the NSText class + - Gui/NSText.h + AppKit/NSText.h NSChangeSpelling + NSIgnoreMisspelledWords + + + + RTFDFromRange: + aRange + + + RTFFromRange: + aRange + + + alignCenter: sender @@ -52,6 +88,12 @@ + + changeSpelling: + sender + + + checkSpelling: sender @@ -98,19 +140,31 @@ + + encodeWithCoder: + aCoder + + + font + + ignoreSpelling: + sender + + + importsGraphics - initWithFrame: - frameRect + initWithCoder: + aDecoder @@ -207,9 +261,27 @@ - - RTFDFromRange: + + replaceRange: aRange + withRTF: + rtfData + + + + + replaceRange: + aRange + withRTFD: + rtfdData + + + + + replaceRange: + aRange + withString: + aString @@ -238,7 +310,15 @@ setBackgroundColor: - aColor + color + + + + + setColor: + color + ofRange: + aRange @@ -268,13 +348,15 @@ setFont: - aFont + font setFont: - aFont + font + ofRange: + aRange @@ -292,13 +374,13 @@ setMaxSize: - aSize + newMaxSize setMinSize: - aSize + newMinSize @@ -316,7 +398,7 @@ setSelectedRange: - aRange + range @@ -327,14 +409,30 @@ - setTextColor: - aColor + setText: + string + + + + + setText: + aString + range: + aRange setTextColor: - aColor + color + + + + + setTextColor: + color + range: + aRange @@ -378,6 +476,11 @@ + + text + + + textColor @@ -410,41 +513,76 @@ writeRTFDToFile: path atomically: - atomicFlag - - - - - textDidBeginEditing: - aNotification - - - - - textDidChange: - aNotification - - - - - textDidEndEditing: - aNotification - - - - - textShouldBeginEditing: - aTextObject - - - - - textShouldEndEditing: - aTextObject + flag + + + Software documentation for the + NSObject(NSTextDelegate) category + + + AppKit/NSText.h + + + + textDidBeginEditing: + notification + + + + + textDidChange: + notification + + + + + textDidEndEditing: + notification + + + + + textShouldBeginEditing: + textObject + + + + + textShouldEndEditing: + textObject + + + + + + + + Software documentation for the + NSText(GNUstepExtensions) category + + + AppKit/NSText.h + + + + replaceRange: + aRange + withAttributedString: + attrString + + + + + textLength + + + + + diff --git a/Documentation/gsdoc/NSText.html b/Documentation/gsdoc/NSText.html index 03cc86280..107a885e0 100644 --- a/Documentation/gsdoc/NSText.html +++ b/Documentation/gsdoc/NSText.html @@ -1,472 +1,583 @@ - - NSText - - -[Previous] -[Up] -[Next] -

NSText

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSText

-

NSText

-

Declared in: Gui/NSText.h

-

Inherits from: NSView

-

Conforms to: NSChangeSpelling -

-
- - -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

alignCenter:

-- (void) alignCenter: (id)sender;
- - -
-

alignLeft:

-- (void) alignLeft: (id)sender;
- - -
-

alignRight:

-- (void) alignRight: (id)sender;
- - -
-

alignment

-- (NSTextAlignment) alignment;
- - -
-

backgroundColor

-- (NSColor*) backgroundColor;
- - -
-

changeFont:

-- (void) changeFont: (id)sender;
- - -
-

checkSpelling:

-- (void) checkSpelling: (id)sender;
- - -
-

copy:

-- (void) copy: (id)sender;
- - -
-

copyFont:

-- (void) copyFont: (id)sender;
- - -
-

copyRuler:

-- (void) copyRuler: (id)sender;
- - -
-

cut:

-- (void) cut: (id)sender;
- - -
-

delegate

-- (id) delegate;
- - -
-

delete:

-- (void) delete: (id)sender;
- - -
-

drawsBackground

-- (BOOL) drawsBackground;
- - -
-

font

-- (NSFont*) font;
- - -
-

importsGraphics

-- (BOOL) importsGraphics;
- - -
-

initWithFrame:

-- (id) initWithFrame: (NSRect)frameRect;
- - -
-

isEditable

-- (BOOL) isEditable;
- - -
-

isFieldEditor

-- (BOOL) isFieldEditor;
- - -
-

isHorizontallyResizable

-- (BOOL) isHorizontallyResizable;
- - -
-

isRichText

-- (BOOL) isRichText;
- - -
-

isRulerVisible

-- (BOOL) isRulerVisible;
- - -
-

isSelectable

-- (BOOL) isSelectable;
- - -
-

isVerticallyResizable

-- (BOOL) isVerticallyResizable;
- - -
-

maxSize

-- (NSSize) maxSize;
- - -
-

minSize

-- (NSSize) minSize;
- - -
-

paste:

-- (void) paste: (id)sender;
- - -
-

pasteFont:

-- (void) pasteFont: (id)sender;
- - -
-

pasteRuler:

-- (void) pasteRuler: (id)sender;
- - -
-

readRTFDFromFile:

-- (BOOL) readRTFDFromFile: (NSString*)path;
- - -
-

replaceCharactersInRange:withRTF:

-- (void) replaceCharactersInRange: (NSRange)aRange withRTF: (NSData*)rtfData;
- - -
-

replaceCharactersInRange:withRTFD:

-- (void) replaceCharactersInRange: (NSRange)aRange withRTFD: (NSData*)rtfdData;
- - -
-

replaceCharactersInRange:withString:

-- (void) replaceCharactersInRange: (NSRange)aRange withString: (NSString*)aString;
- - -
-

RTFDFromRange:

-- (NSData*) RTFDFromRange: (NSRange)aRange;
- - -
-

scrollRangeToVisible:

-- (void) scrollRangeToVisible: (NSRange)aRange;
- - -
-

selectAll:

-- (void) selectAll: (id)sender;
- - -
-

selectedRange

-- (NSRange) selectedRange;
- - -
-

setAlignment:

-- (void) setAlignment: (NSTextAlignment)mode;
- - -
-

setBackgroundColor:

-- (void) setBackgroundColor: (NSColor*)aColor;
- - -
-

setDelegate:

-- (void) setDelegate: (id)anObject;
- - -
-

setDrawsBackground:

-- (void) setDrawsBackground: (BOOL)flag;
- - -
-

setEditable:

-- (void) setEditable: (BOOL)flag;
- - -
-

setFieldEditor:

-- (void) setFieldEditor: (BOOL)flag;
- - -
-

setFont:

-- (void) setFont: (NSFont*)aFont;
- - -
-

setFont:

-- (void) setFont: (NSFont*)aFont;
- - -
-

setHorizontallyResizable:

-- (void) setHorizontallyResizable: (BOOL)flag;
- - -
-

setImportsGraphics:

-- (void) setImportsGraphics: (BOOL)flag;
- - -
-

setMaxSize:

-- (void) setMaxSize: (NSSize)aSize;
- - -
-

setMinSize:

-- (void) setMinSize: (NSSize)aSize;
- - -
-

setRichText:

-- (void) setRichText: (BOOL)flag;
- - -
-

setSelectable:

-- (void) setSelectable: (BOOL)flag;
- - -
-

setSelectedRange:

-- (void) setSelectedRange: (NSRange)aRange;
- - -
-

setString:

-- (void) setString: (NSString*)aString;
- - -
-

setTextColor:

-- (void) setTextColor: (NSColor*)aColor;
- - -
-

setTextColor:

-- (void) setTextColor: (NSColor*)aColor;
- - -
-

setUsesFontPanel:

-- (void) setUsesFontPanel: (BOOL)flag;
- - -
-

setVerticallyResizable:

-- (void) setVerticallyResizable: (BOOL)flag;
- - -
-

showGuessPanel:

-- (void) showGuessPanel: (id)sender;
- - -
-

sizeToFit

-- (void) sizeToFit;
- - -
-

string

-- (NSString*) string;
- - -
-

subscript:

-- (void) subscript: (id)sender;
- - -
-

superscript:

-- (void) superscript: (id)sender;
- - -
-

textColor

-- (NSColor*) textColor;
- - -
-

toggleRuler:

-- (void) toggleRuler: (id)sender;
- - -
-

underline:

-- (void) underline: (id)sender;
- - -
-

unscript:

-- (void) unscript: (id)sender;
- - -
-

usesFontPanel

-- (BOOL) usesFontPanel;
- - -
-

writeRTFDToFile:atomically:

-- (BOOL) writeRTFDToFile: (NSString*)path atomically: (BOOL)atomicFlag;
- - -
-

textDidBeginEditing:

-- (void) textDidBeginEditing: (NSNotification*)aNotification;
- - -
-

textDidChange:

-- (void) textDidChange: (NSNotification*)aNotification;
- - -
-

textDidEndEditing:

-- (void) textDidEndEditing: (NSNotification*)aNotification;
- - -
-

textShouldBeginEditing:

-- (BOOL) textShouldBeginEditing: (NSText*)aTextObject;
- - -
-

textShouldEndEditing:

-- (BOOL) textShouldEndEditing: (NSText*)aTextObject;
- - -
- - - + + + NSText + + +

NSText

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
( + boehring@biomed.ruhr-uni-bochum.de + )
+
+
+
Fred Kiefer( + FredKiefer@gmx.de + )
+
+
+
Nicola Pero( + n.pero@mi.flashnet.it + )
+
+
+
+
+The RTFD text class
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSText class +

+

NSText : NSView

+ Declared: AppKit/NSText.h
+ Conform: NSChangeSpelling
+ Conform: NSIgnoreMisspelledWords
+

+ +

+

RTFDFromRange:

+ - (NSData*) RTFDFromRange: (NSRange)aRange;
+

+ +

+
+

RTFFromRange:

+ - (NSData*) RTFFromRange: (NSRange)aRange;
+

+ +

+
+

alignCenter:

+ - (void) alignCenter: (id)sender;
+

+ +

+
+

alignLeft:

+ - (void) alignLeft: (id)sender;
+

+ +

+
+

alignRight:

+ - (void) alignRight: (id)sender;
+

+ +

+
+

alignment

+ - (NSTextAlignment) alignment;
+

+ +

+
+

backgroundColor

+ - (NSColor*) backgroundColor;
+

+ +

+
+

changeFont:

+ - (void) changeFont: (id)sender;
+

+ +

+
+

changeSpelling:

+ - (void) changeSpelling: (id)sender;
+

+ +

+
+

checkSpelling:

+ - (void) checkSpelling: (id)sender;
+

+ +

+
+

copy:

+ - (void) copy: (id)sender;
+

+ +

+
+

copyFont:

+ - (void) copyFont: (id)sender;
+

+ +

+
+

copyRuler:

+ - (void) copyRuler: (id)sender;
+

+ +

+
+

cut:

+ - (void) cut: (id)sender;
+

+ +

+
+

delegate

+ - (id) delegate;
+

+ +

+
+

delete:

+ - (void) delete: (id)sender;
+

+ +

+
+

drawsBackground

+ - (BOOL) drawsBackground;
+

+ +

+
+

encodeWithCoder:

+ - (void) encodeWithCoder: (NSCoder*)aCoder;
+

+ +

+
+

font

+ - (NSFont*) font;
+

+ +

+
+

ignoreSpelling:

+ - (void) ignoreSpelling: (id)sender;
+

+ +

+
+

importsGraphics

+ - (BOOL) importsGraphics;
+

+ +

+
+

initWithCoder:

+ - (id) initWithCoder: (NSCoder*)aDecoder;
+

+ +

+
+

isEditable

+ - (BOOL) isEditable;
+

+ +

+
+

isFieldEditor

+ - (BOOL) isFieldEditor;
+

+ +

+
+

isHorizontallyResizable

+ - (BOOL) isHorizontallyResizable;
+

+ +

+
+

isRichText

+ - (BOOL) isRichText;
+

+ +

+
+

isRulerVisible

+ - (BOOL) isRulerVisible;
+

+ +

+
+

isSelectable

+ - (BOOL) isSelectable;
+

+ +

+
+

isVerticallyResizable

+ - (BOOL) isVerticallyResizable;
+

+ +

+
+

maxSize

+ - (NSSize) maxSize;
+

+ +

+
+

minSize

+ - (NSSize) minSize;
+

+ +

+
+

paste:

+ - (void) paste: (id)sender;
+

+ +

+
+

pasteFont:

+ - (void) pasteFont: (id)sender;
+

+ +

+
+

pasteRuler:

+ - (void) pasteRuler: (id)sender;
+

+ +

+
+

readRTFDFromFile:

+ - (BOOL) readRTFDFromFile: (NSString*)path;
+

+ +

+
+

replaceCharactersInRange:withRTF:

+ - (void) replaceCharactersInRange: (NSRange)aRange withRTF: (NSData*)rtfData;
+

+ +

+
+

replaceCharactersInRange:withRTFD:

+ - (void) replaceCharactersInRange: (NSRange)aRange withRTFD: (NSData*)rtfdData;
+

+ +

+
+

replaceCharactersInRange:withString:

+ - (void) replaceCharactersInRange: (NSRange)aRange withString: (NSString*)aString;
+

+ +

+
+

replaceRange:withRTF:

+ - (void) replaceRange: (NSRange)aRange withRTF: (NSData*)rtfData;
+

+ +

+
+

replaceRange:withRTFD:

+ - (void) replaceRange: (NSRange)aRange withRTFD: (NSData*)rtfdData;
+

+ +

+
+

replaceRange:withString:

+ - (void) replaceRange: (NSRange)aRange withString: (NSString*)aString;
+

+ +

+
+

scrollRangeToVisible:

+ - (void) scrollRangeToVisible: (NSRange)aRange;
+

+ +

+
+

selectAll:

+ - (void) selectAll: (id)sender;
+

+ +

+
+

selectedRange

+ - (NSRange) selectedRange;
+

+ +

+
+

setAlignment:

+ - (void) setAlignment: (NSTextAlignment)mode;
+

+ +

+
+

setBackgroundColor:

+ - (void) setBackgroundColor: (NSColor*)color;
+

+ +

+
+

setColor:ofRange:

+ - (void) setColor: (NSColor*)color ofRange: (NSRange)aRange;
+

+ +

+
+

setDelegate:

+ - (void) setDelegate: (id)anObject;
+

+ +

+
+

setDrawsBackground:

+ - (void) setDrawsBackground: (BOOL)flag;
+

+ +

+
+

setEditable:

+ - (void) setEditable: (BOOL)flag;
+

+ +

+
+

setFieldEditor:

+ - (void) setFieldEditor: (BOOL)flag;
+

+ +

+
+

setFont:

+ - (void) setFont: (NSFont*)font;
+

+ +

+
+

setFont:ofRange:

+ - (void) setFont: (NSFont*)font ofRange: (NSRange)aRange;
+

+ +

+
+

setHorizontallyResizable:

+ - (void) setHorizontallyResizable: (BOOL)flag;
+

+ +

+
+

setImportsGraphics:

+ - (void) setImportsGraphics: (BOOL)flag;
+

+ +

+
+

setMaxSize:

+ - (void) setMaxSize: (NSSize)newMaxSize;
+

+ +

+
+

setMinSize:

+ - (void) setMinSize: (NSSize)newMinSize;
+

+ +

+
+

setRichText:

+ - (void) setRichText: (BOOL)flag;
+

+ +

+
+

setSelectable:

+ - (void) setSelectable: (BOOL)flag;
+

+ +

+
+

setSelectedRange:

+ - (void) setSelectedRange: (NSRange)range;
+

+ +

+
+

setString:

+ - (void) setString: (NSString*)aString;
+

+ +

+
+

setText:

+ - (void) setText: (NSString*)string;
+

+ +

+
+

setText:range:

+ - (void) setText: (NSString*)aString range: (NSRange)aRange;
+

+ +

+
+

setTextColor:

+ - (void) setTextColor: (NSColor*)color;
+

+ +

+
+

setTextColor:range:

+ - (void) setTextColor: (NSColor*)color range: (NSRange)aRange;
+

+ +

+
+

setUsesFontPanel:

+ - (void) setUsesFontPanel: (BOOL)flag;
+

+ +

+
+

setVerticallyResizable:

+ - (void) setVerticallyResizable: (BOOL)flag;
+

+ +

+
+

showGuessPanel:

+ - (void) showGuessPanel: (id)sender;
+

+ +

+
+

sizeToFit

+ - (void) sizeToFit;
+

+ +

+
+

string

+ - (NSString*) string;
+

+ +

+
+

subscript:

+ - (void) subscript: (id)sender;
+

+ +

+
+

superscript:

+ - (void) superscript: (id)sender;
+

+ +

+
+

text

+ - (NSString*) text;
+

+ +

+
+

textColor

+ - (NSColor*) textColor;
+

+ +

+
+

toggleRuler:

+ - (void) toggleRuler: (id)sender;
+

+ +

+
+

underline:

+ - (void) underline: (id)sender;
+

+ +

+
+

unscript:

+ - (void) unscript: (id)sender;
+

+ +

+
+

usesFontPanel

+ - (BOOL) usesFontPanel;
+

+ +

+
+

writeRTFDToFile:atomically:

+ - (BOOL) writeRTFDToFile: (NSString*)path atomically: (BOOL)flag;
+

+ +

+
+

+ Software documentation for the + NSObject(NSTextDelegate) category +

+

NSObject(NSTextDelegate)

+ Declared: AppKit/NSText.h
+

+ +

+

textDidBeginEditing:

+ - (void) textDidBeginEditing: (NSNotification*)notification;
+

+ +

+
+

textDidChange:

+ - (void) textDidChange: (NSNotification*)notification;
+

+ +

+
+

textDidEndEditing:

+ - (void) textDidEndEditing: (NSNotification*)notification;
+

+ +

+
+

textShouldBeginEditing:

+ - (BOOL) textShouldBeginEditing: (NSText*)textObject;
+

+ +

+
+

textShouldEndEditing:

+ - (BOOL) textShouldEndEditing: (NSText*)textObject;
+

+ +

+
+

+ Software documentation for the + NSText(GNUstepExtensions) category +

+

NSText(GNUstepExtensions)

+ Declared: AppKit/NSText.h
+

+ +

+

replaceRange:withAttributedString:

+ - (void) replaceRange: (NSRange)aRange withAttributedString: (NSAttributedString*)attrString;
+

+ +

+
+

textLength

+ - (unsigned) textLength;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSTextContainer.gsdoc b/Documentation/gsdoc/NSTextContainer.gsdoc index 980628db5..e91a24d68 100644 --- a/Documentation/gsdoc/NSTextContainer.gsdoc +++ b/Documentation/gsdoc/NSTextContainer.gsdoc @@ -1,23 +1,24 @@ - - + + NSTextContainer - - - + + + jagapen@smithlab.chem.wisc.edu + - $Revision$ - $Date$ + 1999 Free Software Foundation, Inc. - NSTextContainer + + Software documentation for the NSTextContainer class + - Gui/NSTextContainer.h - NSObject - - + AppKit/NSTextContainer.h + + containerSize @@ -59,15 +60,17 @@ lineFragmentRectForProposedRect: proposedRect sweepDirection: - sweepDirection + sweepDir movementDirection: - movementDirection + moveDir + remainingRect: + remainingRect replaceLayoutManager: - aLayoutManager + newLayoutManager diff --git a/Documentation/gsdoc/NSTextContainer.html b/Documentation/gsdoc/NSTextContainer.html index 478621cd1..2c2c0a90f 100644 --- a/Documentation/gsdoc/NSTextContainer.html +++ b/Documentation/gsdoc/NSTextContainer.html @@ -1,136 +1,127 @@ - - NSTextContainer - - -[Previous] -[Up] -[Next] -

NSTextContainer

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSTextContainer

-

NSTextContainer

-

Declared in: Gui/NSTextContainer.h

-

Inherits from: NSObject

-

Conforms to: NSObject -

-
+ + + NSTextContainer + + +

NSTextContainer

+

Authors

+
+
Jonathan Gapen( + jagapen@smithlab.chem.wisc.edu + )
+
+
+
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSTextContainer class +

+

NSTextContainer : NSObject

+ Declared: AppKit/NSTextContainer.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

containerSize

-- (NSSize) containerSize;
+

+

containerSize

+ - (NSSize) containerSize;
+

- -


-

containsPoint:

-- (BOOL) containsPoint: (NSPoint)aPoint;
+

+
+

containsPoint:

+ - (BOOL) containsPoint: (NSPoint)aPoint;
+

- -


-

heightTracksTextView

-- (BOOL) heightTracksTextView;
+

+
+

heightTracksTextView

+ - (BOOL) heightTracksTextView;
+

- -


-

initWithContainerSize:

-- (id) initWithContainerSize: (NSSize)aSize;
+

+
+

initWithContainerSize:

+ - (id) initWithContainerSize: (NSSize)aSize;
+

- -


-

isSimpleRectangularTextContainer

-- (BOOL) isSimpleRectangularTextContainer;
+

+
+

isSimpleRectangularTextContainer

+ - (BOOL) isSimpleRectangularTextContainer;
+

- -


-

layoutManager

-- (NSLayoutManager*) layoutManager;
+

+
+

layoutManager

+ - (NSLayoutManager*) layoutManager;
+

- -


-

lineFragmentPadding

-- (float) lineFragmentPadding;
+

+
+

lineFragmentPadding

+ - (float) lineFragmentPadding;
+

- -


-

lineFragmentRectForProposedRect:sweepDirection:movementDirection:

-- (NSRect) lineFragmentRectForProposedRect: (NSRect)proposedRect sweepDirection: (NSLineSweepDirection)sweepDirection movementDirection: (NSLineMovementDirection)movementDirection;
+

+
+

lineFragmentRectForProposedRect:sweepDirection:movementDirection:remainingRect:

+ - (NSRect) lineFragmentRectForProposedRect: (NSRect)proposedRect sweepDirection: (NSLineSweepDirection)sweepDir movementDirection: (NSLineMovementDirection)moveDir remainingRect: (NSRect*)remainingRect;
+

- -


-

replaceLayoutManager:

-- (void) replaceLayoutManager: (NSLayoutManager*)aLayoutManager;
+

+
+

replaceLayoutManager:

+ - (void) replaceLayoutManager: (NSLayoutManager*)newLayoutManager;
+

- -


-

setContainerSize:

-- (void) setContainerSize: (NSSize)aSize;
+

+
+

setContainerSize:

+ - (void) setContainerSize: (NSSize)aSize;
+

- -


-

setHeightTracksTextView:

-- (void) setHeightTracksTextView: (BOOL)flag;
+

+
+

setHeightTracksTextView:

+ - (void) setHeightTracksTextView: (BOOL)flag;
+

- -


-

setLayoutManager:

-- (void) setLayoutManager: (NSLayoutManager*)aLayoutManager;
+

+
+

setLayoutManager:

+ - (void) setLayoutManager: (NSLayoutManager*)aLayoutManager;
+

- -


-

setLineFragmentPadding:

-- (void) setLineFragmentPadding: (float)aFloat;
+

+
+

setLineFragmentPadding:

+ - (void) setLineFragmentPadding: (float)aFloat;
+

- -


-

setTextView:

-- (void) setTextView: (NSTextView*)aTextView;
+

+
+

setTextView:

+ - (void) setTextView: (NSTextView*)aTextView;
+

- -


-

setWidthTracksTextView:

-- (void) setWidthTracksTextView: (BOOL)flag;
+

+
+

setWidthTracksTextView:

+ - (void) setWidthTracksTextView: (BOOL)flag;
+

- -


-

textView

-- (NSTextView*) textView;
+

+
+

textView

+ - (NSTextView*) textView;
+

- -


-

widthTracksTextView

-- (BOOL) widthTracksTextView;
+

+
+

widthTracksTextView

+ - (BOOL) widthTracksTextView;
+

- -


- - - +

+
+ + diff --git a/Documentation/gsdoc/NSTextField.gsdoc b/Documentation/gsdoc/NSTextField.gsdoc index ce24a6692..ab8241353 100644 --- a/Documentation/gsdoc/NSTextField.gsdoc +++ b/Documentation/gsdoc/NSTextField.gsdoc @@ -1,23 +1,37 @@ - - + + NSTextField - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + far@ix.netcom.com + + + + + n.pero@mi.flashnet.it + + + + Text field control class for text entry + + 1996 Free Software Foundation, Inc. - NSTextField + + Software documentation for the NSTextField class + - Gui/NSTextField.h - NSCoding - - + AppKit/NSTextField.h + + acceptsFirstResponder @@ -143,6 +157,12 @@ + + setNextText: + anObject + + + setPreviousText: anObject @@ -198,7 +218,7 @@ textShouldEndEditing: - textObject + aTextObject diff --git a/Documentation/gsdoc/NSTextField.html b/Documentation/gsdoc/NSTextField.html index 0df5ba416..5819469f3 100644 --- a/Documentation/gsdoc/NSTextField.html +++ b/Documentation/gsdoc/NSTextField.html @@ -1,232 +1,243 @@ - - NSTextField - - -[Previous] -[Up] -[Next] -

NSTextField

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSTextField

-

NSTextField

-

Declared in: Gui/NSTextField.h

-

Inherits from: NSControl

-

Conforms to: NSCoding -

-
+ + + NSTextField + + +

NSTextField

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
Nicola Pero( + n.pero@mi.flashnet.it + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

acceptsFirstResponder

-- (BOOL) acceptsFirstResponder;
+ Text field control class for text entry +
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSTextField class +

+

NSTextField : NSControl

+ Declared: AppKit/NSTextField.h
+

- -


-

allowsEditingTextAttributes

-- (BOOL) allowsEditingTextAttributes;
+

+

acceptsFirstResponder

+ - (BOOL) acceptsFirstResponder;
+

- -


-

backgroundColor

-- (NSColor*) backgroundColor;
+

+
+

allowsEditingTextAttributes

+ - (BOOL) allowsEditingTextAttributes;
+

- -


-

delegate

-- (id) delegate;
+

+
+

backgroundColor

+ - (NSColor*) backgroundColor;
+

- -


-

drawsBackground

-- (BOOL) drawsBackground;
+

+
+

delegate

+ - (id) delegate;
+

- -


-

errorAction

-- (SEL) errorAction;
+

+
+

drawsBackground

+ - (BOOL) drawsBackground;
+

- -


-

importsGraphics

-- (BOOL) importsGraphics;
+

+
+

errorAction

+ - (SEL) errorAction;
+

- -


-

isBezeled

-- (BOOL) isBezeled;
+

+
+

importsGraphics

+ - (BOOL) importsGraphics;
+

- -


-

isBordered

-- (BOOL) isBordered;
+

+
+

isBezeled

+ - (BOOL) isBezeled;
+

- -


-

isEditable

-- (BOOL) isEditable;
+

+
+

isBordered

+ - (BOOL) isBordered;
+

- -


-

isSelectable

-- (BOOL) isSelectable;
+

+
+

isEditable

+ - (BOOL) isEditable;
+

- -


-

nextText

-- (id) nextText;
+

+
+

isSelectable

+ - (BOOL) isSelectable;
+

- -


-

previousText

-- (id) previousText;
+

+
+

nextText

+ - (id) nextText;
+

- -


-

selectText:

-- (void) selectText: (id)sender;
+

+
+

previousText

+ - (id) previousText;
+

- -


-

setAllowsEditingTextAttributes:

-- (void) setAllowsEditingTextAttributes: (BOOL)flag;
+

+
+

selectText:

+ - (void) selectText: (id)sender;
+

- -


-

setBackgroundColor:

-- (void) setBackgroundColor: (NSColor*)aColor;
+

+
+

setAllowsEditingTextAttributes:

+ - (void) setAllowsEditingTextAttributes: (BOOL)flag;
+

- -


-

setBezeled:

-- (void) setBezeled: (BOOL)flag;
+

+
+

setBackgroundColor:

+ - (void) setBackgroundColor: (NSColor*)aColor;
+

- -


-

setBordered:

-- (void) setBordered: (BOOL)flag;
+

+
+

setBezeled:

+ - (void) setBezeled: (BOOL)flag;
+

- -


-

setDelegate:

-- (void) setDelegate: (id)anObject;
+

+
+

setBordered:

+ - (void) setBordered: (BOOL)flag;
+

- -


-

setDrawsBackground:

-- (void) setDrawsBackground: (BOOL)flag;
+

+
+

setDelegate:

+ - (void) setDelegate: (id)anObject;
+

- -


-

setEditable:

-- (void) setEditable: (BOOL)flag;
+

+
+

setDrawsBackground:

+ - (void) setDrawsBackground: (BOOL)flag;
+

- -


-

setErrorAction:

-- (void) setErrorAction: (SEL)aSelector;
+

+
+

setEditable:

+ - (void) setEditable: (BOOL)flag;
+

- -


-

setImportsGraphics:

-- (void) setImportsGraphics: (BOOL)flag;
+

+
+

setErrorAction:

+ - (void) setErrorAction: (SEL)aSelector;
+

- -


-

setPreviousText:

-- (void) setPreviousText: (id)anObject;
+

+
+

setImportsGraphics:

+ - (void) setImportsGraphics: (BOOL)flag;
+

- -


-

setSelectable:

-- (void) setSelectable: (BOOL)flag;
+

+
+

setNextText:

+ - (void) setNextText: (id)anObject;
+

- -


-

setTextColor:

-- (void) setTextColor: (NSColor*)aColor;
+

+
+

setPreviousText:

+ - (void) setPreviousText: (id)anObject;
+

- -


-

setTitleWithMnemonic:

-- (void) setTitleWithMnemonic: (NSString*)aString;
+

+
+

setSelectable:

+ - (void) setSelectable: (BOOL)flag;
+

- -


-

textColor

-- (NSColor*) textColor;
+

+
+

setTextColor:

+ - (void) setTextColor: (NSColor*)aColor;
+

- -


-

textDidBeginEditing:

-- (void) textDidBeginEditing: (NSNotification*)aNotification;
+

+
+

setTitleWithMnemonic:

+ - (void) setTitleWithMnemonic: (NSString*)aString;
+

- -


-

textDidChange:

-- (void) textDidChange: (NSNotification*)aNotification;
+

+
+

textColor

+ - (NSColor*) textColor;
+

- -


-

textDidEndEditing:

-- (void) textDidEndEditing: (NSNotification*)aNotification;
+

+
+

textDidBeginEditing:

+ - (void) textDidBeginEditing: (NSNotification*)aNotification;
+

- -


-

textShouldBeginEditing:

-- (BOOL) textShouldBeginEditing: (NSText*)textObject;
+

+
+

textDidChange:

+ - (void) textDidChange: (NSNotification*)aNotification;
+

- -


-

textShouldEndEditing:

-- (BOOL) textShouldEndEditing: (NSText*)textObject;
+

+
+

textDidEndEditing:

+ - (void) textDidEndEditing: (NSNotification*)aNotification;
+

- -


- - - +

+
+

textShouldBeginEditing:

+ - (BOOL) textShouldBeginEditing: (NSText*)textObject;
+

+ +

+
+

textShouldEndEditing:

+ - (BOOL) textShouldEndEditing: (NSText*)aTextObject;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSTextFieldCell.gsdoc b/Documentation/gsdoc/NSTextFieldCell.gsdoc index 856eacb78..3f048b847 100644 --- a/Documentation/gsdoc/NSTextFieldCell.gsdoc +++ b/Documentation/gsdoc/NSTextFieldCell.gsdoc @@ -1,23 +1,33 @@ - - + + NSTextFieldCell - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + n.pero@mi.flashnet.it + + + + Cell class for the text field entry control + + 1996 Free Software Foundation, Inc. - NSTextFieldCell + + Software documentation for the NSTextFieldCell class + - Gui/NSTextFieldCell.h + AppKit/NSTextFieldCell.h NSCoding - - + + backgroundColor @@ -28,6 +38,18 @@ + + encodeWithCoder: + aCoder + + + + + initWithCoder: + aDecoder + + + setBackgroundColor: aColor @@ -46,9 +68,9 @@ - + setUpFieldEditorAttributes: - textObj + textObject diff --git a/Documentation/gsdoc/NSTextFieldCell.html b/Documentation/gsdoc/NSTextFieldCell.html index ab2c9c17b..daa97fcf0 100644 --- a/Documentation/gsdoc/NSTextFieldCell.html +++ b/Documentation/gsdoc/NSTextFieldCell.html @@ -1,76 +1,89 @@ - - NSTextFieldCell - - -[Previous] -[Up] -[Next] -

NSTextFieldCell

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSTextFieldCell

-

NSTextFieldCell

-

Declared in: Gui/NSTextFieldCell.h

-

Inherits from: NSActionCell

-

Conforms to: NSCoding -

-
+ + + NSTextFieldCell + + +

NSTextFieldCell

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Nicola Pero( + n.pero@mi.flashnet.it + )
+
+
+
+
- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

backgroundColor

-- (NSColor*) backgroundColor;
+ Cell class for the text field entry control +
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

+ Software documentation for the NSTextFieldCell class +

+

NSTextFieldCell : NSActionCell

+ Declared: AppKit/NSTextFieldCell.h
+ Conform: NSCoding
+

- -


-

drawsBackground

-- (BOOL) drawsBackground;
+

+

backgroundColor

+ - (NSColor*) backgroundColor;
+

- -


-

setBackgroundColor:

-- (void) setBackgroundColor: (NSColor*)aColor;
+

+
+

drawsBackground

+ - (BOOL) drawsBackground;
+

- -


-

setDrawsBackground:

-- (void) setDrawsBackground: (BOOL)flag;
+

+
+

encodeWithCoder:

+ - (void) encodeWithCoder: (NSCoder*)aCoder;
+

- -


-

setTextColor:

-- (void) setTextColor: (NSColor*)aColor;
+

+
+

initWithCoder:

+ - (id) initWithCoder: (NSCoder*)aDecoder;
+

- -


-

setUpFieldEditorAttributes:

-- (NSText*) setUpFieldEditorAttributes: (NSText*)textObj;
+

+
+

setBackgroundColor:

+ - (void) setBackgroundColor: (NSColor*)aColor;
+

- -


-

textColor

-- (NSColor*) textColor;
+

+
+

setDrawsBackground:

+ - (void) setDrawsBackground: (BOOL)flag;
+

- -


- - - +

+
+

setTextColor:

+ - (void) setTextColor: (NSColor*)aColor;
+

+ +

+
+

setUpFieldEditorAttributes:

+ - (id) setUpFieldEditorAttributes: (NSText*)textObject;
+

+ +

+
+

textColor

+ - (NSColor*) textColor;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSTextStorage.gsdoc b/Documentation/gsdoc/NSTextStorage.gsdoc index 0d8666319..4ea341d96 100644 --- a/Documentation/gsdoc/NSTextStorage.gsdoc +++ b/Documentation/gsdoc/NSTextStorage.gsdoc @@ -1,26 +1,32 @@ - - + + NSTextStorage - - + + richard@brainstorm.co.uk + - $Revision$ - $Date$ + 1999 Free Software Foundation, Inc. - NSTextStorage + + Software documentation for the NSTextStorage class + - Gui/NSTextStorage.h - NSCopying - - + AppKit/NSTextStorage.h + + addLayoutManager: - aLayoutManager + obj + + + + + beginEditing @@ -36,15 +42,15 @@
edited: - mask + mask range: - oldRange + old changeInLength: - lengthChange + delta - + editedMask @@ -59,6 +65,23 @@ + + ensureAttributesAreFixedInRange: + range + + + + + fixesAttributesLazily + + + + + invalidateAttributesInRange: + range + + + layoutManagers @@ -71,29 +94,41 @@ removeLayoutManager: - aLayoutManager + obj setDelegate: - anObject - - - - - textStorageDidProcessEditing: - aNotification - - - - - textStorageWillProcessEditing: - aNotification + delegate
+ + + Software documentation for the + NSObject(NSTextStorageDelegate) + category + + + AppKit/NSTextStorage.h + + + + textStorageDidProcessEditing: + notification + + + + + textStorageWillProcessEditing: + notification + + + + +
diff --git a/Documentation/gsdoc/NSTextStorage.html b/Documentation/gsdoc/NSTextStorage.html index 0697bcd75..0162a0639 100644 --- a/Documentation/gsdoc/NSTextStorage.html +++ b/Documentation/gsdoc/NSTextStorage.html @@ -1,112 +1,137 @@ - - NSTextStorage - - -[Previous] -[Up] -[Next] -

NSTextStorage

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSTextStorage

-

NSTextStorage

-

Declared in: Gui/NSTextStorage.h

-

Inherits from: NSMutableAttributedString

-

Conforms to: NSCopying -

-
+ + + NSTextStorage + + +

NSTextStorage

+

Authors

+
+
Richard Frith-Macdonald( + richard@brainstorm.co.uk + )
+
+
+
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+

+ Software documentation for the NSTextStorage class +

+

NSTextStorage : NSMutableAttributedString

+ Declared: AppKit/NSTextStorage.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

addLayoutManager:

-- (void) addLayoutManager: (NSLayoutManager*)aLayoutManager;
+

+

addLayoutManager:

+ - (void) addLayoutManager: (NSLayoutManager*)obj;
+

- -


-

changeInLength

-- (int) changeInLength;
+

+
+

beginEditing

+ - (void) beginEditing;
+

- -


-

delegate

-- (id) delegate;
+

+
+

changeInLength

+ - (int) changeInLength;
+

- -


-

edited:range:changeInLength:

-- (void) edited: (unsigned int)mask range: (NSRange)oldRange changeInLength: (int)lengthChange;
+

+
+

delegate

+ - (id) delegate;
+

- -


-

editedMask

-- (unsigned int) editedMask;
+

+
+

edited:range:changeInLength:

+ - (void) edited: (unsigned)mask range: (NSRange)old changeInLength: (int)delta;
+

- -


-

editedRange

-- (NSRange) editedRange;
+

+
+

editedMask

+ - (unsigned) editedMask;
+

- -


-

endEditing

-- (void) endEditing;
+

+
+

editedRange

+ - (NSRange) editedRange;
+

- -


-

layoutManagers

-- (NSArray*) layoutManagers;
+

+
+

endEditing

+ - (void) endEditing;
+

- -


-

processEditing

-- (void) processEditing;
+

+
+

ensureAttributesAreFixedInRange:

+ - (void) ensureAttributesAreFixedInRange: (NSRange)range;
+

- -


-

removeLayoutManager:

-- (void) removeLayoutManager: (NSLayoutManager*)aLayoutManager;
+

+
+

fixesAttributesLazily

+ - (BOOL) fixesAttributesLazily;
+

- -


-

setDelegate:

-- (void) setDelegate: (id)anObject;
+

+
+

invalidateAttributesInRange:

+ - (void) invalidateAttributesInRange: (NSRange)range;
+

- -


-

textStorageDidProcessEditing:

-- (void) textStorageDidProcessEditing: (NSNotification*)aNotification;
+

+
+

layoutManagers

+ - (NSArray*) layoutManagers;
+

- -


-

textStorageWillProcessEditing:

-- (void) textStorageWillProcessEditing: (NSNotification*)aNotification;
+

+
+

processEditing

+ - (void) processEditing;
+

- -


- - - +

+
+

removeLayoutManager:

+ - (void) removeLayoutManager: (NSLayoutManager*)obj;
+

+ +

+
+

setDelegate:

+ - (void) setDelegate: (id)delegate;
+

+ +

+
+

+ Software documentation for the + NSObject(NSTextStorageDelegate) + category +

+

NSObject(NSTextStorageDelegate)

+ Declared: AppKit/NSTextStorage.h
+

+ +

+

textStorageDidProcessEditing:

+ - (void) textStorageDidProcessEditing: (NSNotification*)notification;
+

+ +

+
+

textStorageWillProcessEditing:

+ - (void) textStorageWillProcessEditing: (NSNotification*)notification;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSTextView.gsdoc b/Documentation/gsdoc/NSTextView.gsdoc index 95ebdbabb..3698fa247 100644 --- a/Documentation/gsdoc/NSTextView.gsdoc +++ b/Documentation/gsdoc/NSTextView.gsdoc @@ -1,23 +1,45 @@ - - + + NSTextView - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + + + far@ix.netcom.com + + + + + boehring@biomed.ruhr-uni-bochum.de + + + + + FredKiefer@gmx.de + + + + + n.pero@mi.flashnet.it + + + 1996, 1998, 2000 Free Software Foundation, Inc. - NSTextView + + Software documentation for the NSTextView class + - Gui/NSTextView.h + AppKit/NSTextView.h NSTextInput - - + + registerForServices @@ -34,21 +56,6 @@ - - allowsUndo; - - - - - backgroundColor - - - - - becomeFirstResponder - - - changeColor: sender @@ -60,62 +67,42 @@ - - clickedOnLink: - link - atIndex: - charIndex - - - - - delegate - - - - - didChangeText + + dragImageForSelectionWithEvent: + event + origin: + origin dragOperationForDraggingInfo: dragInfo + type: + type + + + + + dragSelectionWithEvent: + event + offset: + mouseOffset + slideBack: + slideBack drawInsertionPointInRect: - aRect + rect color: - aColor + color turnedOn: flag - - drawsBackground - - - - - encodeWithCoder: - encoder - - - - - importsGraphics - - - - - initWithCoder: - decoder - - - initWithFrame: frameRect @@ -132,12 +119,7 @@ insertText: - aString - - - - - insertionPointColor + insertString @@ -146,31 +128,6 @@ - - isEditable - - - - - isFieldEditor - - - - - isRichText - - - - - isRulerVisible - - - - - isSelectable - - - layoutManager @@ -188,16 +145,6 @@ - - markedRange - - - - - markedTextAttributes - - - pasteAsPlainText: sender @@ -224,39 +171,36 @@ + + readSelectionFromPasteboard: + pboard + + + + + readSelectionFromPasteboard: + pboard + type: + type + + + readablePasteboardTypes - - readSelectionFromPasteboard: - pboard - - - - - readSelectionFromPasteboard: - pboard - - - replaceTextContainer: aTextContainer - - resignFirstResponder - - - rulerView: - aRulerView + ruler didAddMarker: - aMarker + marker @@ -328,6 +272,425 @@ + + selectionRangeForProposedRange: + proposedCharRange + granularity: + granul + + + + + setAlignment: + alignment + range: + aRange + + + + + setConstrainedFrameSize: + desiredSize + + + + + setNeedsDisplayInRect: + aRect + avoidAdditionalLayout: + flag + + + + + setRulerVisible: + flag + + + + + setTextContainer: + aTextContainer + + + + + setTextContainerInset: + inset + + + + + shouldDrawInsertionPoint + + + + + textContainer + + + + + textContainerInset + + + + + textContainerOrigin + + + + + textStorage + + + + + tightenKerning: + sender + + + + + toggleTraditionalCharacterShape: + sender + + + + + turnOffKerning: + sender + + + + + turnOffLigatures: + sender + + + + + updateDragTypeRegistration + + + + + updateFontPanel + + + + + updateRuler + + + + + useAllLigatures: + sender + + + + + useStandardKerning: + sender + + + + + useStandardLigatures: + sender + + + + + writablePasteboardTypes + + + + + writeSelectionToPasteboard: + pboard + type: + type + + + + + writeSelectionToPasteboard: + pboard + types: + types + + + + + + + + Software documentation for the + NSObject(NSTextViewDelegate) + category + + + AppKit/NSTextView.h + + + + textView: + textView + clickedOnCell: + cell + inRect: + cellFrame + + + + + textView: + textView + clickedOnCell: + cell + inRect: + cellFrame + atIndex: + charIndex + + + + + textView: + textView + clickedOnLink: + link + + + + + textView: + textView + clickedOnLink: + link + atIndex: + charIndex + + + + + textView: + textView + doCommandBySelector: + commandSelector + + + + + textView: + textView + doubleClickedOnCell: + cell + inRect: + cellFrame + + + + + textView: + textView + doubleClickedOnCell: + cell + inRect: + cellFrame + atIndex: + charIndex + + + + + textView: + view + draggedCell: + cell + inRect: + rect + event: + event + + + + + textView: + view + draggedCell: + cell + inRect: + rect + event: + event + atIndex: + charIndex + + + + + textView: + textView + shouldChangeTextInRange: + affectedCharRange + replacementString: + replacementString + + + + + textView: + textView + willChangeSelectionFromCharacterRange: + oldSelectedCharRange + toCharacterRange: + newSelectedCharRange + + + + + textViewDidChangeSelection: + notification + + + + + undoManagerForTextView: + view + + + + + + + + Software documentation for the + NSTextView(GSTextViewUpdateMultipleViews) + category + + + AppKit/NSTextView.h + + + + _updateMultipleTextViews + + + + + + + + Software documentation for the NSTextView(NSSharing) + category + + + AppKit/NSTextView.h + + + + allowsUndo + + + + + backgroundColor + + + + + becomeFirstResponder + + + + + delegate + + + + + didChangeText + + + + + drawsBackground + + + + + importsGraphics + + + + + insertionPointColor + + + + + isContinuousSpellCheckingEnabled + + + + + isEditable + + + + + isFieldEditor + + + + + isRichText + + + + + isRulerVisible + + + + + isSelectable + + + + + markedRange + + + + + markedTextAttributes + + + + + rangeForUserCharacterAttributeChange + + + + + rangeForUserParagraphAttributeChange + + + + + rangeForUserTextChange + + + + + resignFirstResponder + + + selectedRange @@ -348,33 +711,21 @@ - - selectionRangeForProposedRange: - proposedSelRange - - - setAllowsUndo: flag - - setAlignment: - alignment - - - setBackgroundColor: - aColor + color - setConstrainedFrameSize: - desiredSize + setContinuousSpellCheckingEnabled: + flag @@ -410,21 +761,13 @@ setInsertionPointColor: - aColor + color setMarkedTextAttributes: - attributes - - - - - setNeedsDisplayInRect: - aRect - avoidAdditionalLayout: - flag + attributeDictionary @@ -458,13 +801,13 @@ affinity: affinity stillSelecting: - flag + stillSelectingFlag setSelectedTextAttributes: - attributes + attributeDictionary @@ -480,15 +823,9 @@ - - setTextContainerInset: - inset - - - setTypingAttributes: - attributes + attrs @@ -507,11 +844,8 @@ shouldChangeTextInRange: affectedCharRange - - - - - shouldDrawInsertionPoint + replacementString: + replacementString @@ -521,19 +855,20 @@ - - smartInsertAfterStringForString: - aString - replacingRange: - charRange + + smartInsertDeleteEnabled - - smartInsertBeforeStringForString: + + smartInsertForString: aString replacingRange: charRange + beforeString: + beforeString + afterString: + afterString @@ -542,40 +877,8 @@ - - textContainer - - - - - textContainerInset - - - - - textContainerOrigin - - - - - textStorage - - - - tightenKerning: - sender - - - - - turnOffKerning: - sender - - - - - turnOffLigatures: + toggleContinuousSpellChecking: sender @@ -585,30 +888,9 @@ - - updateDragTypeRegistration - - - - - updateFontPanel - - - updateInsertionPointStateAndRestartTimer: - flag - - - - - updateRuler - - - - - useAllLigatures: - sender + restartFlag @@ -622,18 +904,6 @@ - - useStandardKerning: - sender - - - - - useStandardLigatures: - sender - - - validRequestorForSendType: sendType @@ -642,140 +912,7 @@ - - writablePasteboardTypes - - - - - writeSelectionToPasteboard: - pboard - - - - - writeSelectionToPasteboard: - pboard - - - - - textView: - aTextView - clickedOnCell: - attachmentCell - - - - - textView: - textView - clickedOnCell: - cell - inRect: - cellFrame - - - - - textView: - textView - clickedOnLink: - link - - - - - textView: - textView - clickedOnLink: - link - atIndex: - charIndex - - - - - textView: - aTextView - doCommandBySelector: - aSelector - - - - - textView: - aTextView - doubleClickedOnCell: - attachmentCell - - - - - textView: - textView - doubleClickedOnCell: - cell - inRect: - cellFrame - - - - - textView: - aTextView - draggedCell: - attachmentCell - inRect: - aRect - event: - theEvent - - - - - textView: - view - draggedCell: - cell - inRect: - rect - event: - event - atIndex: - charIndex - - - - - textView: - aTextView - shouldChangeTextInRange: - affectedCharRange - - - - - textView: - aTextView - willChangeSelectionFromCharacterRange: - oldSelectedCharRange - - - - - textViewDidChangeSelection: - aNotification - - - - - undoManagerForTextView: - view - - - -
+
diff --git a/Documentation/gsdoc/NSTextView.html b/Documentation/gsdoc/NSTextView.html index d1f737b35..b1d26f5d3 100644 --- a/Documentation/gsdoc/NSTextView.html +++ b/Documentation/gsdoc/NSTextView.html @@ -1,749 +1,843 @@ - - NSTextView - - -[Previous] -[Up] -[Next] -

NSTextView

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSTextView

-

NSTextView

-

Declared in: Gui/NSTextView.h

-

Inherits from: NSText

-

Conforms to: NSTextInput -

-
- - -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

registerForServices

-+ (void) registerForServices;
- - -
-

Instances Methods

-

acceptableDragTypes

-- (NSArray*) acceptableDragTypes;
- - -
-

alignJustified:

-- (void) alignJustified: (id)sender;
- - -
-

allowsUndo;

-- (BOOL) allowsUndo;;
- - -
-

backgroundColor

-- (NSColor*) backgroundColor;
- - -
-

becomeFirstResponder

-- (BOOL) becomeFirstResponder;
- - -
-

changeColor:

-- (void) changeColor: (id)sender;
- - -
-

cleanUpAfterDragOperation

-- (void) cleanUpAfterDragOperation;
- - -
-

clickedOnLink:atIndex:

-- (void) clickedOnLink: (id)link atIndex: (unsigned int)charIndex;
- - -
-

delegate

-- (id) delegate;
- - -
-

didChangeText

-- (void) didChangeText;
- - -
-

dragOperationForDraggingInfo:

-- (unsigned int) dragOperationForDraggingInfo: (id<NSDraggingInfo>)dragInfo;
- - -
-

drawInsertionPointInRect:color:turnedOn:

-- (void) drawInsertionPointInRect: (NSRect)aRect color: (NSColor *)aColor turnedOn: (BOOL)flag;
- - -
-

drawsBackground

-- (BOOL) drawsBackground;
- - -
-

encodeWithCoder:

-- (void) encodeWithCoder: (NSCoder*)encoder;
- - -
-

importsGraphics

-- (BOOL) importsGraphics;
- - -
-

initWithCoder:

-- (id) initWithCoder: (NSCoder*)decoder;
- - -
-

initWithFrame:

-- (id) initWithFrame: (NSRect)frameRect;
- - -
-

initWithFrame:textContainer:

-- (id) initWithFrame: (NSRect)frameRect textContainer: (NSTextContainer*)aTextContainer;
- - -
-

insertText:

-- (void) insertText: (NSString*)aString;
- - -
-

insertionPointColor

-- (NSColor*) insertionPointColor;
- - -
-

invalidateTextContainerOrigin

-- (void) invalidateTextContainerOrigin;
- - -
-

isEditable

-- (BOOL) isEditable;
- - -
-

isFieldEditor

-- (BOOL) isFieldEditor;
- - -
-

isRichText

-- (BOOL) isRichText;
- - -
-

isRulerVisible

-- (BOOL) isRulerVisible;
- - -
-

isSelectable

-- (BOOL) isSelectable;
- - -
-

layoutManager

-- (NSLayoutManager*) layoutManager;
- - -
-

loosenKerning:

-- (void) loosenKerning: (id)sender;
- - -
-

lowerBaseline:

-- (void) lowerBaseline: (id)sender;
- - -
-

markedRange

-- (NSRange) markedRange;
- - -
-

markedTextAttributes

-- (NSDictionary*) markedTextAttributes;
- - -
-

pasteAsPlainText:

-- (void) pasteAsPlainText: (id)sender;
- - -
-

pasteAsRichText:

-- (void) pasteAsRichText: (id)sender;
- - -
-

preferredPasteboardTypeFromArray:restrictedToTypesFromArray:

-- (NSString*) preferredPasteboardTypeFromArray: (NSArray*)availableTypes restrictedToTypesFromArray: (NSArray*)allowedTypes;
- - -
-

raiseBaseline:

-- (void) raiseBaseline: (id)sender;
- - -
-

readablePasteboardTypes

-- (NSArray*) readablePasteboardTypes;
- - -
-

readSelectionFromPasteboard:

-- (BOOL) readSelectionFromPasteboard: (NSPasteboard*)pboard;
- - -
-

readSelectionFromPasteboard:

-- (BOOL) readSelectionFromPasteboard: (NSPasteboard*)pboard;
- - -
-

replaceTextContainer:

-- (void) replaceTextContainer: (NSTextContainer*)aTextContainer;
- - -
-

resignFirstResponder

-- (BOOL) resignFirstResponder;
- - -
-

rulerView:didAddMarker:

-- (void) rulerView: (NSRulerView*)aRulerView didAddMarker: (NSRulerMarker*)aMarker;
- - -
-

rulerView:didMoveMarker:

-- (void) rulerView: (NSRulerView*)aRulerView didMoveMarker: (NSRulerMarker*)aMarker;
- - -
-

rulerView:didRemoveMarker:

-- (void) rulerView: (NSRulerView*)aRulerView didRemoveMarker: (NSRulerMarker*)aMarker;
- - -
-

rulerView:handleMouseDown:

-- (void) rulerView: (NSRulerView*)aRulerView handleMouseDown: (NSEvent*)theEvent;
- - -
-

rulerView:shouldAddMarker:

-- (BOOL) rulerView: (NSRulerView*)aRulerView shouldAddMarker: (NSRulerMarker*)aMarker;
- - -
-

rulerView:shouldMoveMarker:

-- (BOOL) rulerView: (NSRulerView*)aRulerView shouldMoveMarker: (NSRulerMarker*)aMarker;
- - -
-

rulerView:shouldRemoveMarker:

-- (BOOL) rulerView: (NSRulerView*)aRulerView shouldRemoveMarker: (NSRulerMarker*)aMarker;
- - -
-

rulerView:willAddMarker:atLocation:

-- (float) rulerView: (NSRulerView*)aRulerView willAddMarker: (NSRulerMarker*)aMarker atLocation: (float)location;
- - -
-

rulerView:willMoveMarker:toLocation:

-- (float) rulerView: (NSRulerView*)aRulerView willMoveMarker: (NSRulerMarker*)aMarker toLocation: (float)location;
- - -
-

selectedRange

-- (NSRange) selectedRange;
- - -
-

selectedTextAttributes

-- (NSDictionary*) selectedTextAttributes;
- - -
-

selectionAffinity

-- (NSSelectionAffinity) selectionAffinity;
- - -
-

selectionGranularity

-- (NSSelectionGranularity) selectionGranularity;
- - -
-

selectionRangeForProposedRange:

-- (NSRange) selectionRangeForProposedRange: (NSRange)proposedSelRange;
- - -
-

setAllowsUndo:

-- (void) setAllowsUndo: (BOOL)flag;
- - -
-

setAlignment:

-- (void) setAlignment: (NSTextAlignment)alignment;
- - -
-

setBackgroundColor:

-- (void) setBackgroundColor: (NSColor*)aColor;
- - -
-

setConstrainedFrameSize:

-- (void) setConstrainedFrameSize: (NSSize)desiredSize;
- - -
-

setDelegate:

-- (void) setDelegate: (id)anObject;
- - -
-

setDrawsBackground:

-- (void) setDrawsBackground: (BOOL)flag;
- - -
-

setEditable:

-- (void) setEditable: (BOOL)flag;
- - -
-

setFieldEditor:

-- (void) setFieldEditor: (BOOL)flag;
- - -
-

setImportsGraphics:

-- (void) setImportsGraphics: (BOOL)flag;
- - -
-

setInsertionPointColor:

-- (void) setInsertionPointColor: (NSColor*)aColor;
- - -
-

setMarkedTextAttributes:

-- (void) setMarkedTextAttributes: (NSDictionary*)attributes;
- - -
-

setNeedsDisplayInRect:avoidAdditionalLayout:

-- (void) setNeedsDisplayInRect: (NSRect)aRect avoidAdditionalLayout: (BOOL)flag;
- - -
-

setRichText:

-- (void) setRichText: (BOOL)flag;
- - -
-

setRulerVisible:

-- (void) setRulerVisible: (BOOL)flag;
- - -
-

setSelectable:

-- (void) setSelectable: (BOOL)flag;
- - -
-

setSelectedRange:

-- (void) setSelectedRange: (NSRange)charRange;
- - -
-

setSelectedRange:affinity:stillSelecting:

-- (void) setSelectedRange: (NSRange)charRange affinity: (NSSelectionAffinity)affinity stillSelecting: (BOOL)flag;
- - -
-

setSelectedTextAttributes:

-- (void) setSelectedTextAttributes: (NSDictionary*)attributes;
- - -
-

setSelectionGranularity:

-- (void) setSelectionGranularity: (NSSelectionGranularity)granularity;
- - -
-

setSmartInsertDeleteEnabled:

-- (void) setSmartInsertDeleteEnabled: (BOOL)flag;
- - -
-

setTextContainerInset:

-- (void) setTextContainerInset: (NSSize)inset;
- - -
-

setTypingAttributes:

-- (void) setTypingAttributes: (NSDictionary*)attributes;
- - -
-

setUsesFontPanel:

-- (void) setUsesFontPanel: (BOOL)flag;
- - -
-

setUsesRuler:

-- (void) setUsesRuler: (BOOL)flag;
- - -
-

shouldChangeTextInRange:

-- (BOOL) shouldChangeTextInRange: (NSRange)affectedCharRange;
- - -
-

shouldDrawInsertionPoint

-- (BOOL) shouldDrawInsertionPoint;
- - -
-

smartDeleteRangeForProposedRange:

-- (NSRange) smartDeleteRangeForProposedRange: (NSRange)proposedCharRange;
- - -
-

smartInsertAfterStringForString:replacingRange:

-- (NSString*) smartInsertAfterStringForString: (NSString*)aString replacingRange: (NSRange)charRange;
- - -
-

smartInsertBeforeStringForString:replacingRange:

-- (NSString*) smartInsertBeforeStringForString: (NSString*)aString replacingRange: (NSRange)charRange;
- - -
-

spellCheckerDocumentTag

-- (int) spellCheckerDocumentTag;
- - -
-

textContainer

-- (NSTextContainer*) textContainer;
- - -
-

textContainerInset

-- (NSSize) textContainerInset;
- - -
-

textContainerOrigin

-- (NSPoint) textContainerOrigin;
- - -
-

textStorage

-- (NSTextStorage*) textStorage;
- - -
-

tightenKerning:

-- (void) tightenKerning: (id)sender;
- - -
-

turnOffKerning:

-- (void) turnOffKerning: (id)sender;
- - -
-

turnOffLigatures:

-- (void) turnOffLigatures: (id)sender;
- - -
-

typingAttributes

-- (NSDictionary*) typingAttributes;
- - -
-

updateDragTypeRegistration

-- (void) updateDragTypeRegistration;
- - -
-

updateFontPanel

-- (void) updateFontPanel;
- - -
-

updateInsertionPointStateAndRestartTimer:

-- (void) updateInsertionPointStateAndRestartTimer: (BOOL)flag;
- - -
-

updateRuler

-- (void) updateRuler;
- - -
-

useAllLigatures:

-- (void) useAllLigatures: (id)sender;
- - -
-

usesFontPanel

-- (BOOL) usesFontPanel;
- - -
-

usesRuler

-- (BOOL) usesRuler;
- - -
-

useStandardKerning:

-- (void) useStandardKerning: (id)sender;
- - -
-

useStandardLigatures:

-- (void) useStandardLigatures: (id)sender;
- - -
-

validRequestorForSendType:returnType:

-- (id) validRequestorForSendType: (NSString*)sendType returnType: (NSString*)returnType;
- - -
-

writablePasteboardTypes

-- (NSArray*) writablePasteboardTypes;
- - -
-

writeSelectionToPasteboard:

-- (BOOL) writeSelectionToPasteboard: (NSPasteboard*)pboard;
- - -
-

writeSelectionToPasteboard:

-- (BOOL) writeSelectionToPasteboard: (NSPasteboard*)pboard;
- - -
-

textView:clickedOnCell:

-- (void) textView: (NSTextView*)aTextView clickedOnCell: (id<NSTextAttachmentCell>)attachmentCell;
- - -
-

textView:clickedOnCell:inRect:

-- (void) textView: (NSTextView*)textView clickedOnCell: (id<NSTextAttachmentCell>)cell inRect: (NSRect)cellFrame;
- - -
-

textView:clickedOnLink:

-- (BOOL) textView: (NSTextView*)textView clickedOnLink: (id)link;
- - -
-

textView:clickedOnLink:atIndex:

-- (BOOL) textView: (NSTextView*)textView clickedOnLink: (id)link atIndex: (unsigned int)charIndex;
- - -
-

textView:doCommandBySelector:

-- (BOOL) textView: (NSTextView*)aTextView doCommandBySelector: (SEL)aSelector;
- - -
-

textView:doubleClickedOnCell:

-- (void) textView: (NSTextView*)aTextView doubleClickedOnCell: (id<NSTextAttachmentCell>)attachmentCell;
- - -
-

textView:doubleClickedOnCell:inRect:

-- (void) textView: (NSTextView*)textView doubleClickedOnCell: (id<NSTextAttachmentCell>)cell inRect: (NSRect)cellFrame;
- - -
-

textView:draggedCell:inRect:event:

-- (void) textView: (NSTextView*)aTextView draggedCell: (id<NSTextAttachmentCell>)attachmentCell inRect: (NSRect)aRect event: (NSEvent*)theEvent;
- - -
-

textView:draggedCell:inRect:event:atIndex:

-- (void) textView: (NSTextView*)view draggedCell: (id<NSTextAttachmentCell>)cell inRect: (NSRect)rect event: (NSEvent*)event atIndex: (unsigned int)charIndex;
- - -
-

textView:shouldChangeTextInRange:

-- (BOOL) textView: (NSTextView*)aTextView shouldChangeTextInRange: (NSRange)affectedCharRange;
- - -
-

textView:willChangeSelectionFromCharacterRange:

-- (NSRange) textView: (NSTextView*)aTextView willChangeSelectionFromCharacterRange: (NSRange)oldSelectedCharRange;
- - -
-

textViewDidChangeSelection:

-- (void) textViewDidChangeSelection: (NSNotification*)aNotification;
- - -
-

undoManagerForTextView:

-- (NSUndoManager*) undoManagerForTextView: (NSTextView*)view;
- - -
- - - + + + NSTextView + + +

NSTextView

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
( + boehring@biomed.ruhr-uni-bochum.de + )
+
+
+
Fred Kiefer( + FredKiefer@gmx.de + )
+
+
+
Nicola Pero( + n.pero@mi.flashnet.it + )
+
+
+
+

Copyright: (C) 1996, 1998, 2000 Free Software Foundation, Inc.

+

+ Software documentation for the NSTextView class +

+

NSTextView : NSText

+ Declared: AppKit/NSTextView.h
+ Conform: NSTextInput
+

+ +

+

registerForServices

+ + (void) registerForServices;
+

+ +

+
+

acceptableDragTypes

+ - (NSArray*) acceptableDragTypes;
+

+ +

+
+

alignJustified:

+ - (void) alignJustified: (id)sender;
+

+ +

+
+

changeColor:

+ - (void) changeColor: (id)sender;
+

+ +

+
+

cleanUpAfterDragOperation

+ - (void) cleanUpAfterDragOperation;
+

+ +

+
+

dragImageForSelectionWithEvent:origin:

+ - (NSImage*) dragImageForSelectionWithEvent: (NSEvent*)event origin: (NSPoint*)origin;
+

+ +

+
+

dragOperationForDraggingInfo:type:

+ - (unsigned int) dragOperationForDraggingInfo: (id)dragInfo type: (NSString*)type;
+

+ +

+
+

dragSelectionWithEvent:offset:slideBack:

+ - (BOOL) dragSelectionWithEvent: (NSEvent*)event offset: (NSSize)mouseOffset slideBack: (BOOL)slideBack;
+

+ +

+
+

drawInsertionPointInRect:color:turnedOn:

+ - (void) drawInsertionPointInRect: (NSRect)rect color: (NSColor*)color turnedOn: (BOOL)flag;
+

+ +

+
+

initWithFrame:

+ - (id) initWithFrame: (NSRect)frameRect;
+

+ +

+
+

initWithFrame:textContainer:

+ - (id) initWithFrame: (NSRect)frameRect textContainer: (NSTextContainer*)aTextContainer;
+

+ +

+
+

insertText:

+ - (void) insertText: (NSString*)insertString;
+

+ +

+
+

invalidateTextContainerOrigin

+ - (void) invalidateTextContainerOrigin;
+

+ +

+
+

layoutManager

+ - (NSLayoutManager*) layoutManager;
+

+ +

+
+

loosenKerning:

+ - (void) loosenKerning: (id)sender;
+

+ +

+
+

lowerBaseline:

+ - (void) lowerBaseline: (id)sender;
+

+ +

+
+

pasteAsPlainText:

+ - (void) pasteAsPlainText: (id)sender;
+

+ +

+
+

pasteAsRichText:

+ - (void) pasteAsRichText: (id)sender;
+

+ +

+
+

preferredPasteboardTypeFromArray:restrictedToTypesFromArray:

+ - (NSString*) preferredPasteboardTypeFromArray: (NSArray*)availableTypes restrictedToTypesFromArray: (NSArray*)allowedTypes;
+

+ +

+
+

raiseBaseline:

+ - (void) raiseBaseline: (id)sender;
+

+ +

+
+

readSelectionFromPasteboard:

+ - (BOOL) readSelectionFromPasteboard: (NSPasteboard*)pboard;
+

+ +

+
+

readSelectionFromPasteboard:type:

+ - (BOOL) readSelectionFromPasteboard: (NSPasteboard*)pboard type: (NSString*)type;
+

+ +

+
+

readablePasteboardTypes

+ - (NSArray*) readablePasteboardTypes;
+

+ +

+
+

replaceTextContainer:

+ - (void) replaceTextContainer: (NSTextContainer*)aTextContainer;
+

+ +

+
+

rulerView:didAddMarker:

+ - (void) rulerView: (NSRulerView*)ruler didAddMarker: (NSRulerMarker*)marker;
+

+ +

+
+

rulerView:didMoveMarker:

+ - (void) rulerView: (NSRulerView*)aRulerView didMoveMarker: (NSRulerMarker*)aMarker;
+

+ +

+
+

rulerView:didRemoveMarker:

+ - (void) rulerView: (NSRulerView*)aRulerView didRemoveMarker: (NSRulerMarker*)aMarker;
+

+ +

+
+

rulerView:handleMouseDown:

+ - (void) rulerView: (NSRulerView*)aRulerView handleMouseDown: (NSEvent*)theEvent;
+

+ +

+
+

rulerView:shouldAddMarker:

+ - (BOOL) rulerView: (NSRulerView*)aRulerView shouldAddMarker: (NSRulerMarker*)aMarker;
+

+ +

+
+

rulerView:shouldMoveMarker:

+ - (BOOL) rulerView: (NSRulerView*)aRulerView shouldMoveMarker: (NSRulerMarker*)aMarker;
+

+ +

+
+

rulerView:shouldRemoveMarker:

+ - (BOOL) rulerView: (NSRulerView*)aRulerView shouldRemoveMarker: (NSRulerMarker*)aMarker;
+

+ +

+
+

rulerView:willAddMarker:atLocation:

+ - (float) rulerView: (NSRulerView*)aRulerView willAddMarker: (NSRulerMarker*)aMarker atLocation: (float)location;
+

+ +

+
+

rulerView:willMoveMarker:toLocation:

+ - (float) rulerView: (NSRulerView*)aRulerView willMoveMarker: (NSRulerMarker*)aMarker toLocation: (float)location;
+

+ +

+
+

selectionRangeForProposedRange:granularity:

+ - (NSRange) selectionRangeForProposedRange: (NSRange)proposedCharRange granularity: (NSSelectionGranularity)granul;
+

+ +

+
+

setAlignment:range:

+ - (void) setAlignment: (NSTextAlignment)alignment range: (NSRange)aRange;
+

+ +

+
+

setConstrainedFrameSize:

+ - (void) setConstrainedFrameSize: (NSSize)desiredSize;
+

+ +

+
+

setNeedsDisplayInRect:avoidAdditionalLayout:

+ - (void) setNeedsDisplayInRect: (NSRect)aRect avoidAdditionalLayout: (BOOL)flag;
+

+ +

+
+

setRulerVisible:

+ - (void) setRulerVisible: (BOOL)flag;
+

+ +

+
+

setTextContainer:

+ - (void) setTextContainer: (NSTextContainer*)aTextContainer;
+

+ +

+
+

setTextContainerInset:

+ - (void) setTextContainerInset: (NSSize)inset;
+

+ +

+
+

shouldDrawInsertionPoint

+ - (BOOL) shouldDrawInsertionPoint;
+

+ +

+
+

textContainer

+ - (NSTextContainer*) textContainer;
+

+ +

+
+

textContainerInset

+ - (NSSize) textContainerInset;
+

+ +

+
+

textContainerOrigin

+ - (NSPoint) textContainerOrigin;
+

+ +

+
+

textStorage

+ - (NSTextStorage*) textStorage;
+

+ +

+
+

tightenKerning:

+ - (void) tightenKerning: (id)sender;
+

+ +

+
+

toggleTraditionalCharacterShape:

+ - (void) toggleTraditionalCharacterShape: (id)sender;
+

+ +

+
+

turnOffKerning:

+ - (void) turnOffKerning: (id)sender;
+

+ +

+
+

turnOffLigatures:

+ - (void) turnOffLigatures: (id)sender;
+

+ +

+
+

updateDragTypeRegistration

+ - (void) updateDragTypeRegistration;
+

+ +

+
+

updateFontPanel

+ - (void) updateFontPanel;
+

+ +

+
+

updateRuler

+ - (void) updateRuler;
+

+ +

+
+

useAllLigatures:

+ - (void) useAllLigatures: (id)sender;
+

+ +

+
+

useStandardKerning:

+ - (void) useStandardKerning: (id)sender;
+

+ +

+
+

useStandardLigatures:

+ - (void) useStandardLigatures: (id)sender;
+

+ +

+
+

writablePasteboardTypes

+ - (NSArray*) writablePasteboardTypes;
+

+ +

+
+

writeSelectionToPasteboard:type:

+ - (BOOL) writeSelectionToPasteboard: (NSPasteboard*)pboard type: (NSString*)type;
+

+ +

+
+

writeSelectionToPasteboard:types:

+ - (BOOL) writeSelectionToPasteboard: (NSPasteboard*)pboard types: (NSArray*)types;
+

+ +

+
+

+ Software documentation for the + NSObject(NSTextViewDelegate) + category +

+

NSObject(NSTextViewDelegate)

+ Declared: AppKit/NSTextView.h
+

+ +

+

textView:clickedOnCell:inRect:

+ - (void) textView: (NSTextView*)textView clickedOnCell: (id)cell inRect: (NSRect)cellFrame;
+

+ +

+
+

textView:clickedOnCell:inRect:atIndex:

+ - (void) textView: (NSTextView*)textView clickedOnCell: (id)cell inRect: (NSRect)cellFrame atIndex: (unsigned)charIndex;
+

+ +

+
+

textView:clickedOnLink:

+ - (BOOL) textView: (NSTextView*)textView clickedOnLink: (id)link;
+

+ +

+
+

textView:clickedOnLink:atIndex:

+ - (BOOL) textView: (NSTextView*)textView clickedOnLink: (id)link atIndex: (unsigned)charIndex;
+

+ +

+
+

textView:doCommandBySelector:

+ - (BOOL) textView: (NSTextView*)textView doCommandBySelector: (SEL)commandSelector;
+

+ +

+
+

textView:doubleClickedOnCell:inRect:

+ - (void) textView: (NSTextView*)textView doubleClickedOnCell: (id)cell inRect: (NSRect)cellFrame;
+

+ +

+
+

textView:doubleClickedOnCell:inRect:atIndex:

+ - (void) textView: (NSTextView*)textView doubleClickedOnCell: (id)cell inRect: (NSRect)cellFrame atIndex: (unsigned)charIndex;
+

+ +

+
+

textView:draggedCell:inRect:event:

+ - (void) textView: (NSTextView*)view draggedCell: (id)cell inRect: (NSRect)rect event: (NSEvent*)event;
+

+ +

+
+

textView:draggedCell:inRect:event:atIndex:

+ - (void) textView: (NSTextView*)view draggedCell: (id)cell inRect: (NSRect)rect event: (NSEvent*)event atIndex: (unsigned)charIndex;
+

+ +

+
+

textView:shouldChangeTextInRange:replacementString:

+ - (BOOL) textView: (NSTextView*)textView shouldChangeTextInRange: (NSRange)affectedCharRange replacementString: (NSString*)replacementString;
+

+ +

+
+

textView:willChangeSelectionFromCharacterRange:toCharacterRange:

+ - (NSRange) textView: (NSTextView*)textView willChangeSelectionFromCharacterRange: (NSRange)oldSelectedCharRange toCharacterRange: (NSRange)newSelectedCharRange;
+

+ +

+
+

textViewDidChangeSelection:

+ - (void) textViewDidChangeSelection: (NSNotification*)notification;
+

+ +

+
+

undoManagerForTextView:

+ - (NSUndoManager*) undoManagerForTextView: (NSTextView*)view;
+

+ +

+
+

+ Software documentation for the + NSTextView(GSTextViewUpdateMultipleViews) + category +

+

NSTextView(GSTextViewUpdateMultipleViews)

+ Declared: AppKit/NSTextView.h
+

+ +

+

_updateMultipleTextViews

+ - (void) _updateMultipleTextViews;
+

+ +

+
+

+ Software documentation for the NSTextView(NSSharing) + category +

+

NSTextView(NSSharing)

+ Declared: AppKit/NSTextView.h
+

+ +

+

allowsUndo

+ - (BOOL) allowsUndo;
+

+ +

+
+

backgroundColor

+ - (NSColor*) backgroundColor;
+

+ +

+
+

becomeFirstResponder

+ - (BOOL) becomeFirstResponder;
+

+ +

+
+

delegate

+ - (id) delegate;
+

+ +

+
+

didChangeText

+ - (void) didChangeText;
+

+ +

+
+

drawsBackground

+ - (BOOL) drawsBackground;
+

+ +

+
+

importsGraphics

+ - (BOOL) importsGraphics;
+

+ +

+
+

insertionPointColor

+ - (NSColor*) insertionPointColor;
+

+ +

+
+

isContinuousSpellCheckingEnabled

+ - (BOOL) isContinuousSpellCheckingEnabled;
+

+ +

+
+

isEditable

+ - (BOOL) isEditable;
+

+ +

+
+

isFieldEditor

+ - (BOOL) isFieldEditor;
+

+ +

+
+

isRichText

+ - (BOOL) isRichText;
+

+ +

+
+

isRulerVisible

+ - (BOOL) isRulerVisible;
+

+ +

+
+

isSelectable

+ - (BOOL) isSelectable;
+

+ +

+
+

markedRange

+ - (NSRange) markedRange;
+

+ +

+
+

markedTextAttributes

+ - (NSDictionary*) markedTextAttributes;
+

+ +

+
+

rangeForUserCharacterAttributeChange

+ - (NSRange) rangeForUserCharacterAttributeChange;
+

+ +

+
+

rangeForUserParagraphAttributeChange

+ - (NSRange) rangeForUserParagraphAttributeChange;
+

+ +

+
+

rangeForUserTextChange

+ - (NSRange) rangeForUserTextChange;
+

+ +

+
+

resignFirstResponder

+ - (BOOL) resignFirstResponder;
+

+ +

+
+

selectedRange

+ - (NSRange) selectedRange;
+

+ +

+
+

selectedTextAttributes

+ - (NSDictionary*) selectedTextAttributes;
+

+ +

+
+

selectionAffinity

+ - (NSSelectionAffinity) selectionAffinity;
+

+ +

+
+

selectionGranularity

+ - (NSSelectionGranularity) selectionGranularity;
+

+ +

+
+

setAllowsUndo:

+ - (void) setAllowsUndo: (BOOL)flag;
+

+ +

+
+

setBackgroundColor:

+ - (void) setBackgroundColor: (NSColor*)color;
+

+ +

+
+

setContinuousSpellCheckingEnabled:

+ - (void) setContinuousSpellCheckingEnabled: (BOOL)flag;
+

+ +

+
+

setDelegate:

+ - (void) setDelegate: (id)anObject;
+

+ +

+
+

setDrawsBackground:

+ - (void) setDrawsBackground: (BOOL)flag;
+

+ +

+
+

setEditable:

+ - (void) setEditable: (BOOL)flag;
+

+ +

+
+

setFieldEditor:

+ - (void) setFieldEditor: (BOOL)flag;
+

+ +

+
+

setImportsGraphics:

+ - (void) setImportsGraphics: (BOOL)flag;
+

+ +

+
+

setInsertionPointColor:

+ - (void) setInsertionPointColor: (NSColor*)color;
+

+ +

+
+

setMarkedTextAttributes:

+ - (void) setMarkedTextAttributes: (NSDictionary*)attributeDictionary;
+

+ +

+
+

setRichText:

+ - (void) setRichText: (BOOL)flag;
+

+ +

+
+

setRulerVisible:

+ - (void) setRulerVisible: (BOOL)flag;
+

+ +

+
+

setSelectable:

+ - (void) setSelectable: (BOOL)flag;
+

+ +

+
+

setSelectedRange:

+ - (void) setSelectedRange: (NSRange)charRange;
+

+ +

+
+

setSelectedRange:affinity:stillSelecting:

+ - (void) setSelectedRange: (NSRange)charRange affinity: (NSSelectionAffinity)affinity stillSelecting: (BOOL)stillSelectingFlag;
+

+ +

+
+

setSelectedTextAttributes:

+ - (void) setSelectedTextAttributes: (NSDictionary*)attributeDictionary;
+

+ +

+
+

setSelectionGranularity:

+ - (void) setSelectionGranularity: (NSSelectionGranularity)granularity;
+

+ +

+
+

setSmartInsertDeleteEnabled:

+ - (void) setSmartInsertDeleteEnabled: (BOOL)flag;
+

+ +

+
+

setTypingAttributes:

+ - (void) setTypingAttributes: (NSDictionary*)attrs;
+

+ +

+
+

setUsesFontPanel:

+ - (void) setUsesFontPanel: (BOOL)flag;
+

+ +

+
+

setUsesRuler:

+ - (void) setUsesRuler: (BOOL)flag;
+

+ +

+
+

shouldChangeTextInRange:replacementString:

+ - (BOOL) shouldChangeTextInRange: (NSRange)affectedCharRange replacementString: (NSString*)replacementString;
+

+ +

+
+

smartDeleteRangeForProposedRange:

+ - (NSRange) smartDeleteRangeForProposedRange: (NSRange)proposedCharRange;
+

+ +

+
+

smartInsertDeleteEnabled

+ - (BOOL) smartInsertDeleteEnabled;
+

+ +

+
+

smartInsertForString:replacingRange:beforeString:afterString:

+ - (void) smartInsertForString: (NSString*)aString replacingRange: (NSRange)charRange beforeString: (NSString**)beforeString afterString: (NSString**)afterString;
+

+ +

+
+

spellCheckerDocumentTag

+ - (int) spellCheckerDocumentTag;
+

+ +

+
+

toggleContinuousSpellChecking:

+ - (void) toggleContinuousSpellChecking: (id)sender;
+

+ +

+
+

typingAttributes

+ - (NSDictionary*) typingAttributes;
+

+ +

+
+

updateInsertionPointStateAndRestartTimer:

+ - (void) updateInsertionPointStateAndRestartTimer: (BOOL)restartFlag;
+

+ +

+
+

usesFontPanel

+ - (BOOL) usesFontPanel;
+

+ +

+
+

usesRuler

+ - (BOOL) usesRuler;
+

+ +

+
+

validRequestorForSendType:returnType:

+ - (id) validRequestorForSendType: (NSString*)sendType returnType: (NSString*)returnType;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSView.gsdoc b/Documentation/gsdoc/NSView.gsdoc index 596a2fc0e..9b08e0681 100644 --- a/Documentation/gsdoc/NSView.gsdoc +++ b/Documentation/gsdoc/NSView.gsdoc @@ -1,70 +1,85 @@ - - + + NSView + + + scottc@net-community.com + + + + + far@ix.netcom.com + + + + + ovidiu@net-community.com + + - - + + richard@brainstorm.co.uk + - - - - - - - $Revision$ - $Date$ + + The view class which encapsulates all drawing functionality + + (C) 1996 Free Software Foundation, Inc. NSView +

+ NSView is an abstract class which provides facilities + for drawing in a window and receiving events. It is the + superclass of many of the visual elements of the + GUI. +

+

+ In order to display itself, a view must be placed in a + window (represented by an NSWindow object). Within the + window is a hierarchy of NSViews, headed by the window's + content view. Every other view in a window is a + descendant of this view. +

+

+ Subclasses can override drawRect: in + order to implement their appearance. Other methods of + NSView and NSResponder can also be overridden to handle + user generated events. +

- Gui/NSView.h - NSCoding - - -

NSView is an abstract class which provides facilities for - drawing in a window and receiving events. It is the - superclass of many of the visual elements of the GUI.

- -

In order to display itself, a view must be placed in a - window (represented by an NSWindow object). Within the - window is a hierarchy of NSViews, headed by the window's - content view. Every other view in a window is a descendant - of this view.

- -

Subclasses can override drawRect: in order - to implement their appearance. Other methods of NSView and - NSResponder can also be overridden to handle user generated - events.

- -
+ AppKit/NSView.h + + defaultMenu -

As of yet, unimplemented.

focusView -

Returns the view which currently has the focus.

+ Return the view at the top of graphics contexts + stack or nil if none is focused.
acceptsFirstMouse: theEvent -

Returns YES if the view object will accept the first click - received when in an inactive window, and NO otherwise.

+ Returns YES if the view object will + accept the first click received when in an inactive + window, and NO otherwise.
addCursorRect: aRect cursor: - aCursor + anObject @@ -72,9 +87,7 @@ addSubview: aView -

- Adds aView as a subview of the receiver. -

+ Adds aView as a subview of the receiver.
@@ -92,13 +105,23 @@ + + addToolTipRect: + aRect + owner: + anObject + userData: + data + + + addTrackingRect: aRect owner: anObject userData: - userData + data assumeInside: flag @@ -108,9 +131,11 @@ adjustPageHeightNew: newBottom top: - top + oldTop bottom: - proposedBottom + oldBottom + limit: + bottomLimit @@ -118,46 +143,49 @@ adjustPageWidthNew: newRight left: - left + oldLeft right: - proposedRight + oldRight + limit: + rightLimit adjustScroll: - proposedVisibleRect + newVisible allocateGState -

- Tell the view to maintain a private gstate object which - encapsulates all the information about drawing, such as coordinate - transforms, line widths, etc. If you do not invoke this method, - a gstate object is constructed each time the view is lockFocused. - Allocating a private gstate may improve the performance of views - that are focused a lot and have a lot of customized drawing - parameters. -

-

- View subclasses should override the setUpGstate method to set these - custom parameters. -

+

+ Tell the view to maintain a private gstate object + which encapsulates all the information about + drawing, such as coordinate transforms, line + widths, etc. If you do not invoke this method, a + gstate object is constructed each time the view is + lockFocused. Allocating a private gstate may + improve the performance of views that are focused + a lot and have a lot of customized drawing parameters. +

+

+ View subclasses should override the setUpGstate + method to set these custom parameters. +

ancestorSharedWithView: aView -

- Returns self if aView is the receiver or aView is a - subview of the receiver, the ancestor view shared by aView and the receiver, - if any, aView if it is an ancestor of the receiver, otherwise returns - nil. -

+ Returns self if aView is + the receiver or aView is a subview of the + receiver, the ancestor view shared by + aView and the receiver, if any, + aView if it is an ancestor of the + receiver, otherwise returns nil.
@@ -176,13 +204,45 @@ + + beginDocument + + Writes header and job information for the PostScript + document. This includes at a minimum, PostScript + header information. It may also include job setup + information if the output is intended for a + printer (i.e. not an EPS file). Most of the + information for writing the header comes from + the NSPrintOperation and NSPrintInfo objects associated + with the current print operation. There isn't normally + anything that the program needs to override at the + beginning of a document, although if there is + additional setup that needs to be done, you can + override the NSView's methods endHeaderComments, + endPrologue, beginSetup, and/or endSetup. This + method calls the above methods in the listed order + before or after writing the required information. + For an EPS operation, the beginSetup and endSetup + methods aren't used. + + beginPage: ordinalNum label: - aString + aString bBox: pageRect + fonts: + fontNames + + + + + beginPageInRect: + aRect + atPlacement: + location @@ -196,17 +256,19 @@ beginPrologueBBox: - boundingBox + bBox creationDate: dateCreated createdBy: - anApplication + anApplication fonts: fontNames forWhom: - user + user pages: numPages + title: + aTitle @@ -252,6 +314,8 @@ convertPoint: aPoint + toView: + aView @@ -293,6 +357,18 @@ + + dataWithPDFInsideRect: + aRect + + + + + didAddSubview: + subview + + + discardCursorRects @@ -327,7 +403,7 @@ displayRect: - aRect + rect @@ -339,11 +415,13 @@ dragFile: - fullPath + filename fromRect: - aRect + rect slideBack: - slideBack + slideFlag + event: + event @@ -351,17 +429,17 @@ dragImage: anImage at: - imageLoc + viewLocation offset: - mouseOffset + initialOffset event: - theEvent + event pasteboard: pboard source: sourceObject slideBack: - slideBack + slideFlag @@ -373,26 +451,28 @@ drawRect: - aRect + rect - This method is invoked to handle drawing inside the view. - The default NSView's implementation does nothing; - subclasses might override it to draw something inside the - view. Since NSView's implementation is guaranteed to be - empty, you should not call super's implementation when you - override it in subclasses. drawRect: is invoked when the - focus has already been locked on the view; you can use - arbitrary postscript functions in drawRect: to draw inside - your view; the coordinate system in which you draw is the - view's own coordinate system (this means for example that - you should refer to the rectangle covered by the view - using its bounds, and not its frame). The argument of - drawRect: is the rectangle which needs to be redrawn. In - a lossy implementation, you can ignore the argument and - redraw the whole view; if you are aiming at performance, - you may want to redraw only what is inside the rectangle - which needs to be redrawn; this usually improves drawing - performance considerably. + This method is invoked to handle drawing inside the + view. The default NSView's implementation does + nothing; subclasses might override it to draw + something inside the view. Since NSView's + implementation is guaranteed to be empty, + you should not call super's implementation when you + override it in subclasses. drawRect: is invoked + when the focus has already been locked on the view; + you can use arbitrary postscript functions in drawRect: + to draw inside your view; the coordinate system in which + you draw is the view's own coordinate system (this + means for example that you should refer to the + rectangle covered by the view using its bounds, + and not its frame). The argument of drawRect: is the + rectangle which needs to be redrawn. In a lossy + implementation, you can ignore the argument + and redraw the whole view; if you are aiming at + performance, you may want to redraw only what + is inside the rectangle which needs to be redrawn; this + usually improves drawing performance considerably. @@ -406,6 +486,11 @@ + + endDocument + + + endHeaderComments @@ -455,12 +540,13 @@ gState - Returns an identifier that represents the view's gstate object, - which is used to encapsulate drawing information about the view. - Most of the time a gstate object is created from scratch when - the view is focused, so if the view is not currently focused or - allocateGState has not been called, then this method will - return 0. + Returns an identifier that represents the view's + gstate object, which is used to encapsulate drawing + information about the view. Most of the time a + gstate object is created from scratch when the view + is focused, so if the view is not currently focused or + allocateGState has not been called, then + this method will @@ -472,8 +558,8 @@ hitTest: aPoint -

Returns the subview, lowest in the receiver's hierarchy, which contains - aPoint

+ Returns the subview, lowest in the receiver's + hierarchy, which contains aPoint
@@ -482,18 +568,12 @@ - - interfaceStyle - - - isDescendantOf: aView -

- Returns YES if aView is an ancestor of the receiver. -

+ Returns YES if aView is an + ancestor of the receiver.
@@ -518,13 +598,15 @@ knowsPageRange: - range + range knowsPagesFirst: firstPageNum + last: + lastPageNum @@ -539,11 +621,15 @@
+ + lockFocusIfCanDraw + + + menuForEvent: theEvent -

As of yet, unimplemented.

@@ -552,7 +638,8 @@ inRect: aRect -

Returns whether or not aPoint lies within aRect.

+ Returns whether or not aPoint lies + within aRect
@@ -560,11 +647,6 @@ - - needsPanelToBecomeKey - - - nextKeyView @@ -618,9 +700,14 @@ + + printJobTitle + + + rectForPage: - pageNumber + page @@ -632,76 +719,101 @@ registerForDraggedTypes: - pboardTypes + types releaseGState - Frees the gstate object, if there is one. Note that the next time - the view is lockFocused, the gstate will be allocated again. + Frees the gstate object, if there is one. Note that + the next time the view is lockFocused, the gstate will + be allocated again. + + + + removeAllToolTips + removeCursorRect: aRect cursor: - aCursor + anObject removeFromSuperview -

- Removes the receiver from its superviews list of subviews, - by invoking the superviews [-removeSubview:] method, and - marks the rectangle that the reciever occupied in the - superview as needing redisplay. -

-

- This is dangerous to use during display, since it alters the - rectangles needing display. -

+

+ Removes the receiver from its superviews list of + subviews, by invoking the superviews [ + + -removeSubview: + + ] method, and marks the rectangle that the reciever + occupied in the superview as needing redisplay. +

+

+ This is dangerous to use during display, since it + alters the rectangles needing display. +

removeFromSuperviewWithoutNeedingDisplay -

- Removes the receiver from its superviews list of subviews, - by invoking the superviews [-removeSubview:] method. -

+ Removes the receiver from its superviews list of + subviews, by invoking the superviews [ + + -removeSubview: + + ] method.
removeSubview: - aView + aSubview + +

+ Removes the view from the receivers list of + subviews and from the responder chain. +

+

+ Also invokes [aView + + -viewWillMoveToWindow: + + nil] to handle removal of aView (and + recursively, its children) from its window - + performing tidyup by invalidating cursor rects + etc. +

+
+ + + +
+ + removeToolTip: + tag -

- Removes the view from the receivers list of subviews - and from the responder chain. -

-

- Also invokes [aView -viewWillMoveToWindow: nil] to handle - removal of aView (and recursively, its children) from its - window - performing tidyup by invalidating cursor rects etc. -

-
removeTrackingRect: - aTag + tag renewGState - Invalidates the view's gstate object so it will be set up - again using setUpGState the next time the view is focused. + Invalidates the view's gstate object so it will + be set up again using setUpGState the next time the view + is focused. @@ -710,9 +822,8 @@ with: newView -

- Removes oldView from the receiver and places newView in its place. -

+ Removes oldView from the receiver and + places newView in its place.
@@ -722,13 +833,13 @@ resizeSubviewsWithOldSize: - oldFrameSize + oldSize resizeWithOldSuperviewSize: - oldFrameSize + oldSize @@ -740,13 +851,15 @@ scaleUnitSquareToSize: - newUnitSize + newSize scrollClipView: aClipView + toPoint: + aPoint @@ -759,6 +872,8 @@ scrollRect: aRect + by: + delta @@ -782,7 +897,7 @@ setBounds: - boundsRect + aRect @@ -828,12 +943,6 @@ - - setInterfaceStyle: - interfaceStyle - - - setNeedsDisplay: flag @@ -842,7 +951,7 @@ setNeedsDisplayInRect: - invalidRect + rect @@ -864,6 +973,12 @@ + + setPreviousKeyView: + aView + + + setToolTip: string @@ -877,7 +992,7 @@ shouldDelayWindowOrderingForEvent: - theEvent + anEvent @@ -887,13 +1002,9 @@ - sortSubviewsUsingFunction: - compare - context: - context @@ -920,7 +1031,7 @@ translateOriginToPoint: - newOrigin + point @@ -935,18 +1046,33 @@ - viewWillMoveToSuperview: - newSuperview + viewDidMoveToSuperview -

Notifies the receiver that its superview is being changed to - newSuperview.

+
+
+ + viewDidMoveToWindow + + + + + viewWillMoveToSuperview: + newSuper + + Notifies the receiver that its superview is being + changed to newSuperview. viewWillMoveToWindow: newWindow -

Notifies the receiver that it will now be a view of newWindow.

+ Notifies the receiver that it will now be a view + of newWindow. Note, this method is also used + when removing a view from a window (in which case, + newWindow is nil) to let all + the subviews know that they have also been removed from + the window.
@@ -965,16 +1091,28 @@ + + willRemoveSubview: + subview + + + window -

- Returns the window in which the receiver resides. -

+ Returns the window in which the receiver resides.
writeEPSInsideRect: + rect + toPasteboard: + pasteboard + + + + + writePDFInsideRect: aRect toPasteboard: pboard @@ -983,5 +1121,36 @@
+ + + Software documentation for the NSView(PrivateMethods) + category + + + AppKit/NSView.h + + + + _invalidateCoordinates + + + + + _matrixFromWindow + + + + + _matrixToWindow + + + + + _rebuildCoordinates + + + + +
diff --git a/Documentation/gsdoc/NSView.html b/Documentation/gsdoc/NSView.html index 7122105e8..ac6baac36 100644 --- a/Documentation/gsdoc/NSView.html +++ b/Documentation/gsdoc/NSView.html @@ -1,1023 +1,1084 @@ - - NSView - - -[Previous] -[Up] -[Next] -

NSView

-

Authors

-
-
Richard Frith-Macdonald -
-
James Dessart -
-
Nicola Pero -
-
-

Version: $Revision$

-

Date: $Date$

-

NSView

-

NSView

-

Declared in: Gui/NSView.h

-

Inherits from: NSResponder

-

Conforms to: NSCoding -

-
- - -

-NSView is an abstract class which provides facilities for - drawing in a window and receiving events. It is the - superclass of many of the visual elements of the GUI.

- - -

-In order to display itself, a view must be placed in a - window (represented by an NSWindow object). Within the - window is a hierarchy of NSViews, headed by the window's - content view. Every other view in a window is a descendant - of this view.

- - -

-Subclasses can override drawRect: in order - to implement their appearance. Other methods of NSView and - NSResponder can also be overridden to handle user generated - events.

- - - -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

defaultMenu

-+ (NSMenu*) defaultMenu;
- -

-As of yet, unimplemented.

- - -
-

focusView

-+ (NSView*) focusView;
- -

-Returns the view which currently has the focus.

- - -
-

Instances Methods

-

acceptsFirstMouse:

-- (BOOL) acceptsFirstMouse: (NSEvent*)theEvent;
- -

-Returns YES if the view object will accept the first click - received when in an inactive window, and NO otherwise.

- - -
-

addCursorRect:cursor:

-- (void) addCursorRect: (NSRect)aRect cursor: (NSCursor*)aCursor;
- - -
-

addSubview:

-- (void) addSubview: (NSView*)aView;
- -

- - Adds aView as a subview of the receiver. -

- - -
-

addSubview:positioned:relativeTo:

-- (void) addSubview: (NSView*)aView positioned: (NSWindowOrderingMode)place relativeTo: (NSView*)otherView;
- - -
-

addToPageSetup

-- (void) addToPageSetup;
- - -
-

addTrackingRect:owner:userData:assumeInside:

-- (NSTrackingRectTag) addTrackingRect: (NSRect)aRect owner: (id)anObject userData: (void*)userData assumeInside: (BOOL)flag;
- - -
-

adjustPageHeightNew:top:bottom:

-- (void) adjustPageHeightNew: (float*)newBottom top: (float)top bottom: (float)proposedBottom;
- - -
-

adjustPageWidthNew:left:right:

-- (void) adjustPageWidthNew: (float*)newRight left: (float)left right: (float)proposedRight;
- - -
-

adjustScroll:

-- (NSRect) adjustScroll: (NSRect)proposedVisibleRect;
- - -
-

allocateGState

-- (void) allocateGState;
- -

- - Tell the view to maintain a private gstate object which - encapsulates all the information about drawing, such as coordinate - transforms, line widths, etc. If you do not invoke this method, - a gstate object is constructed each time the view is lockFocused. - Allocating a private gstate may improve the performance of views - that are focused a lot and have a lot of customized drawing - parameters. -

- -

- - View subclasses should override the setUpGstate method to set these - custom parameters. -

- - -
-

ancestorSharedWithView:

-- (NSView*) ancestorSharedWithView: (NSView*)aView;
- -

- - Returns self if aView is the receiver or aView is a - subview of the receiver, the ancestor view shared by aView and the receiver, - if any, aView if it is an ancestor of the receiver, otherwise returns - nil. -

- - -
-

autoresizesSubviews

-- (BOOL) autoresizesSubviews;
- - -
-

autoresizingMask

-- (unsigned int) autoresizingMask;
- - -
-

autoscroll:

-- (BOOL) autoscroll: (NSEvent*)theEvent;
- - -
-

beginPage:label:bBox:

-- (void) beginPage: (int)ordinalNum label: (NSString *)aString bBox: (NSRect)pageRect;
- - -
-

beginPageSetupRect:placement:

-- (void) beginPageSetupRect: (NSRect)aRect placement: (NSPoint)location;
- - -
-

beginPrologueBBox:creationDate:createdBy:fonts:forWhom:pages:

-- (void) beginPrologueBBox: (NSRect)boundingBox creationDate: (NSString*)dateCreated createdBy: (NSString *)anApplication fonts: (NSString*)fontNames forWhom: (NSString *)user pages: (int)numPages;
- - -
-

beginSetup

-- (void) beginSetup;
- - -
-

beginTrailer

-- (void) beginTrailer;
- - -
-

bounds

-- (NSRect) bounds;
- - -
-

boundsRotation

-- (float) boundsRotation;
- - -
-

canDraw

-- (BOOL) canDraw;
- - -
-

centerScanRect:

-- (NSRect) centerScanRect: (NSRect)aRect;
- - -
-

convertPoint:fromView:

-- (NSPoint) convertPoint: (NSPoint)aPoint fromView: (NSView*)aView;
- - -
-

convertPoint:

-- (NSPoint) convertPoint: (NSPoint)aPoint;
- - -
-

convertRect:fromView:

-- (NSRect) convertRect: (NSRect)aRect fromView: (NSView*)aView;
- - -
-

convertRect:toView:

-- (NSRect) convertRect: (NSRect)aRect toView: (NSView*)aView;
- - -
-

convertSize:fromView:

-- (NSSize) convertSize: (NSSize)aSize fromView: (NSView*)aView;
- - -
-

convertSize:toView:

-- (NSSize) convertSize: (NSSize)aSize toView: (NSView*)aView;
- - -
-

dataWithEPSInsideRect:

-- (NSData*) dataWithEPSInsideRect: (NSRect)aRect;
- - -
-

discardCursorRects

-- (void) discardCursorRects;
- - -
-

display

-- (void) display;
- - -
-

displayIfNeeded

-- (void) displayIfNeeded;
- - -
-

displayIfNeededIgnoringOpacity

-- (void) displayIfNeededIgnoringOpacity;
- - -
-

displayIfNeededInRect:

-- (void) displayIfNeededInRect: (NSRect)aRect;
- - -
-

displayIfNeededInRectIgnoringOpacity:

-- (void) displayIfNeededInRectIgnoringOpacity: (NSRect)aRect;
- - -
-

displayRect:

-- (void) displayRect: (NSRect)aRect;
- - -
-

displayRectIgnoringOpacity:

-- (void) displayRectIgnoringOpacity: (NSRect)aRect;
- - -
-

dragFile:fromRect:slideBack:

-- (BOOL) dragFile: (NSString*)fullPath fromRect: (NSRect)aRect slideBack: (BOOL)slideBack;
- - -
-

dragImage:at:offset:event:pasteboard:source:slideBack:

-- (void) dragImage: (NSImage*)anImage at: (NSPoint)imageLoc offset: (NSSize)mouseOffset event: (NSEvent *)theEvent pasteboard: (NSPasteboard*)pboard source: (id)sourceObject slideBack: (BOOL)slideBack;
- - -
-

drawPageBorderWithSize:

-- (void) drawPageBorderWithSize: (NSSize)borderSize;
- - -
-

drawRect:

-- (void) drawRect: (NSRect)aRect;
- - This method is invoked to handle drawing inside the view. - The default NSView's implementation does nothing; - subclasses might override it to draw something inside the - view. Since NSView's implementation is guaranteed to be - empty, you should not call super's implementation when you - override it in subclasses. drawRect: is invoked when the - focus has already been locked on the view; you can use - arbitrary postscript functions in drawRect: to draw inside - your view; the coordinate system in which you draw is the - view's own coordinate system (this means for example that - you should refer to the rectangle covered by the view - using its bounds, and not its frame). The argument of - drawRect: is the rectangle which needs to be redrawn. In - a lossy implementation, you can ignore the argument and - redraw the whole view; if you are aiming at performance, - you may want to redraw only what is inside the rectangle - which needs to be redrawn; this usually improves drawing - performance considerably. - -
-

drawSheetBorderWithSize:

-- (void) drawSheetBorderWithSize: (NSSize)borderSize;
- - -
-

enclosingScrollView

-- (NSScrollView*) enclosingScrollView;
- - -
-

endHeaderComments

-- (void) endHeaderComments;
- - -
-

endPage

-- (void) endPage;
- - -
-

endPageSetup

-- (void) endPageSetup;
- - -
-

endPrologue

-- (void) endPrologue;
- - -
-

endSetup

-- (void) endSetup;
- - -
-

endTrailer

-- (void) endTrailer;
- - -
-

fax:

-- (void) fax: (id)sender;
- - -
-

frame

-- (NSRect) frame;
- - -
-

frameRotation

-- (float) frameRotation;
- - -
-

gState

-- (int) gState;
- - Returns an identifier that represents the view's gstate object, - which is used to encapsulate drawing information about the view. - Most of the time a gstate object is created from scratch when - the view is focused, so if the view is not currently focused or - allocateGState has not been called, then this method will - return 0. - -
-

heightAdjustLimit

-- (float) heightAdjustLimit;
- - -
-

hitTest:

-- (NSView*) hitTest: (NSPoint)aPoint;
- -

-Returns the subview, lowest in the receiver's hierarchy, which contains - aPoint

- - -
-

initWithFrame:

-- (id) initWithFrame: (NSRect)frameRect;
- - -
-

interfaceStyle

-- (NSInterfaceStyle) interfaceStyle;
- - -
-

isDescendantOf:

-- (BOOL) isDescendantOf: (NSView*)aView;
- -

- - Returns YES if aView is an ancestor of the receiver. -

- - -
-

isFlipped

-- (BOOL) isFlipped;
- - -
-

isOpaque

-- (BOOL) isOpaque;
- - -
-

isRotatedFromBase

-- (BOOL) isRotatedFromBase;
- - -
-

isRotatedOrScaledFromBase

-- (BOOL) isRotatedOrScaledFromBase;
- - -
-

knowsPageRange:

-- (BOOL) knowsPageRange: (NSRangePointer)range;
- - -
-

knowsPagesFirst:

-- (BOOL) knowsPagesFirst: (int*)firstPageNum;
- - -
-

locationOfPrintRect:

-- (NSPoint) locationOfPrintRect: (NSRect)aRect;
- - -
-

lockFocus

-- (void) lockFocus;
- - -
-

menuForEvent:

-- (NSMenu*) menuForEvent: (NSEvent*)theEvent;
- -

-As of yet, unimplemented.

- - -
-

mouse:inRect:

-- (BOOL) mouse: (NSPoint)aPoint inRect: (NSRect)aRect;
- -

-Returns whether or not aPoint lies within aRect.

- - -
-

needsDisplay

-- (BOOL) needsDisplay;
- - -
-

needsPanelToBecomeKey

-- (BOOL) needsPanelToBecomeKey;
- - -
-

nextKeyView

-- (NSView*) nextKeyView;
- - -
-

nextValidKeyView

-- (NSView*) nextValidKeyView;
- - -
-

opaqueAncestor

-- (NSView*) opaqueAncestor;
- - -
-

performKeyEquivalent:

-- (BOOL) performKeyEquivalent: (NSEvent*)theEvent;
- - -
-

performMnemonic:

-- (BOOL) performMnemonic: (NSString*)aString;
- - -
-

postsBoundsChangedNotifications

-- (BOOL) postsBoundsChangedNotifications;
- - -
-

postsFrameChangedNotifications

-- (BOOL) postsFrameChangedNotifications;
- - -
-

previousKeyView

-- (NSView*) previousKeyView;
- - -
-

previousValidKeyView

-- (NSView*) previousValidKeyView;
- - -
-

print:

-- (void) print: (id)sender;
- - -
-

rectForPage:

-- (NSRect) rectForPage: (int)pageNumber;
- - -
-

reflectScrolledClipView:

-- (void) reflectScrolledClipView: (NSClipView*)aClipView;
- - -
-

registerForDraggedTypes:

-- (void) registerForDraggedTypes: (NSArray*)pboardTypes;
- - -
-

releaseGState

-- (void) releaseGState;
- - Frees the gstate object, if there is one. Note that the next time - the view is lockFocused, the gstate will be allocated again. - -
-

removeCursorRect:cursor:

-- (void) removeCursorRect: (NSRect)aRect cursor: (NSCursor*)aCursor;
- - -
-

removeFromSuperview

-- (void) removeFromSuperview;
- -

- - Removes the receiver from its superviews list of subviews, - by invoking the superviews [-removeSubview:] method, and - marks the rectangle that the reciever occupied in the - superview as needing redisplay. -

- -

- - This is dangerous to use during display, since it alters the - rectangles needing display. -

- - -
-

removeFromSuperviewWithoutNeedingDisplay

-- (void) removeFromSuperviewWithoutNeedingDisplay;
- -

- - Removes the receiver from its superviews list of subviews, - by invoking the superviews [-removeSubview:] method. -

- - -
-

removeSubview:

-- (void) removeSubview: (NSView*)aView;
-Standards: NotMacOS-X NotOpenStep
- -

- - Removes the view from the receivers list of subviews - and from the responder chain. -

- -

- - Also invokes [aView -viewWillMoveToWindow: nil] to handle - removal of aView (and recursively, its children) from its - window - performing tidyup by invalidating cursor rects etc. -

- - -
-

removeTrackingRect:

-- (void) removeTrackingRect: (NSTrackingRectTag)aTag;
- - -
-

renewGState

-- (void) renewGState;
- - Invalidates the view's gstate object so it will be set up - again using setUpGState the next time the view is focused. - -
-

replaceSubview:with:

-- (void) replaceSubview: (NSView*)oldView with: (NSView*)newView;
- -

- - Removes oldView from the receiver and places newView in its place. -

- - -
-

resetCursorRects

-- (void) resetCursorRects;
- - -
-

resizeSubviewsWithOldSize:

-- (void) resizeSubviewsWithOldSize: (NSSize)oldFrameSize;
- - -
-

resizeWithOldSuperviewSize:

-- (void) resizeWithOldSuperviewSize: (NSSize)oldFrameSize;
- - -
-

rotateByAngle:

-- (void) rotateByAngle: (float)angle;
- - -
-

scaleUnitSquareToSize:

-- (void) scaleUnitSquareToSize: (NSSize)newUnitSize;
- - -
-

scrollClipView:

-- (void) scrollClipView: (NSClipView*)aClipView;
- - -
-

scrollPoint:

-- (void) scrollPoint: (NSPoint)aPoint;
- - -
-

scrollRect:

-- (void) scrollRect: (NSRect)aRect;
- - -
-

scrollRectToVisible:

-- (BOOL) scrollRectToVisible: (NSRect)aRect;
- - -
-

setAutoresizesSubviews:

-- (void) setAutoresizesSubviews: (BOOL)flag;
- - -
-

setAutoresizingMask:

-- (void) setAutoresizingMask: (unsigned int)mask;
- - -
-

setBounds:

-- (void) setBounds: (NSRect)boundsRect;
- - -
-

setBoundsOrigin:

-- (void) setBoundsOrigin: (NSPoint)newOrigin;
- - -
-

setBoundsRotation:

-- (void) setBoundsRotation: (float)angle;
- - -
-

setBoundsSize:

-- (void) setBoundsSize: (NSSize)newSize;
- - -
-

setFrame:

-- (void) setFrame: (NSRect)frameRect;
- - -
-

setFrameOrigin:

-- (void) setFrameOrigin: (NSPoint)newOrigin;
- - -
-

setFrameRotation:

-- (void) setFrameRotation: (float)angle;
- - -
-

setFrameSize:

-- (void) setFrameSize: (NSSize)newSize;
- - -
-

setInterfaceStyle:

-- (void) setInterfaceStyle: (NSInterfaceStyle)interfaceStyle;
- - -
-

setNeedsDisplay:

-- (void) setNeedsDisplay: (BOOL)flag;
- - -
-

setNeedsDisplayInRect:

-- (void) setNeedsDisplayInRect: (NSRect)invalidRect;
- - -
-

setNextKeyView:

-- (void) setNextKeyView: (NSView*)aView;
- - -
-

setPostsBoundsChangedNotifications:

-- (void) setPostsBoundsChangedNotifications: (BOOL)flag;
- - -
-

setPostsFrameChangedNotifications:

-- (void) setPostsFrameChangedNotifications: (BOOL)flag;
- - -
-

setToolTip:

-- (void) setToolTip: (NSString*)string;
- - -
-

setUpGState

-- (void) setUpGState;
- - -
-

shouldDelayWindowOrderingForEvent:

-- (BOOL) shouldDelayWindowOrderingForEvent: (NSEvent*)theEvent;
- - -
-

shouldDrawColor

-- (BOOL) shouldDrawColor;
- - -
-

sortSubviewsUsingFunction:context:

-- (void) sortSubviewsUsingFunction: (int (*)(id,id,void*))compare context: (void*)context;
- - -
-

subviews

-- (NSArray*) subviews;
- - -
-

superview

-- (NSView*) superview;
- - -
-

tag

-- (int) tag;
- - -
-

toolTip

-- (NSString*) toolTip;
- - -
-

translateOriginToPoint:

-- (void) translateOriginToPoint: (NSPoint)newOrigin;
- - -
-

unlockFocus

-- (void) unlockFocus;
- - -
-

unregisterDraggedTypes

-- (void) unregisterDraggedTypes;
- - -
-

viewWillMoveToSuperview:

-- (void) viewWillMoveToSuperview: (NSView*)newSuperview;
- -

-Notifies the receiver that its superview is being changed to - newSuperview.

- - -
-

viewWillMoveToWindow:

-- (void) viewWillMoveToWindow: (NSWindow*)newWindow;
- -

-Notifies the receiver that it will now be a view of newWindow.

- - -
-

viewWithTag:

-- (id) viewWithTag: (int)aTag;
- - -
-

visibleRect

-- (NSRect) visibleRect;
- - -
-

widthAdjustLimit

-- (float) widthAdjustLimit;
- - -
-

window

-- (NSWindow*) window;
- -

- - Returns the window in which the receiver resides. -

- - -
-

writeEPSInsideRect:toPasteboard:

-- (void) writeEPSInsideRect: (NSRect)aRect toPasteboard: (NSPasteboard*)pboard;
- - -
- - - + + + NSView + + +

NSView

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
Ovidiu Predescu( + ovidiu@net-community.com + )
+
+
+
Richard Frith-Macdonald( + richard@brainstorm.co.uk + )
+
+
+
+
+ + The view class which encapsulates all drawing functionality +
+

Copyright: (C) (C) 1996 Free Software Foundation, Inc.

+

NSView

+

+ + NSView is an abstract class which provides facilities + for drawing in a window and receiving events. It is the + superclass of many of the visual elements of the + GUI. +

+

+ + In order to display itself, a view must be placed in a + window (represented by an NSWindow object). Within the + window is a hierarchy of NSViews, headed by the window's + content view. Every other view in a window is a + descendant of this view. +

+

+ + Subclasses can override drawRect: in + order to implement their appearance. Other methods of + NSView and NSResponder can also be overridden to handle + user generated events. +

+

NSView : NSResponder

+ Declared: AppKit/NSView.h
+

+ +

+

defaultMenu

+ + (NSMenu*) defaultMenu;
+

+ +

+
+

focusView

+ + (NSView*) focusView;
+

+ + Return the view at the top of graphics contexts + stack or nil if none is focused. +

+
+

acceptsFirstMouse:

+ - (BOOL) acceptsFirstMouse: (NSEvent*)theEvent;
+

+ + Returns YES if the view object will + accept the first click received when in an inactive + window, and NO otherwise. +

+
+

addCursorRect:cursor:

+ - (void) addCursorRect: (NSRect)aRect cursor: (NSCursor*)anObject;
+

+ +

+
+

addSubview:

+ - (void) addSubview: (NSView*)aView;
+

+ + Adds aView as a subview of the receiver. +

+
+

addSubview:positioned:relativeTo:

+ - (void) addSubview: (NSView*)aView positioned: (NSWindowOrderingMode)place relativeTo: (NSView*)otherView;
+

+ +

+
+

addToPageSetup

+ - (void) addToPageSetup;
+

+ +

+
+

addToolTipRect:owner:userData:

+ - (NSToolTipTag) addToolTipRect: (NSRect)aRect owner: (id)anObject userData: (void*)data;
+

+ +

+
+

addTrackingRect:owner:userData:assumeInside:

+ - (NSTrackingRectTag) addTrackingRect: (NSRect)aRect owner: (id)anObject userData: (void*)data assumeInside: (BOOL)flag;
+

+ +

+
+

adjustPageHeightNew:top:bottom:limit:

+ - (void) adjustPageHeightNew: (float*)newBottom top: (float)oldTop bottom: (float)oldBottom limit: (float)bottomLimit;
+

+ +

+
+

adjustPageWidthNew:left:right:limit:

+ - (void) adjustPageWidthNew: (float*)newRight left: (float)oldLeft right: (float)oldRight limit: (float)rightLimit;
+

+ +

+
+

adjustScroll:

+ - (NSRect) adjustScroll: (NSRect)newVisible;
+

+ +

+
+

allocateGState

+ - (void) allocateGState;
+

+ +

+
+

ancestorSharedWithView:

+ - (NSView*) ancestorSharedWithView: (NSView*)aView;
+

+ + Returns self if aView is + the receiver or aView is a subview of the + receiver, the ancestor view shared by + aView and the receiver, if any, + aView if it is an ancestor of the + receiver, otherwise returns nil. +

+
+

autoresizesSubviews

+ - (BOOL) autoresizesSubviews;
+

+ +

+
+

autoresizingMask

+ - (unsigned int) autoresizingMask;
+

+ +

+
+

autoscroll:

+ - (BOOL) autoscroll: (NSEvent*)theEvent;
+

+ +

+
+

beginDocument

+ - (void) beginDocument;
+

+ + Writes header and job information for the PostScript + document. This includes at a minimum, PostScript + header information. It may also include job setup + information if the output is intended for a + printer (i.e. not an EPS file). Most of the + information for writing the header comes from + the NSPrintOperation and NSPrintInfo objects associated + with the current print operation. There isn't normally + anything that the program needs to override at the + beginning of a document, although if there is + additional setup that needs to be done, you can + override the NSView's methods endHeaderComments, + endPrologue, beginSetup, and/or endSetup. This + method calls the above methods in the listed order + before or after writing the required information. + For an EPS operation, the beginSetup and endSetup + methods aren't used. +

+
+

beginPage:label:bBox:fonts:

+ - (void) beginPage: (int)ordinalNum label: (NSString*)aString bBox: (NSRect)pageRect fonts: (NSString*)fontNames;
+

+ +

+
+

beginPageInRect:atPlacement:

+ - (void) beginPageInRect: (NSRect)aRect atPlacement: (NSPoint)location;
+

+ +

+
+

beginPageSetupRect:placement:

+ - (void) beginPageSetupRect: (NSRect)aRect placement: (NSPoint)location;
+

+ +

+
+

beginPrologueBBox:creationDate:createdBy:fonts:forWhom:pages:title:

+ - (void) beginPrologueBBox: (NSRect)bBox creationDate: (NSString*)dateCreated createdBy: (NSString*)anApplication fonts: (NSString*)fontNames forWhom: (NSString*)user pages: (int)numPages title: (NSString*)aTitle;
+

+ +

+
+

beginSetup

+ - (void) beginSetup;
+

+ +

+
+

beginTrailer

+ - (void) beginTrailer;
+

+ +

+
+

bounds

+ - (NSRect) bounds;
+

+ +

+
+

boundsRotation

+ - (float) boundsRotation;
+

+ +

+
+

canDraw

+ - (BOOL) canDraw;
+

+ +

+
+

centerScanRect:

+ - (NSRect) centerScanRect: (NSRect)aRect;
+

+ +

+
+

convertPoint:fromView:

+ - (NSPoint) convertPoint: (NSPoint)aPoint fromView: (NSView*)aView;
+

+ +

+
+

convertPoint:toView:

+ - (NSPoint) convertPoint: (NSPoint)aPoint toView: (NSView*)aView;
+

+ +

+
+

convertRect:fromView:

+ - (NSRect) convertRect: (NSRect)aRect fromView: (NSView*)aView;
+

+ +

+
+

convertRect:toView:

+ - (NSRect) convertRect: (NSRect)aRect toView: (NSView*)aView;
+

+ +

+
+

convertSize:fromView:

+ - (NSSize) convertSize: (NSSize)aSize fromView: (NSView*)aView;
+

+ +

+
+

convertSize:toView:

+ - (NSSize) convertSize: (NSSize)aSize toView: (NSView*)aView;
+

+ +

+
+

dataWithEPSInsideRect:

+ - (NSData*) dataWithEPSInsideRect: (NSRect)aRect;
+

+ +

+
+

dataWithPDFInsideRect:

+ - (NSData*) dataWithPDFInsideRect: (NSRect)aRect;
+

+ +

+
+

didAddSubview:

+ - (void) didAddSubview: (NSView*)subview;
+

+ +

+
+

discardCursorRects

+ - (void) discardCursorRects;
+

+ +

+
+

display

+ - (void) display;
+

+ +

+
+

displayIfNeeded

+ - (void) displayIfNeeded;
+

+ +

+
+

displayIfNeededIgnoringOpacity

+ - (void) displayIfNeededIgnoringOpacity;
+

+ +

+
+

displayIfNeededInRect:

+ - (void) displayIfNeededInRect: (NSRect)aRect;
+

+ +

+
+

displayIfNeededInRectIgnoringOpacity:

+ - (void) displayIfNeededInRectIgnoringOpacity: (NSRect)aRect;
+

+ +

+
+

displayRect:

+ - (void) displayRect: (NSRect)rect;
+

+ +

+
+

displayRectIgnoringOpacity:

+ - (void) displayRectIgnoringOpacity: (NSRect)aRect;
+

+ +

+
+

dragFile:fromRect:slideBack:event:

+ - (BOOL) dragFile: (NSString*)filename fromRect: (NSRect)rect slideBack: (BOOL)slideFlag event: (NSEvent*)event;
+

+ +

+
+

dragImage:at:offset:event:pasteboard:source:slideBack:

+ - (void) dragImage: (NSImage*)anImage at: (NSPoint)viewLocation offset: (NSSize)initialOffset event: (NSEvent*)event pasteboard: (NSPasteboard*)pboard source: (id)sourceObject slideBack: (BOOL)slideFlag;
+

+ +

+
+

drawPageBorderWithSize:

+ - (void) drawPageBorderWithSize: (NSSize)borderSize;
+

+ +

+
+

drawRect:

+ - (void) drawRect: (NSRect)rect;
+

+ + This method is invoked to handle drawing inside the + view. The default NSView's implementation does + nothing; subclasses might override it to draw + something inside the view. Since NSView's + implementation is guaranteed to be empty, + you should not call super's implementation when you + override it in subclasses. drawRect: is invoked + when the focus has already been locked on the view; + you can use arbitrary postscript functions in drawRect: + to draw inside your view; the coordinate system in which + you draw is the view's own coordinate system (this + means for example that you should refer to the + rectangle covered by the view using its bounds, + and not its frame). The argument of drawRect: is the + rectangle which needs to be redrawn. In a lossy + implementation, you can ignore the argument + and redraw the whole view; if you are aiming at + performance, you may want to redraw only what + is inside the rectangle which needs to be redrawn; this + usually improves drawing performance considerably. +

+
+

drawSheetBorderWithSize:

+ - (void) drawSheetBorderWithSize: (NSSize)borderSize;
+

+ +

+
+

enclosingScrollView

+ - (NSScrollView*) enclosingScrollView;
+

+ +

+
+

endDocument

+ - (void) endDocument;
+

+ +

+
+

endHeaderComments

+ - (void) endHeaderComments;
+

+ +

+
+

endPage

+ - (void) endPage;
+

+ +

+
+

endPageSetup

+ - (void) endPageSetup;
+

+ +

+
+

endPrologue

+ - (void) endPrologue;
+

+ +

+
+

endSetup

+ - (void) endSetup;
+

+ +

+
+

endTrailer

+ - (void) endTrailer;
+

+ +

+
+

fax:

+ - (void) fax: (id)sender;
+

+ +

+
+

frame

+ - (NSRect) frame;
+

+ +

+
+

frameRotation

+ - (float) frameRotation;
+

+ +

+
+

gState

+ - (int) gState;
+

+ + Returns an identifier that represents the view's + gstate object, which is used to encapsulate drawing + information about the view. Most of the time a + gstate object is created from scratch when the view + is focused, so if the view is not currently focused or + allocateGState has not been called, then + this method will +

+
+

heightAdjustLimit

+ - (float) heightAdjustLimit;
+

+ +

+
+

hitTest:

+ - (NSView*) hitTest: (NSPoint)aPoint;
+

+ + Returns the subview, lowest in the receiver's + hierarchy, which contains aPoint +

+
+

initWithFrame:

+ - (id) initWithFrame: (NSRect)frameRect;
+

+ +

+
+

isDescendantOf:

+ - (BOOL) isDescendantOf: (NSView*)aView;
+

+ + Returns YES if aView is an + ancestor of the receiver. +

+
+

isFlipped

+ - (BOOL) isFlipped;
+

+ +

+
+

isOpaque

+ - (BOOL) isOpaque;
+

+ +

+
+

isRotatedFromBase

+ - (BOOL) isRotatedFromBase;
+

+ +

+
+

isRotatedOrScaledFromBase

+ - (BOOL) isRotatedOrScaledFromBase;
+

+ +

+
+

knowsPageRange:

+ - (BOOL) knowsPageRange: (NSRange*)range;
+

+ +

+
+

knowsPagesFirst:last:

+ - (BOOL) knowsPagesFirst: (int*)firstPageNum last: (int*)lastPageNum;
+

+ +

+
+

locationOfPrintRect:

+ - (NSPoint) locationOfPrintRect: (NSRect)aRect;
+

+ +

+
+

lockFocus

+ - (void) lockFocus;
+

+ +

+
+

lockFocusIfCanDraw

+ - (BOOL) lockFocusIfCanDraw;
+

+ +

+
+

menuForEvent:

+ - (NSMenu*) menuForEvent: (NSEvent*)theEvent;
+

+ +

+
+

mouse:inRect:

+ - (BOOL) mouse: (NSPoint)aPoint inRect: (NSRect)aRect;
+

+ + Returns whether or not aPoint lies + within aRect +

+
+

needsDisplay

+ - (BOOL) needsDisplay;
+

+ +

+
+

nextKeyView

+ - (NSView*) nextKeyView;
+

+ +

+
+

nextValidKeyView

+ - (NSView*) nextValidKeyView;
+

+ +

+
+

opaqueAncestor

+ - (NSView*) opaqueAncestor;
+

+ +

+
+

performKeyEquivalent:

+ - (BOOL) performKeyEquivalent: (NSEvent*)theEvent;
+

+ +

+
+

performMnemonic:

+ - (BOOL) performMnemonic: (NSString*)aString;
+

+ +

+
+

postsBoundsChangedNotifications

+ - (BOOL) postsBoundsChangedNotifications;
+

+ +

+
+

postsFrameChangedNotifications

+ - (BOOL) postsFrameChangedNotifications;
+

+ +

+
+

previousKeyView

+ - (NSView*) previousKeyView;
+

+ +

+
+

previousValidKeyView

+ - (NSView*) previousValidKeyView;
+

+ +

+
+

print:

+ - (void) print: (id)sender;
+

+ +

+
+

printJobTitle

+ - (NSString*) printJobTitle;
+

+ +

+
+

rectForPage:

+ - (NSRect) rectForPage: (int)page;
+

+ +

+
+

reflectScrolledClipView:

+ - (void) reflectScrolledClipView: (NSClipView*)aClipView;
+

+ +

+
+

registerForDraggedTypes:

+ - (void) registerForDraggedTypes: (NSArray*)types;
+

+ +

+
+

releaseGState

+ - (void) releaseGState;
+

+ + Frees the gstate object, if there is one. Note that + the next time the view is lockFocused, the gstate will + be allocated again. +

+
+

removeAllToolTips

+ - (void) removeAllToolTips;
+

+ +

+
+

removeCursorRect:cursor:

+ - (void) removeCursorRect: (NSRect)aRect cursor: (NSCursor*)anObject;
+

+ +

+
+

removeFromSuperview

+ - (void) removeFromSuperview;
+

+ +

+
+

removeFromSuperviewWithoutNeedingDisplay

+ - (void) removeFromSuperviewWithoutNeedingDisplay;
+

+ + Removes the receiver from its superviews list of + subviews, by invoking the superviews [ + + -removeSubview: + + + ] method. +

+
+

removeSubview:

+ - (void) removeSubview: (NSView*)aSubview;
+Standards: text p text p text
+

+ +

+
+

removeToolTip:

+ - (void) removeToolTip: (NSToolTipTag)tag;
+

+ +

+
+

removeTrackingRect:

+ - (void) removeTrackingRect: (NSTrackingRectTag)tag;
+

+ +

+
+

renewGState

+ - (void) renewGState;
+

+ + Invalidates the view's gstate object so it will + be set up again using setUpGState the next time the view + is focused. +

+
+

replaceSubview:with:

+ - (void) replaceSubview: (NSView*)oldView with: (NSView*)newView;
+

+ + Removes oldView from the receiver and + places newView in its place. +

+
+

resetCursorRects

+ - (void) resetCursorRects;
+

+ +

+
+

resizeSubviewsWithOldSize:

+ - (void) resizeSubviewsWithOldSize: (NSSize)oldSize;
+

+ +

+
+

resizeWithOldSuperviewSize:

+ - (void) resizeWithOldSuperviewSize: (NSSize)oldSize;
+

+ +

+
+

rotateByAngle:

+ - (void) rotateByAngle: (float)angle;
+

+ +

+
+

scaleUnitSquareToSize:

+ - (void) scaleUnitSquareToSize: (NSSize)newSize;
+

+ +

+
+

scrollClipView:toPoint:

+ - (void) scrollClipView: (NSClipView*)aClipView toPoint: (NSPoint)aPoint;
+

+ +

+
+

scrollPoint:

+ - (void) scrollPoint: (NSPoint)aPoint;
+

+ +

+
+

scrollRect:by:

+ - (void) scrollRect: (NSRect)aRect by: (NSSize)delta;
+

+ +

+
+

scrollRectToVisible:

+ - (BOOL) scrollRectToVisible: (NSRect)aRect;
+

+ +

+
+

setAutoresizesSubviews:

+ - (void) setAutoresizesSubviews: (BOOL)flag;
+

+ +

+
+

setAutoresizingMask:

+ - (void) setAutoresizingMask: (unsigned int)mask;
+

+ +

+
+

setBounds:

+ - (void) setBounds: (NSRect)aRect;
+

+ +

+
+

setBoundsOrigin:

+ - (void) setBoundsOrigin: (NSPoint)newOrigin;
+

+ +

+
+

setBoundsRotation:

+ - (void) setBoundsRotation: (float)angle;
+

+ +

+
+

setBoundsSize:

+ - (void) setBoundsSize: (NSSize)newSize;
+

+ +

+
+

setFrame:

+ - (void) setFrame: (NSRect)frameRect;
+

+ +

+
+

setFrameOrigin:

+ - (void) setFrameOrigin: (NSPoint)newOrigin;
+

+ +

+
+

setFrameRotation:

+ - (void) setFrameRotation: (float)angle;
+

+ +

+
+

setFrameSize:

+ - (void) setFrameSize: (NSSize)newSize;
+

+ +

+
+

setNeedsDisplay:

+ - (void) setNeedsDisplay: (BOOL)flag;
+

+ +

+
+

setNeedsDisplayInRect:

+ - (void) setNeedsDisplayInRect: (NSRect)rect;
+

+ +

+
+

setNextKeyView:

+ - (void) setNextKeyView: (NSView*)aView;
+

+ +

+
+

setPostsBoundsChangedNotifications:

+ - (void) setPostsBoundsChangedNotifications: (BOOL)flag;
+

+ +

+
+

setPostsFrameChangedNotifications:

+ - (void) setPostsFrameChangedNotifications: (BOOL)flag;
+

+ +

+
+

setPreviousKeyView:

+ - (void) setPreviousKeyView: (NSView*)aView;
+

+ +

+
+

setToolTip:

+ - (void) setToolTip: (NSString*)string;
+

+ +

+
+

setUpGState

+ - (void) setUpGState;
+

+ +

+
+

shouldDelayWindowOrderingForEvent:

+ - (BOOL) shouldDelayWindowOrderingForEvent: (NSEvent*)anEvent;
+

+ +

+
+

shouldDrawColor

+ - (BOOL) shouldDrawColor;
+

+ +

+
+

sortSubviewsUsingFunction:context:

+ - (void) sortSubviewsUsingFunction: (int (*)(id,id,void*))compare context: (void*)context;
+

+ +

+
+

subviews

+ - (NSArray*) subviews;
+

+ +

+
+

superview

+ - (NSView*) superview;
+

+ +

+
+

tag

+ - (int) tag;
+

+ +

+
+

toolTip

+ - (NSString*) toolTip;
+

+ +

+
+

translateOriginToPoint:

+ - (void) translateOriginToPoint: (NSPoint)point;
+

+ +

+
+

unlockFocus

+ - (void) unlockFocus;
+

+ +

+
+

unregisterDraggedTypes

+ - (void) unregisterDraggedTypes;
+

+ +

+
+

viewDidMoveToSuperview

+ - (void) viewDidMoveToSuperview;
+

+ +

+
+

viewDidMoveToWindow

+ - (void) viewDidMoveToWindow;
+

+ +

+
+

viewWillMoveToSuperview:

+ - (void) viewWillMoveToSuperview: (NSView*)newSuper;
+

+ + Notifies the receiver that its superview is being + changed to newSuperview. +

+
+

viewWillMoveToWindow:

+ - (void) viewWillMoveToWindow: (NSWindow*)newWindow;
+

+ + Notifies the receiver that it will now be a view + of newWindow. Note, this method is also used + when removing a view from a window (in which case, + newWindow is nil) to let all + the subviews know that they have also been removed from + the window. +

+
+

viewWithTag:

+ - (id) viewWithTag: (int)aTag;
+

+ +

+
+

visibleRect

+ - (NSRect) visibleRect;
+

+ +

+
+

widthAdjustLimit

+ - (float) widthAdjustLimit;
+

+ +

+
+

willRemoveSubview:

+ - (void) willRemoveSubview: (NSView*)subview;
+

+ +

+
+

window

+ - (NSWindow*) window;
+

+ + Returns the window in which the receiver resides. +

+
+

writeEPSInsideRect:toPasteboard:

+ - (void) writeEPSInsideRect: (NSRect)rect toPasteboard: (NSPasteboard*)pasteboard;
+

+ +

+
+

writePDFInsideRect:toPasteboard:

+ - (void) writePDFInsideRect: (NSRect)aRect toPasteboard: (NSPasteboard*)pboard;
+

+ +

+
+

+ Software documentation for the NSView(PrivateMethods) + category +

+

NSView(PrivateMethods)

+ Declared: AppKit/NSView.h
+

+ +

+

_invalidateCoordinates

+ - (void) _invalidateCoordinates;
+

+ +

+
+

_matrixFromWindow

+ - (NSAffineTransform*) _matrixFromWindow;
+

+ +

+
+

_matrixToWindow

+ - (NSAffineTransform*) _matrixToWindow;
+

+ +

+
+

_rebuildCoordinates

+ - (void) _rebuildCoordinates;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSWindow.gsdoc b/Documentation/gsdoc/NSWindow.gsdoc index e900af750..691fb3bda 100644 --- a/Documentation/gsdoc/NSWindow.gsdoc +++ b/Documentation/gsdoc/NSWindow.gsdoc @@ -1,58 +1,75 @@ - - + + NSWindow + + + scottc@net-community.com + + + + + far@ix.netcom.com + + - - + + richard@brainstorm.co.uk + - - - - $Revision$ - $Date$ + The window class + 1996 Free Software Foundation, Inc. NSWindow +

+ Instances of the NSWindow class handle on-screen + windows, their associated NSViews, and events generate + by the user. An NSWindow's size is defined by its frame + rectangle, which encompasses its entire structure, + and its content rectangle, which includes only the content. +

+

+ Every NSWindow has a content view, the NSView which forms + the root of the window's view hierarchy. This view can be + set using the setContentView: method, and + accessed through the contentView method. + setContentView: replaces the default + content view created by NSWindow. +

+

+ Other views may be added to the window by using the + content view's addSubview: method. These + subviews can also have subviews added, forming a tree + structure, the view hierarchy. When an NSWindow must + display itself, it causes this hierarchy to draw + itself. Leaf nodes in the view hierarchy are drawn + last, causing them to potentially obscure views further + up in the hierarchy. +

+

+ A delegate can be specified for an NSWindow, which will + receive notifications of events pertaining to the + window. The delegate is set using + setDelegate:, and can be retrieved using + delegate. The delegate can restrain + resizing by implementing the + windowWillResize: toSize: method, or + control the closing of the window by implementing + windowShouldClose:. +

- Gui/NSWindow.h + AppKit/NSWindow.h NSCoding - -

- Instances of the NSWindow class handle on-screen windows, their associated - NSViews, and events generate by the user. An NSWindow's size is defined by its - frame rectangle, which encompasses its entire structure, and its content rectangle, - which includes only the content. -

- -

- Every NSWindow has a content view, the NSView which forms the root of the - window's view hierarchy. This view can be set using the setContentView: - method, and accessed through the contentView method. - setContentView: replaces the default content view created by NSWindow. -

- -

- Other views may be added to the window by using the content view's - addSubview: method. These subviews can also have subviews added, forming - a tree structure, the view hierarchy. When an NSWindow must display itself, it causes - this hierarchy to draw itself. Leaf nodes in the view hierarchy are drawn last, - causing them to potentially obscure views further up in the hierarchy. -

- -

- A delegate can be specified for an NSWindow, which will receive notifications of - events pertaining to the window. The delegate is set using setDelegate:, - and can be retrieved using delegate. The delegate can restrain resizing - by implementing the windowWillResize: toSize: method, or control the closing - of the window by implementing windowShouldClose:. -

-
+ + contentRectForFrameRect: - frameRect + aRect + styleMask: + aStyle @@ -63,7 +80,9 @@ frameRectForContentRect: - contentRect + aRect + styleMask: + aStyle @@ -73,7 +92,7 @@ - + minFrameWidthWithTitle: aTitle styleMask: @@ -92,6 +111,17 @@ + + alphaValue + + + + + animationResizeTime: + newFrame + + + areCursorRectsEnabled @@ -138,6 +168,11 @@ + + canHide + + + canStoreColor @@ -162,26 +197,30 @@ constrainFrameRect: frameRect + toScreen: + screen contentView -

- Returns the NSWindow's content view. -

convertBaseToScreen: - aPoint + basePoint convertScreenToBase: - aPoint + screenPoint + + + + + counterpart @@ -192,6 +231,12 @@
dataWithEPSInsideRect: + rect + + + + + dataWithPDFInsideRect: aRect @@ -215,9 +260,10 @@ deminiaturize: sender - Causes the window to deminiaturize. Normally you would not call - this method directly. A window is automatically deminiaturized - by the user via a mouse cloick event. + Causes the window to deminiaturize. Normally you + would not call this method directly. A window is + automatically deminiaturized by the user via + a mouse cloick event. @@ -277,17 +323,22 @@ dragImage: anImage at: - aPoint + baseLocation offset: initialOffset event: - theEvent + event pasteboard: pboard source: sourceObject slideBack: - slideBack + slideFlag + + + + + drawers @@ -321,6 +372,8 @@ fieldEditor: createFlag + forObject: + anObject @@ -359,46 +412,56 @@
+ + hasShadow + + + hidesOnDeactivate - - initialFirstResponder - - - initWithContentRect: contentRect styleMask: - styleMask + aStyle backing: - backingType + bufferingType + defer: + flag -

- Initializes the receiver with a content rect of contentRect, a style mask of - styleMask, and a backing store type of backingType. -

-

- The style mask values are NSTitledWindowMask, for a window with a title, - NSClosableWindowMask, for a window with a close widget, - NSMiniaturizableWindowMask, for a window with a miniaturize widget, - and NSResizableWindowMask, for a window with a resizing widget. These - mask values can be OR'd in any combination. -

-

- Backing store values are NSBackingStoreBuffered, - NSBackingStoreRetained and NSBackingStoreNonretained. -

+

+ Initializes the receiver with a content rect + of contentRect, a style mask of + styleMask, and a backing store type of + backingType. +

+

+ The style mask values are + NSTitledWindowMask, for a window with + a title, NSClosableWindowMask, for a + window with a close widget, + NSMiniaturizableWindowMask, for a + window with a miniaturize widget, and + NSResizableWindowMask, for a window + with a resizing widget. These mask values can be + OR'd in any combination. +

+

+ Backing store values are + NSBackingStoreBuffered, + NSBackingStoreRetained and + NSBackingStoreNonretained. +

initWithContentRect: contentRect styleMask: - styleMask + aStyle backing: bufferingType defer: @@ -406,27 +469,42 @@ screen: aScreen -

- Initializes the receiver with a content rect of contentRect, a style mask of - styleMask, a backing store type of backingType and a boolean - flag. flag specifies whether the window should be created now - (NO), or when it is displayed (YES). -

-

- The style mask values are NSTitledWindowMask, for a window with a title, - NSClosableWindowMask, for a window with a close widget, - NSMiniaturizableWindowMask, for a window with a miniaturize widget, - and NSResizableWindowMask, for a window with a resizing widget. These - mask values can be OR'd in any combination. -

-

- Backing store values are NSBackingStoreBuffered, - NSBackingStoreRetained and NSBackingStoreNonretained. -

+

+ Initializes the receiver with a content rect + of contentRect, a style mask of + styleMask, a backing store type of + backingType and a boolean + flag. flag specifies whether + the window should be created now (NO), + or when it is displayed (YES). +

+

+ The style mask values are + NSTitledWindowMask, for a window with + a title, NSClosableWindowMask, for a + window with a close widget, + NSMiniaturizableWindowMask, for a + window with a miniaturize widget, and + NSResizableWindowMask, for a window + with a resizing widget. These mask values can be + OR'd in any combination. +

+

+ Backing store values are + NSBackingStoreBuffered, + NSBackingStoreRetained and + NSBackingStoreNonretained. +

- - interfaceStyle + + initWithWindowRef: + windowRef + + + + + initialFirstResponder @@ -469,7 +547,6 @@ isMiniaturized - Returns YES if the window has been miniaturized. @@ -477,6 +554,11 @@ + + isOpaque + + + isReleasedWhenClosed @@ -487,11 +569,6 @@ - - isZoomed; - - - keyDown: theEvent @@ -535,12 +612,18 @@ + + minSize + + + miniaturize: sender - Causes the window to miniaturize, that is the window is removed - from the screen and it's counterpart (mini)window is displayed. + Causes the window to miniaturize, that is the window + is removed from the screen and it's counterpart + (mini)window is displayed. @@ -553,11 +636,6 @@ - - minSize - - - mouseLocationOutsideOfEventStream @@ -573,11 +651,11 @@ nextEventMatchingMask: mask untilDate: - expirationDate + expiration inMode: - mode + mode dequeue: - dequeue + deqFlag @@ -608,7 +686,7 @@ orderWindow: place relativeTo: - otherWindowNumber + otherWin @@ -632,7 +710,9 @@ postEvent: - anEvent + event + atStart: + flag @@ -644,7 +724,7 @@ registerForDraggedTypes: - pboardTypes + newTypes @@ -683,6 +763,12 @@ + + runToolbarCustomizationPalette: + sender + + + saveFrameUsingName: name @@ -730,6 +816,12 @@ + + setAlphaValue: + windowAlpha + + + setAspectRatio: ratio @@ -744,13 +836,19 @@ setBackgroundColor: - aColor + color setBackingType: - backingType + type + + + + + setCanHide: + flag @@ -764,9 +862,8 @@ setContentView: aView -

- Sets the window's content view to aView, replacing any previous content view. -

+ Sets the window's content view to aView, + replacing any previous content view.
@@ -808,6 +905,18 @@ setFrame: frameRect + display: + flag + + + + + setFrame: + frameRect + display: + displayFlag + animate: + animationFlag @@ -819,7 +928,7 @@ setFrameFromString: - aString + string @@ -841,6 +950,20 @@ + + setFrameUsingName: + name + force: + force + + + + + setHasShadow: + hasShadow + + + setHidesOnDeactivate: flag @@ -853,12 +976,6 @@ - - setInterfaceStyle: - interfaceStyle - - - setLevel: newLevel @@ -871,30 +988,36 @@ - - setMiniwindowImage: - anImage - - - - - setMiniwindowTitle: - aString - - - setMinSize: aSize + + setMiniwindowImage: + image + + + + + setMiniwindowTitle: + title + + + setOneShot: flag + + setOpaque: + isOpaque + + + setReleasedWhenClosed: flag @@ -903,13 +1026,19 @@ setRepresentedFilename: - path + aString setResizeIncrements: - increments + aSize + + + + + setShowsResizeIndicator: + show @@ -917,14 +1046,19 @@ setTitle: aString -

- Sets the window's title to the string aString. -

+ Sets the window's title to the string + aString.
setTitleWithRepresentedFilename: - path + aString + + + + + setToolbar: + toolbar @@ -940,6 +1074,11 @@ + + showsResizeIndicator + + + stringWithSavedFrame @@ -953,14 +1092,26 @@ title -

- Returns an NSString containing the text of the window's title. -

+ Returns an NSString containing the text of the + window's title. +
+
+ + toggleToolbarShown: + sender + + + + + toolbar + tryToPerform: anAction + with: + anObject @@ -1008,6 +1159,11 @@
+ + windowRef + + + worksWhenModal @@ -1021,5 +1177,188 @@
+ + + Software documentation for the + NSObject(NSWindowDelegate) category + + + AppKit/NSWindow.h + + + + windowDidBecomeKey: + aNotification + + + + + windowDidBecomeMain: + aNotification + + + + + windowDidChangeScreen: + aNotification + + + + + windowDidDeminiaturize: + aNotification + + + + + windowDidExpose: + aNotification + + + + + windowDidMiniaturize: + aNotification + + + + + windowDidMove: + aNotification + + + + + windowDidResignKey: + aNotification + + + + + windowDidResignMain: + aNotification + + + + + windowDidResize: + aNotification + + + + + windowDidUpdate: + aNotification + + + + + windowShouldClose: + sender + + + + + windowShouldZoom: + sender + toFrame: + aFrame + + + + + windowWillClose: + aNotification + + + + + windowWillMiniaturize: + aNotification + + + + + windowWillMove: + aNotification + + + + + windowWillResize: + sender + toSize: + frameSize + + + + + windowWillReturnFieldEditor: + sender + toObject: + client + + + + + windowWillUseStandardFrame: + sender + defaultFrame: + aFrame + + + + + + + + Software documentation for the + NSWindow(GNUstepBackend) category + + + AppKit/NSWindow.h + + + + _captureMouse: + sender + + + + + _initDefaults + + + + + _releaseMouse: + sender + + + + + _setVisible: + flag + + + + + + + + Software documentation for the + NSWindow(GNUstepTextView) category + + + AppKit/NSWindow.h + + + + _futureFirstResponder + + + + +
diff --git a/Documentation/gsdoc/NSWindow.html b/Documentation/gsdoc/NSWindow.html index f31039856..df64b04b1 100644 --- a/Documentation/gsdoc/NSWindow.html +++ b/Documentation/gsdoc/NSWindow.html @@ -1,1104 +1,1334 @@ - - NSWindow - - -[Previous] -[Up] -[Next] -

NSWindow

-

Authors

-
-
Richard Frith-Macdonald -
-
James Dessart -
-
-

Version: $Revision$

-

Date: $Date$

-

NSWindow

-

NSWindow

-

Declared in: Gui/NSWindow.h

-

Inherits from: NSResponder

-

Conforms to: NSCoding -

-
- -

- - Instances of the NSWindow class handle on-screen windows, their associated - NSViews, and events generate by the user. An NSWindow's size is defined by its - frame rectangle, which encompasses its entire structure, and its content rectangle, - which includes only the content. -

- - -

- - Every NSWindow has a content view, the NSView which forms the root of the - window's view hierarchy. This view can be set using the setContentView: - method, and accessed through the contentView method. - setContentView: replaces the default content view created by NSWindow. -

- - -

- - Other views may be added to the window by using the content view's - addSubview: method. These subviews can also have subviews added, forming - a tree structure, the view hierarchy. When an NSWindow must display itself, it causes - this hierarchy to draw itself. Leaf nodes in the view hierarchy are drawn last, - causing them to potentially obscure views further up in the hierarchy. -

- - -

- - A delegate can be specified for an NSWindow, which will receive notifications of - events pertaining to the window. The delegate is set using setDelegate:, - and can be retrieved using delegate. The delegate can restrain resizing - by implementing the windowWillResize: toSize: method, or control the closing - of the window by implementing windowShouldClose:. -

- - -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

contentRectForFrameRect:

-+ (NSRect) contentRectForFrameRect: (NSRect)frameRect;
- - -
-

defaultDepthLimit

-+ (NSWindowDepth) defaultDepthLimit;
- - -
-

frameRectForContentRect:

-+ (NSRect) frameRectForContentRect: (NSRect)contentRect;
- - -
-

menuChanged:

-+ (void) menuChanged: (NSMenu*)aMenu;
- - -
-

minFrameWidthWithTitle:styleMask:

-+ (float) minFrameWidthWithTitle: (NSString*)aTitle styleMask: (unsigned int)aStyle;
- - -
-

removeFrameUsingName:

-+ (void) removeFrameUsingName: (NSString*)name;
- - -
-

Instances Methods

-

acceptsMouseMovedEvents

-- (BOOL) acceptsMouseMovedEvents;
- - -
-

areCursorRectsEnabled

-- (BOOL) areCursorRectsEnabled;
- - -
-

aspectRatio

-- (NSSize) aspectRatio;
- - -
-

backgroundColor

-- (NSColor*) backgroundColor;
- - -
-

backingType

-- (NSBackingStoreType) backingType;
- - -
-

becomeKeyWindow

-- (void) becomeKeyWindow;
- - -
-

becomeMainWindow

-- (void) becomeMainWindow;
- - -
-

cacheImageInRect:

-- (void) cacheImageInRect: (NSRect)aRect;
- - -
-

canBecomeKeyWindow

-- (BOOL) canBecomeKeyWindow;
- - -
-

canBecomeMainWindow

-- (BOOL) canBecomeMainWindow;
- - -
-

canStoreColor

-- (BOOL) canStoreColor;
- - -
-

cascadeTopLeftFromPoint:

-- (NSPoint) cascadeTopLeftFromPoint: (NSPoint)topLeftPoint;
- - -
-

center

-- (void) center;
- - -
-

close

-- (void) close;
- - -
-

constrainFrameRect:

-- (NSRect) constrainFrameRect: (NSRect)frameRect;
- - -
-

contentView

-- (id) contentView;
- -

- - Returns the NSWindow's content view. -

- - -
-

convertBaseToScreen:

-- (NSPoint) convertBaseToScreen: (NSPoint)aPoint;
- - -
-

convertScreenToBase:

-- (NSPoint) convertScreenToBase: (NSPoint)aPoint;
- - -
-

currentEvent

-- (NSEvent*) currentEvent;
- - -
-

dataWithEPSInsideRect:

-- (NSData*) dataWithEPSInsideRect: (NSRect)aRect;
- - -
-

deepestScreen

-- (NSScreen*) deepestScreen;
- - -
-

defaultButtonCell

-- (NSButtonCell*) defaultButtonCell;
- - -
-

delegate

-- (id) delegate;
- - -
-

deminiaturize:

-- (void) deminiaturize: (id)sender;
- - Causes the window to deminiaturize. Normally you would not call - this method directly. A window is automatically deminiaturized - by the user via a mouse cloick event. - -
-

depthLimit

-- (NSWindowDepth) depthLimit;
- - -
-

deviceDescription

-- (NSDictionary*) deviceDescription;
- - -
-

disableCursorRects

-- (void) disableCursorRects;
- - -
-

disableFlushWindow

-- (void) disableFlushWindow;
- - -
-

disableKeyEquivalentForDefaultButtonCell

-- (void) disableKeyEquivalentForDefaultButtonCell;
- - -
-

discardCachedImage

-- (void) discardCachedImage;
- - -
-

discardCursorRects

-- (void) discardCursorRects;
- - -
-

discardEventsMatchingMask:beforeEvent:

-- (void) discardEventsMatchingMask: (unsigned int)mask beforeEvent: (NSEvent*)lastEvent;
- - -
-

display

-- (void) display;
- - -
-

displayIfNeeded

-- (void) displayIfNeeded;
- - -
-

dragImage:at:offset:event:pasteboard:source:slideBack:

-- (void) dragImage: (NSImage*)anImage at: (NSPoint)aPoint offset: (NSSize)initialOffset event: (NSEvent *)theEvent pasteboard: (NSPasteboard*)pboard source: (id)sourceObject slideBack: (BOOL)slideBack;
- - -
-

enableCursorRects

-- (void) enableCursorRects;
- - -
-

enableFlushWindow

-- (void) enableFlushWindow;
- - -
-

enableKeyEquivalentForDefaultButtonCell

-- (void) enableKeyEquivalentForDefaultButtonCell;
- - -
-

endEditingFor:

-- (void) endEditingFor: (id)anObject;
- - -
-

fax:

-- (void) fax: (id)sender;
- - -
-

fieldEditor:

-- (NSText*) fieldEditor: (BOOL)createFlag;
- - -
-

firstResponder

-- (NSResponder*) firstResponder;
- - -
-

flushWindow

-- (void) flushWindow;
- - -
-

flushWindowIfNeeded

-- (void) flushWindowIfNeeded;
- - -
-

frame

-- (NSRect) frame;
- - -
-

frameAutosaveName

-- (NSString*) frameAutosaveName;
- - -
-

gState

-- (int) gState;
- - -
-

hasDynamicDepthLimit

-- (BOOL) hasDynamicDepthLimit;
- - -
-

hidesOnDeactivate

-- (BOOL) hidesOnDeactivate;
- - -
-

initialFirstResponder

-- (NSView*) initialFirstResponder;
- - -
-

initWithContentRect:styleMask:backing:

-- (id) initWithContentRect: (NSRect)contentRect styleMask: (unsigned int)styleMask backing: (NSBackingStoreType)backingType;
- -

- - Initializes the receiver with a content rect of contentRect, a style mask of - styleMask, and a backing store type of backingType. -

- -

- - The style mask values are NSTitledWindowMask, for a window with a title, - NSClosableWindowMask, for a window with a close widget, - NSMiniaturizableWindowMask, for a window with a miniaturize widget, - and NSResizableWindowMask, for a window with a resizing widget. These - mask values can be OR'd in any combination. -

- -

- - Backing store values are NSBackingStoreBuffered, - NSBackingStoreRetained and NSBackingStoreNonretained. -

- - -
-

initWithContentRect:styleMask:backing:defer:screen:

-- (id) initWithContentRect: (NSRect)contentRect styleMask: (unsigned int)styleMask backing: (NSBackingStoreType)bufferingType defer: (BOOL)flag screen: (NSScreen*)aScreen;
- -

- - Initializes the receiver with a content rect of contentRect, a style mask of - styleMask, a backing store type of backingType and a boolean - flag. flag specifies whether the window should be created now - (NO), or when it is displayed (YES). -

- -

- - The style mask values are NSTitledWindowMask, for a window with a title, - NSClosableWindowMask, for a window with a close widget, - NSMiniaturizableWindowMask, for a window with a miniaturize widget, - and NSResizableWindowMask, for a window with a resizing widget. These - mask values can be OR'd in any combination. -

- -

- - Backing store values are NSBackingStoreBuffered, - NSBackingStoreRetained and NSBackingStoreNonretained. -

- - -
-

interfaceStyle

-- (NSInterfaceStyle) interfaceStyle;
- - -
-

invalidateCursorRectsForView:

-- (void) invalidateCursorRectsForView: (NSView*)aView;
- - -
-

isAutodisplay

-- (BOOL) isAutodisplay;
- - -
-

isDocumentEdited

-- (BOOL) isDocumentEdited;
- - -
-

isExcludedFromWindowsMenu

-- (BOOL) isExcludedFromWindowsMenu;
- - -
-

isFlushWindowDisabled

-- (BOOL) isFlushWindowDisabled;
- - -
-

isKeyWindow

-- (BOOL) isKeyWindow;
- - -
-

isMainWindow

-- (BOOL) isMainWindow;
- - -
-

isMiniaturized

-- (BOOL) isMiniaturized;
- - Returns YES if the window has been miniaturized. - -
-

isOneShot

-- (BOOL) isOneShot;
- - -
-

isReleasedWhenClosed

-- (BOOL) isReleasedWhenClosed;
- - -
-

isVisible

-- (BOOL) isVisible;
- - -
-

isZoomed;

-- (BOOL) isZoomed;;
- - -
-

keyDown:

-- (void) keyDown: (NSEvent*)theEvent;
- - -
-

keyViewSelectionDirection

-- (NSSelectionDirection) keyViewSelectionDirection;
- - -
-

level

-- (int) level;
- - -
-

makeFirstResponder:

-- (BOOL) makeFirstResponder: (NSResponder*)aResponder;
- - -
-

makeKeyAndOrderFront:

-- (void) makeKeyAndOrderFront: (id)sender;
- - -
-

makeKeyWindow

-- (void) makeKeyWindow;
- - -
-

makeMainWindow

-- (void) makeMainWindow;
- - -
-

maxSize

-- (NSSize) maxSize;
- - -
-

miniaturize:

-- (void) miniaturize: (id)sender;
- - Causes the window to miniaturize, that is the window is removed - from the screen and it's counterpart (mini)window is displayed. - -
-

miniwindowImage

-- (NSImage*) miniwindowImage;
- - -
-

miniwindowTitle

-- (NSString*) miniwindowTitle;
- - -
-

minSize

-- (NSSize) minSize;
- - -
-

mouseLocationOutsideOfEventStream

-- (NSPoint) mouseLocationOutsideOfEventStream;
- - -
-

nextEventMatchingMask:

-- (NSEvent*) nextEventMatchingMask: (unsigned int)mask;
- - -
-

nextEventMatchingMask:untilDate:inMode:dequeue:

-- (NSEvent*) nextEventMatchingMask: (unsigned int)mask untilDate: (NSDate*)expirationDate inMode: (NSString *)mode dequeue: (BOOL)dequeue;
- - -
-

orderBack:

-- (void) orderBack: (id)sender;
- - -
-

orderFront:

-- (void) orderFront: (id)sender;
- - -
-

orderFrontRegardless

-- (void) orderFrontRegardless;
- - -
-

orderOut:

-- (void) orderOut: (id)sender;
- - -
-

orderWindow:relativeTo:

-- (void) orderWindow: (NSWindowOrderingMode)place relativeTo: (int)otherWindowNumber;
- - -
-

performClose:

-- (void) performClose: (id)sender;
- - -
-

performMiniaturize:

-- (void) performMiniaturize: (id)sender;
- - -
-

performZoom:

-- (void) performZoom: (id)sender;
- - -
-

postEvent:

-- (void) postEvent: (NSEvent*)anEvent;
- - -
-

print:

-- (void) print: (id)sender;
- - -
-

registerForDraggedTypes:

-- (void) registerForDraggedTypes: (NSArray*)pboardTypes;
- - -
-

representedFilename

-- (NSString*) representedFilename;
- - -
-

resetCursorRects

-- (void) resetCursorRects;
- - -
-

resignKeyWindow

-- (void) resignKeyWindow;
- - -
-

resignMainWindow

-- (void) resignMainWindow;
- - -
-

resizeFlags

-- (int) resizeFlags;
- - -
-

resizeIncrements

-- (NSSize) resizeIncrements;
- - -
-

restoreCachedImage

-- (void) restoreCachedImage;
- - -
-

saveFrameUsingName:

-- (void) saveFrameUsingName: (NSString*)name;
- - -
-

screen

-- (NSScreen*) screen;
- - -
-

selectKeyViewFollowingView:

-- (void) selectKeyViewFollowingView: (NSView*)aView;
- - -
-

selectKeyViewPrecedingView:

-- (void) selectKeyViewPrecedingView: (NSView*)aView;
- - -
-

selectNextKeyView:

-- (void) selectNextKeyView: (id)sender;
- - -
-

selectPreviousKeyView:

-- (void) selectPreviousKeyView: (id)sender;
- - -
-

sendEvent:

-- (void) sendEvent: (NSEvent*)theEvent;
- - -
-

setAcceptsMouseMovedEvents:

-- (void) setAcceptsMouseMovedEvents: (BOOL)flag;
- - -
-

setAspectRatio:

-- (void) setAspectRatio: (NSSize)ratio;
- - -
-

setAutodisplay:

-- (void) setAutodisplay: (BOOL)flag;
- - -
-

setBackgroundColor:

-- (void) setBackgroundColor: (NSColor*)aColor;
- - -
-

setBackingType:

-- (void) setBackingType: (NSBackingStoreType)backingType;
- - -
-

setContentSize:

-- (void) setContentSize: (NSSize)aSize;
- - -
-

setContentView:

-- (void) setContentView: (NSView*)aView;
- -

- - Sets the window's content view to aView, replacing any previous content view. -

- - -
-

setDefaultButtonCell:

-- (void) setDefaultButtonCell: (NSButtonCell*)aButtonCell;
- - -
-

setDelegate:

-- (void) setDelegate: (id)anObject;
- - -
-

setDepthLimit:

-- (void) setDepthLimit: (NSWindowDepth)limit;
- - -
-

setDocumentEdited:

-- (void) setDocumentEdited: (BOOL)flag;
- - -
-

setDynamicDepthLimit:

-- (void) setDynamicDepthLimit: (BOOL)flag;
- - -
-

setExcludedFromWindowsMenu:

-- (void) setExcludedFromWindowsMenu: (BOOL)flag;
- - -
-

setFrame:

-- (void) setFrame: (NSRect)frameRect;
- - -
-

setFrameAutosaveName:

-- (BOOL) setFrameAutosaveName: (NSString*)name;
- - -
-

setFrameFromString:

-- (void) setFrameFromString: (NSString*)aString;
- - -
-

setFrameOrigin:

-- (void) setFrameOrigin: (NSPoint)aPoint;
- - -
-

setFrameTopLeftPoint:

-- (void) setFrameTopLeftPoint: (NSPoint)aPoint;
- - -
-

setFrameUsingName:

-- (BOOL) setFrameUsingName: (NSString*)name;
- - -
-

setHidesOnDeactivate:

-- (void) setHidesOnDeactivate: (BOOL)flag;
- - -
-

setInitialFirstResponder:

-- (void) setInitialFirstResponder: (NSView*)aView;
- - -
-

setInterfaceStyle:

-- (void) setInterfaceStyle: (NSInterfaceStyle)interfaceStyle;
- - -
-

setLevel:

-- (void) setLevel: (int)newLevel;
- - -
-

setMaxSize:

-- (void) setMaxSize: (NSSize)aSize;
- - -
-

setMiniwindowImage:

-- (void) setMiniwindowImage: (NSImage*)anImage;
- - -
-

setMiniwindowTitle:

-- (void) setMiniwindowTitle: (NSString*)aString;
- - -
-

setMinSize:

-- (void) setMinSize: (NSSize)aSize;
- - -
-

setOneShot:

-- (void) setOneShot: (BOOL)flag;
- - -
-

setReleasedWhenClosed:

-- (void) setReleasedWhenClosed: (BOOL)flag;
- - -
-

setRepresentedFilename:

-- (void) setRepresentedFilename: (NSString*)path;
- - -
-

setResizeIncrements:

-- (void) setResizeIncrements: (NSSize)increments;
- - -
-

setTitle:

-- (void) setTitle: (NSString*)aString;
- -

- - Sets the window's title to the string aString. -

- - -
-

setTitleWithRepresentedFilename:

-- (void) setTitleWithRepresentedFilename: (NSString*)path;
- - -
-

setViewsNeedDisplay:

-- (void) setViewsNeedDisplay: (BOOL)flag;
- - -
-

setWindowController:

-- (void) setWindowController: (NSWindowController*)windowController;
- - -
-

stringWithSavedFrame

-- (NSString*) stringWithSavedFrame;
- - -
-

styleMask

-- (unsigned int) styleMask;
- - -
-

title

-- (NSString*) title;
- -

- - Returns an NSString containing the text of the window's title. -

- - -
-

tryToPerform:

-- (BOOL) tryToPerform: (SEL)anAction;
- - -
-

unregisterDraggedTypes

-- (void) unregisterDraggedTypes;
- - -
-

update

-- (void) update;
- - -
-

useOptimizedDrawing:

-- (void) useOptimizedDrawing: (BOOL)flag;
- - -
-

validRequestorForSendType:returnType:

-- (id) validRequestorForSendType: (NSString*)sendType returnType: (NSString*)returnType;
- - -
-

viewsNeedDisplay

-- (BOOL) viewsNeedDisplay;
- - -
-

windowController

-- (id) windowController;
- - -
-

windowHandle

-- (void*) windowHandle;
- - -
-

windowNumber

-- (int) windowNumber;
- - -
-

worksWhenModal

-- (BOOL) worksWhenModal;
- - -
-

zoom:

-- (void) zoom: (id)sender;
- - -
- - - + + + NSWindow + + +

NSWindow

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
Felipe A. Rodriguez( + far@ix.netcom.com + )
+
+
+
Richard Frith-Macdonald( + richard@brainstorm.co.uk + )
+
+
+
+
+The window class
+

Copyright: (C) 1996 Free Software Foundation, Inc.

+

NSWindow

+

+ + Instances of the NSWindow class handle on-screen + windows, their associated NSViews, and events generate + by the user. An NSWindow's size is defined by its frame + rectangle, which encompasses its entire structure, + and its content rectangle, which includes only the content. +

+

+ + Every NSWindow has a content view, the NSView which forms + the root of the window's view hierarchy. This view can be + set using the setContentView: method, and + accessed through the contentView method. + setContentView: replaces the default + content view created by NSWindow. +

+

+ + Other views may be added to the window by using the + content view's addSubview: method. These + subviews can also have subviews added, forming a tree + structure, the view hierarchy. When an NSWindow must + display itself, it causes this hierarchy to draw + itself. Leaf nodes in the view hierarchy are drawn + last, causing them to potentially obscure views further + up in the hierarchy. +

+

+ + A delegate can be specified for an NSWindow, which will + receive notifications of events pertaining to the + window. The delegate is set using + setDelegate:, and can be retrieved using + delegate. The delegate can restrain + resizing by implementing the + windowWillResize: toSize: method, or + control the closing of the window by implementing + windowShouldClose:. +

+

NSWindow : NSResponder

+ Declared: AppKit/NSWindow.h
+ Conform: NSCoding
+

+ +

+

contentRectForFrameRect:styleMask:

+ + (NSRect) contentRectForFrameRect: (NSRect)aRect styleMask: (unsigned int)aStyle;
+

+ +

+
+

defaultDepthLimit

+ + (NSWindowDepth) defaultDepthLimit;
+

+ +

+
+

frameRectForContentRect:styleMask:

+ + (NSRect) frameRectForContentRect: (NSRect)aRect styleMask: (unsigned int)aStyle;
+

+ +

+
+

menuChanged:

+ + (void) menuChanged: (NSMenu*)aMenu;
+

+ +

+
+

minFrameWidthWithTitle:styleMask:

+ + (NSRect) minFrameWidthWithTitle: (NSString*)aTitle styleMask: (unsigned int)aStyle;
+

+ +

+
+

removeFrameUsingName:

+ + (void) removeFrameUsingName: (NSString*)name;
+

+ +

+
+

acceptsMouseMovedEvents

+ - (BOOL) acceptsMouseMovedEvents;
+

+ +

+
+

alphaValue

+ - (float) alphaValue;
+

+ +

+
+

animationResizeTime:

+ - (NSTimeInterval) animationResizeTime: (NSRect)newFrame;
+

+ +

+
+

areCursorRectsEnabled

+ - (BOOL) areCursorRectsEnabled;
+

+ +

+
+

aspectRatio

+ - (NSSize) aspectRatio;
+

+ +

+
+

backgroundColor

+ - (NSColor*) backgroundColor;
+

+ +

+
+

backingType

+ - (NSBackingStoreType) backingType;
+

+ +

+
+

becomeKeyWindow

+ - (void) becomeKeyWindow;
+

+ +

+
+

becomeMainWindow

+ - (void) becomeMainWindow;
+

+ +

+
+

cacheImageInRect:

+ - (void) cacheImageInRect: (NSRect)aRect;
+

+ +

+
+

canBecomeKeyWindow

+ - (BOOL) canBecomeKeyWindow;
+

+ +

+
+

canBecomeMainWindow

+ - (BOOL) canBecomeMainWindow;
+

+ +

+
+

canHide

+ - (BOOL) canHide;
+

+ +

+
+

canStoreColor

+ - (BOOL) canStoreColor;
+

+ +

+
+

cascadeTopLeftFromPoint:

+ - (NSPoint) cascadeTopLeftFromPoint: (NSPoint)topLeftPoint;
+

+ +

+
+

center

+ - (void) center;
+

+ +

+
+

close

+ - (void) close;
+

+ +

+
+

constrainFrameRect:toScreen:

+ - (NSRect) constrainFrameRect: (NSRect)frameRect toScreen: (id)screen;
+

+ +

+
+

contentView

+ - (id) contentView;
+

+ +

+
+

convertBaseToScreen:

+ - (NSPoint) convertBaseToScreen: (NSPoint)basePoint;
+

+ +

+
+

convertScreenToBase:

+ - (NSPoint) convertScreenToBase: (NSPoint)screenPoint;
+

+ +

+
+

counterpart

+ - (NSWindow*) counterpart;
+

+ +

+
+

currentEvent

+ - (NSEvent*) currentEvent;
+

+ +

+
+

dataWithEPSInsideRect:

+ - (NSData*) dataWithEPSInsideRect: (NSRect)rect;
+

+ +

+
+

dataWithPDFInsideRect:

+ - (NSData*) dataWithPDFInsideRect: (NSRect)aRect;
+

+ +

+
+

deepestScreen

+ - (NSScreen*) deepestScreen;
+

+ +

+
+

defaultButtonCell

+ - (NSButtonCell*) defaultButtonCell;
+

+ +

+
+

delegate

+ - (id) delegate;
+

+ +

+
+

deminiaturize:

+ - (void) deminiaturize: (id)sender;
+

+ + Causes the window to deminiaturize. Normally you + would not call this method directly. A window is + automatically deminiaturized by the user via + a mouse cloick event. +

+
+

depthLimit

+ - (NSWindowDepth) depthLimit;
+

+ +

+
+

deviceDescription

+ - (NSDictionary*) deviceDescription;
+

+ +

+
+

disableCursorRects

+ - (void) disableCursorRects;
+

+ +

+
+

disableFlushWindow

+ - (void) disableFlushWindow;
+

+ +

+
+

disableKeyEquivalentForDefaultButtonCell

+ - (void) disableKeyEquivalentForDefaultButtonCell;
+

+ +

+
+

discardCachedImage

+ - (void) discardCachedImage;
+

+ +

+
+

discardCursorRects

+ - (void) discardCursorRects;
+

+ +

+
+

discardEventsMatchingMask:beforeEvent:

+ - (void) discardEventsMatchingMask: (unsigned int)mask beforeEvent: (NSEvent*)lastEvent;
+

+ +

+
+

display

+ - (void) display;
+

+ +

+
+

displayIfNeeded

+ - (void) displayIfNeeded;
+

+ +

+
+

dragImage:at:offset:event:pasteboard:source:slideBack:

+ - (void) dragImage: (NSImage*)anImage at: (NSPoint)baseLocation offset: (NSSize)initialOffset event: (NSEvent*)event pasteboard: (NSPasteboard*)pboard source: (id)sourceObject slideBack: (BOOL)slideFlag;
+

+ +

+
+

drawers

+ - (NSArray*) drawers;
+

+ +

+
+

enableCursorRects

+ - (void) enableCursorRects;
+

+ +

+
+

enableFlushWindow

+ - (void) enableFlushWindow;
+

+ +

+
+

enableKeyEquivalentForDefaultButtonCell

+ - (void) enableKeyEquivalentForDefaultButtonCell;
+

+ +

+
+

endEditingFor:

+ - (void) endEditingFor: (id)anObject;
+

+ +

+
+

fax:

+ - (void) fax: (id)sender;
+

+ +

+
+

fieldEditor:forObject:

+ - (NSText*) fieldEditor: (BOOL)createFlag forObject: (id)anObject;
+

+ +

+
+

firstResponder

+ - (NSResponder*) firstResponder;
+

+ +

+
+

flushWindow

+ - (void) flushWindow;
+

+ +

+
+

flushWindowIfNeeded

+ - (void) flushWindowIfNeeded;
+

+ +

+
+

frame

+ - (NSRect) frame;
+

+ +

+
+

frameAutosaveName

+ - (NSString*) frameAutosaveName;
+

+ +

+
+

gState

+ - (int) gState;
+

+ +

+
+

hasDynamicDepthLimit

+ - (BOOL) hasDynamicDepthLimit;
+

+ +

+
+

hasShadow

+ - (BOOL) hasShadow;
+

+ +

+
+

hidesOnDeactivate

+ - (BOOL) hidesOnDeactivate;
+

+ +

+
+

initWithContentRect:styleMask:backing:defer:

+ - (id) initWithContentRect: (NSRect)contentRect styleMask: (unsigned int)aStyle backing: (NSBackingStoreType)bufferingType defer: (BOOL)flag;
+

+ +

+
+

initWithContentRect:styleMask:backing:defer:screen:

+ - (id) initWithContentRect: (NSRect)contentRect styleMask: (unsigned int)aStyle backing: (NSBackingStoreType)bufferingType defer: (BOOL)flag screen: (NSScreen*)aScreen;
+

+ +

+
+

initWithWindowRef:

+ - (NSWindow*) initWithWindowRef: (void*)windowRef;
+

+ +

+
+

initialFirstResponder

+ - (NSView*) initialFirstResponder;
+

+ +

+
+

invalidateCursorRectsForView:

+ - (void) invalidateCursorRectsForView: (NSView*)aView;
+

+ +

+
+

isAutodisplay

+ - (BOOL) isAutodisplay;
+

+ +

+
+

isDocumentEdited

+ - (BOOL) isDocumentEdited;
+

+ +

+
+

isExcludedFromWindowsMenu

+ - (BOOL) isExcludedFromWindowsMenu;
+

+ +

+
+

isFlushWindowDisabled

+ - (BOOL) isFlushWindowDisabled;
+

+ +

+
+

isKeyWindow

+ - (BOOL) isKeyWindow;
+

+ +

+
+

isMainWindow

+ - (BOOL) isMainWindow;
+

+ +

+
+

isMiniaturized

+ - (BOOL) isMiniaturized;
+

+ +

+
+

isOneShot

+ - (BOOL) isOneShot;
+

+ +

+
+

isOpaque

+ - (BOOL) isOpaque;
+

+ +

+
+

isReleasedWhenClosed

+ - (BOOL) isReleasedWhenClosed;
+

+ +

+
+

isVisible

+ - (BOOL) isVisible;
+

+ +

+
+

keyDown:

+ - (void) keyDown: (NSEvent*)theEvent;
+

+ +

+
+

keyViewSelectionDirection

+ - (NSSelectionDirection) keyViewSelectionDirection;
+

+ +

+
+

level

+ - (int) level;
+

+ +

+
+

makeFirstResponder:

+ - (BOOL) makeFirstResponder: (NSResponder*)aResponder;
+

+ +

+
+

makeKeyAndOrderFront:

+ - (void) makeKeyAndOrderFront: (id)sender;
+

+ +

+
+

makeKeyWindow

+ - (void) makeKeyWindow;
+

+ +

+
+

makeMainWindow

+ - (void) makeMainWindow;
+

+ +

+
+

maxSize

+ - (NSSize) maxSize;
+

+ +

+
+

minSize

+ - (NSSize) minSize;
+

+ +

+
+

miniaturize:

+ - (void) miniaturize: (id)sender;
+

+ + Causes the window to miniaturize, that is the window + is removed from the screen and it's counterpart + (mini)window is displayed. +

+
+

miniwindowImage

+ - (NSImage*) miniwindowImage;
+

+ +

+
+

miniwindowTitle

+ - (NSString*) miniwindowTitle;
+

+ +

+
+

mouseLocationOutsideOfEventStream

+ - (NSPoint) mouseLocationOutsideOfEventStream;
+

+ +

+
+

nextEventMatchingMask:

+ - (NSEvent*) nextEventMatchingMask: (unsigned int)mask;
+

+ +

+
+

nextEventMatchingMask:untilDate:inMode:dequeue:

+ - (NSEvent*) nextEventMatchingMask: (unsigned int)mask untilDate: (NSDate*)expiration inMode: (NSString*)mode dequeue: (BOOL)deqFlag;
+

+ +

+
+

orderBack:

+ - (void) orderBack: (id)sender;
+

+ +

+
+

orderFront:

+ - (void) orderFront: (id)sender;
+

+ +

+
+

orderFrontRegardless

+ - (void) orderFrontRegardless;
+

+ +

+
+

orderOut:

+ - (void) orderOut: (id)sender;
+

+ +

+
+

orderWindow:relativeTo:

+ - (void) orderWindow: (NSWindowOrderingMode)place relativeTo: (int)otherWin;
+

+ +

+
+

performClose:

+ - (void) performClose: (id)sender;
+

+ +

+
+

performMiniaturize:

+ - (void) performMiniaturize: (id)sender;
+

+ +

+
+

performZoom:

+ - (void) performZoom: (id)sender;
+

+ +

+
+

postEvent:atStart:

+ - (void) postEvent: (NSEvent*)event atStart: (BOOL)flag;
+

+ +

+
+

print:

+ - (void) print: (id)sender;
+

+ +

+
+

registerForDraggedTypes:

+ - (void) registerForDraggedTypes: (NSArray*)newTypes;
+

+ +

+
+

representedFilename

+ - (NSString*) representedFilename;
+

+ +

+
+

resetCursorRects

+ - (void) resetCursorRects;
+

+ +

+
+

resignKeyWindow

+ - (void) resignKeyWindow;
+

+ +

+
+

resignMainWindow

+ - (void) resignMainWindow;
+

+ +

+
+

resizeFlags

+ - (int) resizeFlags;
+

+ +

+
+

resizeIncrements

+ - (NSSize) resizeIncrements;
+

+ +

+
+

restoreCachedImage

+ - (void) restoreCachedImage;
+

+ +

+
+

runToolbarCustomizationPalette:

+ - (void) runToolbarCustomizationPalette: (id)sender;
+

+ +

+
+

saveFrameUsingName:

+ - (void) saveFrameUsingName: (NSString*)name;
+

+ +

+
+

screen

+ - (NSScreen*) screen;
+

+ +

+
+

selectKeyViewFollowingView:

+ - (void) selectKeyViewFollowingView: (NSView*)aView;
+

+ +

+
+

selectKeyViewPrecedingView:

+ - (void) selectKeyViewPrecedingView: (NSView*)aView;
+

+ +

+
+

selectNextKeyView:

+ - (void) selectNextKeyView: (id)sender;
+

+ +

+
+

selectPreviousKeyView:

+ - (void) selectPreviousKeyView: (id)sender;
+

+ +

+
+

sendEvent:

+ - (void) sendEvent: (NSEvent*)theEvent;
+

+ +

+
+

setAcceptsMouseMovedEvents:

+ - (void) setAcceptsMouseMovedEvents: (BOOL)flag;
+

+ +

+
+

setAlphaValue:

+ - (void) setAlphaValue: (float)windowAlpha;
+

+ +

+
+

setAspectRatio:

+ - (void) setAspectRatio: (NSSize)ratio;
+

+ +

+
+

setAutodisplay:

+ - (void) setAutodisplay: (BOOL)flag;
+

+ +

+
+

setBackgroundColor:

+ - (void) setBackgroundColor: (NSColor*)color;
+

+ +

+
+

setBackingType:

+ - (void) setBackingType: (NSBackingStoreType)type;
+

+ +

+
+

setCanHide:

+ - (void) setCanHide: (BOOL)flag;
+

+ +

+
+

setContentSize:

+ - (void) setContentSize: (NSSize)aSize;
+

+ +

+
+

setContentView:

+ - (void) setContentView: (NSView*)aView;
+

+ + Sets the window's content view to aView, + replacing any previous content view. +

+
+

setDefaultButtonCell:

+ - (void) setDefaultButtonCell: (NSButtonCell*)aButtonCell;
+

+ +

+
+

setDelegate:

+ - (void) setDelegate: (id)anObject;
+

+ +

+
+

setDepthLimit:

+ - (void) setDepthLimit: (NSWindowDepth)limit;
+

+ +

+
+

setDocumentEdited:

+ - (void) setDocumentEdited: (BOOL)flag;
+

+ +

+
+

setDynamicDepthLimit:

+ - (void) setDynamicDepthLimit: (BOOL)flag;
+

+ +

+
+

setExcludedFromWindowsMenu:

+ - (void) setExcludedFromWindowsMenu: (BOOL)flag;
+

+ +

+
+

setFrame:display:

+ - (void) setFrame: (NSRect)frameRect display: (BOOL)flag;
+

+ +

+
+

setFrame:display:animate:

+ - (void) setFrame: (NSRect)frameRect display: (BOOL)displayFlag animate: (BOOL)animationFlag;
+

+ +

+
+

setFrameAutosaveName:

+ - (BOOL) setFrameAutosaveName: (NSString*)name;
+

+ +

+
+

setFrameFromString:

+ - (void) setFrameFromString: (NSString*)string;
+

+ +

+
+

setFrameOrigin:

+ - (void) setFrameOrigin: (NSPoint)aPoint;
+

+ +

+
+

setFrameTopLeftPoint:

+ - (void) setFrameTopLeftPoint: (NSPoint)aPoint;
+

+ +

+
+

setFrameUsingName:

+ - (BOOL) setFrameUsingName: (NSString*)name;
+

+ +

+
+

setFrameUsingName:force:

+ - (BOOL) setFrameUsingName: (NSString*)name force: (BOOL)force;
+

+ +

+
+

setHasShadow:

+ - (void) setHasShadow: (BOOL)hasShadow;
+

+ +

+
+

setHidesOnDeactivate:

+ - (void) setHidesOnDeactivate: (BOOL)flag;
+

+ +

+
+

setInitialFirstResponder:

+ - (void) setInitialFirstResponder: (NSView*)aView;
+

+ +

+
+

setLevel:

+ - (void) setLevel: (int)newLevel;
+

+ +

+
+

setMaxSize:

+ - (void) setMaxSize: (NSSize)aSize;
+

+ +

+
+

setMinSize:

+ - (void) setMinSize: (NSSize)aSize;
+

+ +

+
+

setMiniwindowImage:

+ - (void) setMiniwindowImage: (NSImage*)image;
+

+ +

+
+

setMiniwindowTitle:

+ - (void) setMiniwindowTitle: (NSString*)title;
+

+ +

+
+

setOneShot:

+ - (void) setOneShot: (BOOL)flag;
+

+ +

+
+

setOpaque:

+ - (void) setOpaque: (BOOL)isOpaque;
+

+ +

+
+

setReleasedWhenClosed:

+ - (void) setReleasedWhenClosed: (BOOL)flag;
+

+ +

+
+

setRepresentedFilename:

+ - (void) setRepresentedFilename: (NSString*)aString;
+

+ +

+
+

setResizeIncrements:

+ - (void) setResizeIncrements: (NSSize)aSize;
+

+ +

+
+

setShowsResizeIndicator:

+ - (void) setShowsResizeIndicator: (BOOL)show;
+

+ +

+
+

setTitle:

+ - (void) setTitle: (NSString*)aString;
+

+ + Sets the window's title to the string + aString. +

+
+

setTitleWithRepresentedFilename:

+ - (void) setTitleWithRepresentedFilename: (NSString*)aString;
+

+ +

+
+

setToolbar:

+ - (void) setToolbar: (NSToolbar*)toolbar;
+

+ +

+
+

setViewsNeedDisplay:

+ - (void) setViewsNeedDisplay: (BOOL)flag;
+

+ +

+
+

setWindowController:

+ - (void) setWindowController: (NSWindowController*)windowController;
+

+ +

+
+

showsResizeIndicator

+ - (BOOL) showsResizeIndicator;
+

+ +

+
+

stringWithSavedFrame

+ - (NSString*) stringWithSavedFrame;
+

+ +

+
+

styleMask

+ - (unsigned int) styleMask;
+

+ +

+
+

title

+ - (NSString*) title;
+

+ + Returns an NSString containing the text of the + window's title. +

+
+

toggleToolbarShown:

+ - (void) toggleToolbarShown: (id)sender;
+

+ +

+
+

toolbar

+ - (NSToolbar*) toolbar;
+

+ +

+
+

tryToPerform:with:

+ - (BOOL) tryToPerform: (SEL)anAction with: (id)anObject;
+

+ +

+
+

unregisterDraggedTypes

+ - (void) unregisterDraggedTypes;
+

+ +

+
+

update

+ - (void) update;
+

+ +

+
+

useOptimizedDrawing:

+ - (void) useOptimizedDrawing: (BOOL)flag;
+

+ +

+
+

validRequestorForSendType:returnType:

+ - (id) validRequestorForSendType: (NSString*)sendType returnType: (NSString*)returnType;
+

+ +

+
+

viewsNeedDisplay

+ - (BOOL) viewsNeedDisplay;
+

+ +

+
+

windowController

+ - (id) windowController;
+

+ +

+
+

windowHandle

+ - (void*) windowHandle;
+

+ +

+
+

windowNumber

+ - (int) windowNumber;
+

+ +

+
+

windowRef

+ - (void*) windowRef;
+

+ +

+
+

worksWhenModal

+ - (BOOL) worksWhenModal;
+

+ +

+
+

zoom:

+ - (void) zoom: (id)sender;
+

+ +

+
+

+ Software documentation for the + NSObject(NSWindowDelegate) category +

+

NSObject(NSWindowDelegate)

+ Declared: AppKit/NSWindow.h
+

+ +

+

windowDidBecomeKey:

+ - (void) windowDidBecomeKey: (NSNotification*)aNotification;
+

+ +

+
+

windowDidBecomeMain:

+ - (void) windowDidBecomeMain: (NSNotification*)aNotification;
+

+ +

+
+

windowDidChangeScreen:

+ - (void) windowDidChangeScreen: (NSNotification*)aNotification;
+

+ +

+
+

windowDidDeminiaturize:

+ - (void) windowDidDeminiaturize: (NSNotification*)aNotification;
+

+ +

+
+

windowDidExpose:

+ - (void) windowDidExpose: (NSNotification*)aNotification;
+

+ +

+
+

windowDidMiniaturize:

+ - (void) windowDidMiniaturize: (NSNotification*)aNotification;
+

+ +

+
+

windowDidMove:

+ - (void) windowDidMove: (NSNotification*)aNotification;
+

+ +

+
+

windowDidResignKey:

+ - (void) windowDidResignKey: (NSNotification*)aNotification;
+

+ +

+
+

windowDidResignMain:

+ - (void) windowDidResignMain: (NSNotification*)aNotification;
+

+ +

+
+

windowDidResize:

+ - (void) windowDidResize: (NSNotification*)aNotification;
+

+ +

+
+

windowDidUpdate:

+ - (void) windowDidUpdate: (NSNotification*)aNotification;
+

+ +

+
+

windowShouldClose:

+ - (BOOL) windowShouldClose: (id)sender;
+

+ +

+
+

windowShouldZoom:toFrame:

+ - (BOOL) windowShouldZoom: (NSWindow*)sender toFrame: (NSRect)aFrame;
+

+ +

+
+

windowWillClose:

+ - (void) windowWillClose: (NSNotification*)aNotification;
+

+ +

+
+

windowWillMiniaturize:

+ - (void) windowWillMiniaturize: (NSNotification*)aNotification;
+

+ +

+
+

windowWillMove:

+ - (void) windowWillMove: (NSNotification*)aNotification;
+

+ +

+
+

windowWillResize:toSize:

+ - (NSSize) windowWillResize: (NSWindow*)sender toSize: (NSSize)frameSize;
+

+ +

+
+

windowWillReturnFieldEditor:toObject:

+ - (id) windowWillReturnFieldEditor: (NSWindow*)sender toObject: (id)client;
+

+ +

+
+

windowWillUseStandardFrame:defaultFrame:

+ - (NSRect) windowWillUseStandardFrame: (NSWindow*)sender defaultFrame: (NSRect)aFrame;
+

+ +

+
+

+ Software documentation for the + NSWindow(GNUstepBackend) category +

+

NSWindow(GNUstepBackend)

+ Declared: AppKit/NSWindow.h
+

+ +

+

_captureMouse:

+ - (void) _captureMouse: (id)sender;
+

+ +

+
+

_initDefaults

+ - (void) _initDefaults;
+

+ +

+
+

_releaseMouse:

+ - (void) _releaseMouse: (id)sender;
+

+ +

+
+

_setVisible:

+ - (void) _setVisible: (BOOL)flag;
+

+ +

+
+

+ Software documentation for the + NSWindow(GNUstepTextView) category +

+

NSWindow(GNUstepTextView)

+ Declared: AppKit/NSWindow.h
+

+ +

+

_futureFirstResponder

+ - (id) _futureFirstResponder;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSWindowController.gsdoc b/Documentation/gsdoc/NSWindowController.gsdoc index 981d45c3b..379121083 100644 --- a/Documentation/gsdoc/NSWindowController.gsdoc +++ b/Documentation/gsdoc/NSWindowController.gsdoc @@ -1,23 +1,22 @@ - - + + NSWindowController - - - - - $Revision$ - $Date$ + + 2000 Free Software Foundation, Inc. - NSWindowController + + Software documentation for the NSWindowController + class + - Gui/NSWindowController.h - NSObject - - + AppKit/NSWindowController.h + NSCoding + + close @@ -43,6 +42,16 @@ initWithWindowNibName: windowNibName + owner: + owner + + + + + initWithWindowNibPath: + windowNibPath + owner: + owner @@ -67,6 +76,12 @@ + + setDocumentEdited: + flag + + + setShouldCascadeWindows: flag @@ -79,6 +94,12 @@ + + setWindow: + aWindow + + + setWindowFrameAutosaveName: name @@ -95,12 +116,17 @@ - + showWindow: sender + + synchronizeWindowTitleWithDocumentName + + + window @@ -121,6 +147,11 @@ + + windowNibPath + + + windowTitleForDocumentDisplayName: displayName diff --git a/Documentation/gsdoc/NSWindowController.html b/Documentation/gsdoc/NSWindowController.html index 0d1fd3c73..249ea57e8 100644 --- a/Documentation/gsdoc/NSWindowController.html +++ b/Documentation/gsdoc/NSWindowController.html @@ -1,160 +1,181 @@ - - NSWindowController - - -[Previous] -[Up] -[Next] -

NSWindowController

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSWindowController

-

NSWindowController

-

Declared in: Gui/NSWindowController.h

-

Inherits from: NSObject

-

Conforms to: NSObject -

-
+ + + NSWindowController + + +

NSWindowController

+

Authors

+
+
Generated by fedor
+
+
+
+

Copyright: (C) 2000 Free Software Foundation, Inc.

+

+ Software documentation for the NSWindowController + class +

+

NSWindowController : NSObject

+ Declared: AppKit/NSWindowController.h
+ Conform: NSCoding
+

- -

Instance Variables

-
    -
-

Methods

- -

Instances Methods

-

close

-- (void) close;
+

+

close

+ - (void) close;
+

- -


-

document

-- (id) document;
+

+
+

document

+ - (id) document;
+

- -


-

initWithWindow:

-- (id) initWithWindow: (NSWindow*)window;
+

+
+

initWithWindow:

+ - (id) initWithWindow: (NSWindow*)window;
+

- -


-

initWithWindowNibName:

-- (id) initWithWindowNibName: (NSString*)windowNibName;
+

+
+

initWithWindowNibName:

+ - (id) initWithWindowNibName: (NSString*)windowNibName;
+

- -


-

initWithWindowNibName:

-- (id) initWithWindowNibName: (NSString*)windowNibName;
+

+
+

initWithWindowNibName:owner:

+ - (id) initWithWindowNibName: (NSString*)windowNibName owner: (id)owner;
+

- -


-

isWindowLoaded

-- (BOOL) isWindowLoaded;
+

+
+

initWithWindowNibPath:owner:

+ - (id) initWithWindowNibPath: (NSString*)windowNibPath owner: (id)owner;
+

- -


-

loadWindow

-- (void) loadWindow;
+

+
+

isWindowLoaded

+ - (BOOL) isWindowLoaded;
+

- -


-

owner

-- (id) owner;
+

+
+

loadWindow

+ - (void) loadWindow;
+

- -


-

setDocument:

-- (void) setDocument: (NSDocument*)document;
+

+
+

owner

+ - (id) owner;
+

- -


-

setShouldCascadeWindows:

-- (void) setShouldCascadeWindows: (BOOL)flag;
+

+
+

setDocument:

+ - (void) setDocument: (NSDocument*)document;
+

- -


-

setShouldCloseDocument:

-- (void) setShouldCloseDocument: (BOOL)flag;
+

+
+

setDocumentEdited:

+ - (void) setDocumentEdited: (BOOL)flag;
+

- -


-

setWindowFrameAutosaveName:

-- (void) setWindowFrameAutosaveName: (NSString*)name;
+

+
+

setShouldCascadeWindows:

+ - (void) setShouldCascadeWindows: (BOOL)flag;
+

- -


-

shouldCascadeWindows

-- (BOOL) shouldCascadeWindows;
+

+
+

setShouldCloseDocument:

+ - (void) setShouldCloseDocument: (BOOL)flag;
+

- -


-

shouldCloseDocument

-- (BOOL) shouldCloseDocument;
+

+
+

setWindow:

+ - (void) setWindow: (NSWindow*)aWindow;
+

- -


-

showWindow:

-- (void) showWindow: (id)sender;
+

+
+

setWindowFrameAutosaveName:

+ - (void) setWindowFrameAutosaveName: (NSString*)name;
+

- -


-

window

-- (NSWindow*) window;
+

+
+

shouldCascadeWindows

+ - (BOOL) shouldCascadeWindows;
+

- -


-

windowDidLoad

-- (void) windowDidLoad;
+

+
+

shouldCloseDocument

+ - (BOOL) shouldCloseDocument;
+

- -


-

windowFrameAutosaveName

-- (NSString*) windowFrameAutosaveName;
+

+
+

showWindow:

+ - (IBAction) showWindow: (id)sender;
+

- -


-

windowNibName

-- (NSString*) windowNibName;
+

+
+

synchronizeWindowTitleWithDocumentName

+ - (void) synchronizeWindowTitleWithDocumentName;
+

- -


-

windowTitleForDocumentDisplayName:

-- (NSString*) windowTitleForDocumentDisplayName: (NSString*)displayName;
+

+
+

window

+ - (NSWindow*) window;
+

- -


-

windowWillLoad

-- (void) windowWillLoad;
+

+
+

windowDidLoad

+ - (void) windowDidLoad;
+

- -


- - - +

+
+

windowFrameAutosaveName

+ - (NSString*) windowFrameAutosaveName;
+

+ +

+
+

windowNibName

+ - (NSString*) windowNibName;
+

+ +

+
+

windowNibPath

+ - (NSString*) windowNibPath;
+

+ +

+
+

windowTitleForDocumentDisplayName:

+ - (NSString*) windowTitleForDocumentDisplayName: (NSString*)displayName;
+

+ +

+
+

windowWillLoad

+ - (void) windowWillLoad;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/NSWorkspace.gsdoc b/Documentation/gsdoc/NSWorkspace.gsdoc index 1f8e1b5cc..cfd2778ed 100644 --- a/Documentation/gsdoc/NSWorkspace.gsdoc +++ b/Documentation/gsdoc/NSWorkspace.gsdoc @@ -1,23 +1,25 @@ - - + + NSWorkspace - - - + + + scottc@net-community.com + - $Revision$ - $Date$ + Workspace class + 1996-1999, 2001 Free Software Foundation, Inc. - NSWorkspace + + Software documentation for the NSWorkspace class + - Gui/NSWorkspace.h - NSObject - - + AppKit/NSWorkspace.h + + sharedWorkspace @@ -56,11 +58,11 @@ isRemovable: removableFlag isWritable: - writableFlag + writableFlag isUnmountable: unmountableFlag description: - description + description type: fileSystemType @@ -71,6 +73,8 @@ fullPath application: appName + type: + type @@ -81,7 +85,7 @@
iconForFile: - fullPath + aPath @@ -93,7 +97,13 @@
iconForFiles: - fullPaths + pathArray + + + + + isFilePackageAtPath: + fullPath @@ -118,6 +128,11 @@ + + mountedLocalVolumePaths + + + mountedRemovableMedia @@ -128,6 +143,12 @@ + + noteFileSystemChanged: + path + + + noteUserDefaultsChanged @@ -180,31 +201,33 @@ + + openURL: + url + + + performFileOperation: operation source: - source + source destination: destination files: - files + files tag: tag - selectFile: - fullPath - inFileViewerRootedAtPath: - - rootFullPath - - + rootFullpath + + slideImage: @@ -229,5 +252,72 @@
+ + + Software documentation for the NSWorkspace(GNUstep) + category + + + AppKit/NSWorkspace.h + + + + appIconForApp: + appName + + + + + bundleForApp: + appName + + + + + getBestAppInRole: + role + forExtension: + ext + + + + + getBestIconForExtension: + ext + + + + + infoForExtension: + ext + + + + + locateApplicationBinary: + appName + + + + + setBestApp: + appName + inRole: + role + forExtension: + ext + + + + + setBestIcon: + iconPath + forExtension: + ext + + + + +
diff --git a/Documentation/gsdoc/NSWorkspace.html b/Documentation/gsdoc/NSWorkspace.html index de1eaca52..e873d97e0 100644 --- a/Documentation/gsdoc/NSWorkspace.html +++ b/Documentation/gsdoc/NSWorkspace.html @@ -1,208 +1,282 @@ - - NSWorkspace - - -[Previous] -[Up] -

NSWorkspace

-

Authors

-
-
Richard Frith-Macdonald -
-
-

Version: $Revision$

-

Date: $Date$

-

NSWorkspace

-

NSWorkspace

-

Declared in: Gui/NSWorkspace.h

-

Inherits from: NSObject

-

Conforms to: NSObject -

-
+ + + NSWorkspace + + +

NSWorkspace

+

Authors

+
+
Scott Christley( + scottc@net-community.com + )
+
+
+
+
+Workspace class
+

Copyright: (C) 1996-1999, 2001 Free Software Foundation, Inc.

+

+ Software documentation for the NSWorkspace class +

+

NSWorkspace : NSObject

+ Declared: AppKit/NSWorkspace.h
+

- -

Instance Variables

-
    -
-

Methods

- -

Class Methods

-

sharedWorkspace

-+ (NSWorkspace*) sharedWorkspace;
+

+

sharedWorkspace

+ + (NSWorkspace*) sharedWorkspace;
+

- -


-

Instances Methods

-

checkForRemovableMedia

-- (void) checkForRemovableMedia;
+

+
+

checkForRemovableMedia

+ - (void) checkForRemovableMedia;
+

- -


-

extendPowerOffBy:

-- (int) extendPowerOffBy: (int)requested;
+

+
+

extendPowerOffBy:

+ - (int) extendPowerOffBy: (int)requested;
+

- -


-

fileSystemChanged

-- (BOOL) fileSystemChanged;
+

+
+

fileSystemChanged

+ - (BOOL) fileSystemChanged;
+

- -


-

findApplications

-- (void) findApplications;
+

+
+

findApplications

+ - (void) findApplications;
+

- -


-

fullPathForApplication:

-- (NSString*) fullPathForApplication: (NSString*)appName;
+

+
+

fullPathForApplication:

+ - (NSString*) fullPathForApplication: (NSString*)appName;
+

- -


-

getFileSystemInfoForPath:isRemovable:isWritable:isUnmountable:description:type:

-- (BOOL) getFileSystemInfoForPath: (NSString*)fullPath isRemovable: (BOOL*)removableFlag isWritable: (BOOL *)writableFlag isUnmountable: (BOOL*)unmountableFlag description: (NSString **)description type: (NSString**)fileSystemType;
+

+
+

getFileSystemInfoForPath:isRemovable:isWritable:isUnmountable:description:type:

+ - (BOOL) getFileSystemInfoForPath: (NSString*)fullPath isRemovable: (BOOL*)removableFlag isWritable: (BOOL*)writableFlag isUnmountable: (BOOL*)unmountableFlag description: (NSString**)description type: (NSString**)fileSystemType;
+

- -


-

getInfoForFile:application:

-- (BOOL) getInfoForFile: (NSString*)fullPath application: (NSString**)appName;
+

+
+

getInfoForFile:application:type:

+ - (BOOL) getInfoForFile: (NSString*)fullPath application: (NSString**)appName type: (NSString**)type;
+

- -


-

hideOtherApplications

-- (void) hideOtherApplications;
+

+
+

hideOtherApplications

+ - (void) hideOtherApplications;
+

- -


-

iconForFile:

-- (NSImage*) iconForFile: (NSString*)fullPath;
+

+
+

iconForFile:

+ - (NSImage*) iconForFile: (NSString*)aPath;
+

- -


-

iconForFileType:

-- (NSImage*) iconForFileType: (NSString*)fileType;
+

+
+

iconForFileType:

+ - (NSImage*) iconForFileType: (NSString*)fileType;
+

- -


-

iconForFiles:

-- (NSImage*) iconForFiles: (NSArray*)fullPaths;
+

+
+

iconForFiles:

+ - (NSImage*) iconForFiles: (NSArray*)pathArray;
+

- -


-

launchApplication:

-- (BOOL) launchApplication: (NSString*)appName;
+

+
+

isFilePackageAtPath:

+ - (BOOL) isFilePackageAtPath: (NSString*)fullPath;
+

- -


-

launchApplication:showIcon:autolaunch:

-- (BOOL) launchApplication: (NSString*)appName showIcon: (BOOL)showIcon autolaunch: (BOOL)autolaunch;
+

+
+

launchApplication:

+ - (BOOL) launchApplication: (NSString*)appName;
+

- -


-

mountNewRemovableMedia

-- (NSArray*) mountNewRemovableMedia;
+

+
+

launchApplication:showIcon:autolaunch:

+ - (BOOL) launchApplication: (NSString*)appName showIcon: (BOOL)showIcon autolaunch: (BOOL)autolaunch;
+

- -


-

mountedRemovableMedia

-- (NSArray*) mountedRemovableMedia;
+

+
+

mountNewRemovableMedia

+ - (NSArray*) mountNewRemovableMedia;
+

- -


-

noteFileSystemChanged

-- (void) noteFileSystemChanged;
+

+
+

mountedLocalVolumePaths

+ - (NSArray*) mountedLocalVolumePaths;
+

- -


-

noteUserDefaultsChanged

-- (void) noteUserDefaultsChanged;
+

+
+

mountedRemovableMedia

+ - (NSArray*) mountedRemovableMedia;
+

- -


-

notificationCenter

-- (NSNotificationCenter*) notificationCenter;
+

+
+

noteFileSystemChanged

+ - (void) noteFileSystemChanged;
+

- -


-

openFile:

-- (BOOL) openFile: (NSString*)fullPath;
+

+
+

noteFileSystemChanged:

+ - (void) noteFileSystemChanged: (NSString*)path;
+

- -


-

openFile:fromImage:at:inView:

-- (BOOL) openFile: (NSString*)fullPath fromImage: (NSImage*)anImage at: (NSPoint)point inView: (NSView*)aView;
+

+
+

noteUserDefaultsChanged

+ - (void) noteUserDefaultsChanged;
+

- -


-

openFile:withApplication:

-- (BOOL) openFile: (NSString*)fullPath withApplication: (NSString*)appName;
+

+
+

notificationCenter

+ - (NSNotificationCenter*) notificationCenter;
+

- -


-

openFile:withApplication:andDeactivate:

-- (BOOL) openFile: (NSString*)fullPath withApplication: (NSString*)appName andDeactivate: (BOOL)flag;
+

+
+

openFile:

+ - (BOOL) openFile: (NSString*)fullPath;
+

- -


-

openTempFile:

-- (BOOL) openTempFile: (NSString*)fullPath;
+

+
+

openFile:fromImage:at:inView:

+ - (BOOL) openFile: (NSString*)fullPath fromImage: (NSImage*)anImage at: (NSPoint)point inView: (NSView*)aView;
+

- -


-

performFileOperation:source:destination:files:tag:

-- (BOOL) performFileOperation: (NSString*)operation source: (NSString *)source destination: (NSString*)destination files: (NSArray *)files tag: (int*)tag;
+

+
+

openFile:withApplication:

+ - (BOOL) openFile: (NSString*)fullPath withApplication: (NSString*)appName;
+

- -


-

selectFile:inFileViewerRootedAtPath:

-- (BOOL) selectFile: (NSString*)fullPath inFileViewerRootedAtPath: (NSString*)rootFullPath;
+

+
+

openFile:withApplication:andDeactivate:

+ - (BOOL) openFile: (NSString*)fullPath withApplication: (NSString*)appName andDeactivate: (BOOL)flag;
+

- -


-

slideImage:from:to:

-- (void) slideImage: (NSImage*)image from: (NSPoint)fromPoint to: (NSPoint)toPoint;
+

+
+

openTempFile:

+ - (BOOL) openTempFile: (NSString*)fullPath;
+

- -


-

unmountAndEjectDeviceAtPath:

-- (BOOL) unmountAndEjectDeviceAtPath: (NSString*)path;
+

+
+

openURL:

+ - (BOOL) openURL: (NSURL*)url;
+

- -


-

userDefaultsChanged

-- (BOOL) userDefaultsChanged;
+

+
+

performFileOperation:source:destination:files:tag:

+ - (BOOL) performFileOperation: (NSString*)operation source: (NSString*)source destination: (NSString*)destination files: (NSArray*)files tag: (int*)tag;
+

- -


- - - +

+
+

selectFile:inFileViewerRootedAtPath:

+ - (BOOL) selectFile: (NSString*)fullPath inFileViewerRootedAtPath: (NSString*)rootFullpath;
+

+ +

+
+

slideImage:from:to:

+ - (void) slideImage: (NSImage*)image from: (NSPoint)fromPoint to: (NSPoint)toPoint;
+

+ +

+
+

unmountAndEjectDeviceAtPath:

+ - (BOOL) unmountAndEjectDeviceAtPath: (NSString*)path;
+

+ +

+
+

userDefaultsChanged

+ - (BOOL) userDefaultsChanged;
+

+ +

+
+

+ Software documentation for the NSWorkspace(GNUstep) + category +

+

NSWorkspace(GNUstep)

+ Declared: AppKit/NSWorkspace.h
+

+ +

+

appIconForApp:

+ - (NSImage*) appIconForApp: (NSString*)appName;
+

+ +

+
+

bundleForApp:

+ - (NSBundle*) bundleForApp: (NSString*)appName;
+

+ +

+
+

getBestAppInRole:forExtension:

+ - (NSString*) getBestAppInRole: (NSString*)role forExtension: (NSString*)ext;
+

+ +

+
+

getBestIconForExtension:

+ - (NSString*) getBestIconForExtension: (NSString*)ext;
+

+ +

+
+

infoForExtension:

+ - (NSDictionary*) infoForExtension: (NSString*)ext;
+

+ +

+
+

locateApplicationBinary:

+ - (NSString*) locateApplicationBinary: (NSString*)appName;
+

+ +

+
+

setBestApp:inRole:forExtension:

+ - (void) setBestApp: (NSString*)appName inRole: (NSString*)role forExtension: (NSString*)ext;
+

+ +

+
+

setBestIcon:forExtension:

+ - (void) setBestIcon: (NSString*)iconPath forExtension: (NSString*)ext;
+

+ +

+
+ + diff --git a/Documentation/gsdoc/README b/Documentation/gsdoc/README index d9d81f75d..71f7870ac 100644 --- a/Documentation/gsdoc/README +++ b/Documentation/gsdoc/README @@ -8,3 +8,7 @@ To build/install the gsdoc tool - see the core/base/GSDoc directory. The DTD describing the gsdoc documentation markup language can be found in the GSDoc directory. +Note that most of these files are generated automatically from the +source using the autogsdoc program. Don't edit these files +directly. Add comments and documentation directly to the source file + diff --git a/Headers/gnustep/gui/NSColorList.h b/Headers/gnustep/gui/NSColorList.h index 96b19d579..a3ff7611e 100644 --- a/Headers/gnustep/gui/NSColorList.h +++ b/Headers/gnustep/gui/NSColorList.h @@ -103,8 +103,8 @@ // // NSCoding protocol // -- (void)encodeWithCoder:aCoder; -- initWithCoder:aDecoder; +- (void)encodeWithCoder: (NSCoder *)aCoder; +- initWithCoder: (NSCoder *)aDecoder; @end diff --git a/Headers/gnustep/gui/NSGraphicsContext.h b/Headers/gnustep/gui/NSGraphicsContext.h index d2d3d55e8..2ef4ac6b9 100644 --- a/Headers/gnustep/gui/NSGraphicsContext.h +++ b/Headers/gnustep/gui/NSGraphicsContext.h @@ -2,9 +2,9 @@ Abstract drawing context class. - Copyright (C) 1998,1999 Free Software Foundation, Inc. + Copyright (C) 1998,1999 Free Software Foundation, Inc. - Author: richard@brainstorm.co.uk + Author: Richard Frith-Macdonald Date: Feb 1999 Based on code by: Adam Fedor Date: Nov 1998 diff --git a/Headers/gnustep/gui/NSPageLayout.h b/Headers/gnustep/gui/NSPageLayout.h index b2f04d957..4524c12ec 100644 --- a/Headers/gnustep/gui/NSPageLayout.h +++ b/Headers/gnustep/gui/NSPageLayout.h @@ -2,9 +2,9 @@ Standard panel for querying user about page layout. - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001 Free Software Foundation, Inc. - Written By: fedor@gnu.org + Written By: Adam Fedor Date: Oct 2001 This file is part of the GNUstep GUI Library. diff --git a/Headers/gnustep/gui/NSPrintInfo.h b/Headers/gnustep/gui/NSPrintInfo.h index f21ffd0fd..6776b4859 100644 --- a/Headers/gnustep/gui/NSPrintInfo.h +++ b/Headers/gnustep/gui/NSPrintInfo.h @@ -2,11 +2,11 @@ Stores information used in printing. - Copyright (C) 1996,1997 Free Software Foundation, Inc. + Copyright (C) 1996,1997 Free Software Foundation, Inc. - Author: sgf@frankau.demon.co.uk + Author: Simon Frankau Date: July 1997 - Author: fedor@gnu.org + Author: Adam Fedor Date: Oct 2001 This file is part of the GNUstep GUI Library. diff --git a/Headers/gnustep/gui/NSPrintOperation.h b/Headers/gnustep/gui/NSPrintOperation.h index 768b6a086..c6d504d69 100644 --- a/Headers/gnustep/gui/NSPrintOperation.h +++ b/Headers/gnustep/gui/NSPrintOperation.h @@ -2,14 +2,14 @@ Controls generation of EPS, PDF or PS print jobs. - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996 Free Software Foundation, Inc. Author: Scott Christley Date: 1996 - Author: FredKiefer@gmx.de + Author: Fred Kiefer Date: November 2000 Updated to new specification - Author: fedor@gnu.org + Author: Adam Fedor Date: Oct 2001 This file is part of the GNUstep GUI Library. diff --git a/Headers/gnustep/gui/NSPrinter.h b/Headers/gnustep/gui/NSPrinter.h index b91db684e..d43a35b15 100644 --- a/Headers/gnustep/gui/NSPrinter.h +++ b/Headers/gnustep/gui/NSPrinter.h @@ -107,8 +107,8 @@ typedef enum _NSPrinterTableStatus { // // NSCoding protocol // -- (void)encodeWithCoder:aCoder; -- initWithCoder:aDecoder; +- (void)encodeWithCoder: (NSCoder *)aCoder; +- initWithCoder: (NSCoder *)aDecoder; @end diff --git a/Headers/gnustep/gui/NSView.h b/Headers/gnustep/gui/NSView.h index a9bdab71e..aa59893ff 100644 --- a/Headers/gnustep/gui/NSView.h +++ b/Headers/gnustep/gui/NSView.h @@ -10,8 +10,6 @@ Date: 1997 Author: Felipe A. Rodriguez Date: August 1998 - Author: - Date: Oct 2001 This file is part of the GNUstep GUI Library. diff --git a/Source/GSHbox.m b/Source/GSHbox.m index edd158020..efb0cb358 100644 --- a/Source/GSHbox.m +++ b/Source/GSHbox.m @@ -1,7 +1,6 @@ -/* - GSHbox.m +/** GSHbox - The GSHbox class (a GNU extension) + The GSHbox class (a GNU extension) Copyright (C) 1999 Free Software Foundation, Inc. diff --git a/Source/GSHelpManagerPanel.m b/Source/GSHelpManagerPanel.m index b1f851147..846deba5e 100644 --- a/Source/GSHelpManagerPanel.m +++ b/Source/GSHelpManagerPanel.m @@ -1,7 +1,6 @@ -/* - GSHelpManagerPanel.m +/** GSHelpManagerPanel.m - GSHelpManagerPanel displays a help message for an item. + GSHelpManagerPanel displays a help message for an item. Copyright (C) 1999 Free Software Foundation, Inc. diff --git a/Source/GSInfoPanel.m b/Source/GSInfoPanel.m index a08214cb9..a0c41be5e 100644 --- a/Source/GSInfoPanel.m +++ b/Source/GSInfoPanel.m @@ -1,7 +1,6 @@ -/* - GSInfoPanel.m +/** GSInfoPanel.m - Standard GNUstep info panel + Standard GNUstep info panel Copyright (C) 2000 Free Software Foundation, Inc. diff --git a/Source/GSTable.m b/Source/GSTable.m index 6f4776f1e..baf4152d1 100644 --- a/Source/GSTable.m +++ b/Source/GSTable.m @@ -1,11 +1,10 @@ -/* - GSTable.m +/** GSTable.m - The GSTable class (a GNU extension) + The GSTable class (a GNU extension) Copyright (C) 1999 Free Software Foundation, Inc. - Author: Nicola Pero + Author: Nicola Pero Date: 1999 This file is part of the GNUstep GUI Library. diff --git a/Source/GSVbox.m b/Source/GSVbox.m index dc943ddad..cc0da4af7 100644 --- a/Source/GSVbox.m +++ b/Source/GSVbox.m @@ -1,7 +1,6 @@ -/* - GSVbox.m +/** GSVbox - The GSVbox class (a GNU extension) + The GSVbox class (a GNU extension) Copyright (C) 1999 Free Software Foundation, Inc. diff --git a/Source/NSActionCell.m b/Source/NSActionCell.m index eebd12855..35c057138 100644 --- a/Source/NSActionCell.m +++ b/Source/NSActionCell.m @@ -1,7 +1,6 @@ -/* - NSActionCell.m +/** NSActionCell - Abstract cell for target/action paradigm + Abstract cell for target/action paradigm Copyright (C) 1996-1999 Free Software Foundation, Inc. diff --git a/Source/NSAffineTransform.m b/Source/NSAffineTransform.m index 9b72dd3d2..56691d50b 100644 --- a/Source/NSAffineTransform.m +++ b/Source/NSAffineTransform.m @@ -1,12 +1,11 @@ -/* - NSAffineTransform.m +/** NSAffineTransform.m Copyright (C) 1996,1999 Free Software Foundation, Inc. Author: Ovidiu Predescu Date: August 1997 Author: Richard Frith-Macdonald - Date: Mark 1999 + Date: March 1999 This file is part of the GNUstep GUI Library. diff --git a/Source/NSApplication.m b/Source/NSApplication.m index 7cb2b5f2a..6762d418b 100644 --- a/Source/NSApplication.m +++ b/Source/NSApplication.m @@ -1,9 +1,8 @@ -/* - NSApplication.m +/** NSApplication - The one and only application class + The one and only application class - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996,1999 Free Software Foundation, Inc. Author: Scott Christley Date: 1996 @@ -1261,7 +1260,7 @@ static NSCell* tileCell = nil; } } -- (NSEvent*) currentEvent; +- (NSEvent*) currentEvent { return _current_event; } diff --git a/Source/NSAttributedString.m b/Source/NSAttributedString.m index 4ff6f456c..42a2a8255 100644 --- a/Source/NSAttributedString.m +++ b/Source/NSAttributedString.m @@ -1,7 +1,6 @@ -/* - NSAttributedString.m +/** NSAttributedStringAdditions - Categories which add capabilities to NSAttributedString + Categories which add capabilities to NSAttributedString Copyright (C) 1999 Free Software Foundation, Inc. diff --git a/Source/NSBezierPath.m b/Source/NSBezierPath.m index 3530b9e77..ada0d28d2 100644 --- a/Source/NSBezierPath.m +++ b/Source/NSBezierPath.m @@ -1,7 +1,6 @@ -/* - NSBezierPath.m +/** NSBezierPath.m - The NSBezierPath class + The NSBezierPath class Copyright (C) 1999 Free Software Foundation, Inc. diff --git a/Source/NSBitmapImageRep.m b/Source/NSBitmapImageRep.m index ee02c7fd8..e3f1e5db5 100644 --- a/Source/NSBitmapImageRep.m +++ b/Source/NSBitmapImageRep.m @@ -1,11 +1,10 @@ -/* - NSBitmapImageRep.m +/** NSBitmapImageRep.m - Bitmap image representation. + Bitmap image representation. Copyright (C) 1996 Free Software Foundation, Inc. - Author: Adam Fedor + Author: Adam Fedor Date: Feb 1996 This file is part of the GNUstep GUI Library. @@ -192,7 +191,7 @@ isPlanar: (BOOL)isPlanar colorSpaceName: (NSString *)colorSpaceName bytesPerRow: (int)rowBytes - bitsPerPixel: (int)pixelBits; + bitsPerPixel: (int)pixelBits { if (!bps || !spp || !width || !height) { diff --git a/Source/NSBox.m b/Source/NSBox.m index dc622a27f..e480f399a 100644 --- a/Source/NSBox.m +++ b/Source/NSBox.m @@ -1,7 +1,6 @@ -/* - NSBox.m +/** NSBox - Simple box view that can display a border and title + Simple box view that can display a border and title Copyright (C) 1996 Free Software Foundation, Inc. diff --git a/Source/NSBrowser.m b/Source/NSBrowser.m index 3248188a5..6e6124b9a 100644 --- a/Source/NSBrowser.m +++ b/Source/NSBrowser.m @@ -1,7 +1,6 @@ -/* - NSBrowser.m +/** NSBrowser - Control to display and select from hierarchal lists + Control to display and select from hierarchal lists Copyright (C) 1996, 1997 Free Software Foundation, Inc. diff --git a/Source/NSBrowserCell.m b/Source/NSBrowserCell.m index bea67a998..a3fcadbfb 100644 --- a/Source/NSBrowserCell.m +++ b/Source/NSBrowserCell.m @@ -1,13 +1,11 @@ -/* - NSBrowserCell.m +/** NSBrowserCell - Cell class for the NSBrowser + Cell class for the NSBrowser Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc. Author: Scott Christley Date: 1996 - Author: Nicola Pero Date: December 1999 diff --git a/Source/NSBundleAdditions.m b/Source/NSBundleAdditions.m index 2600fdf24..636b9e6d8 100644 --- a/Source/NSBundleAdditions.m +++ b/Source/NSBundleAdditions.m @@ -1,7 +1,6 @@ -/* - NSBundle.m +/** NSBundleAdditions - Implementation of NSBundle Additions + Implementation of NSBundle Additions Copyright (C) 1997, 1999 Free Software Foundation, Inc. diff --git a/Source/NSButton.m b/Source/NSButton.m index 0f9a97909..13fffcb5d 100644 --- a/Source/NSButton.m +++ b/Source/NSButton.m @@ -1,7 +1,6 @@ -/* - NSButton.m +/** NSButton - The button class + The button class Copyright (C) 1996 Free Software Foundation, Inc. diff --git a/Source/NSButtonCell.m b/Source/NSButtonCell.m index cf4e7d973..ada0cbe65 100644 --- a/Source/NSButtonCell.m +++ b/Source/NSButtonCell.m @@ -1,12 +1,11 @@ -/* - NSButtonCell.m +/** NSButtonCell - The button cell class + The button cell class Copyright (C) 1996-1999 Free Software Foundation, Inc. Author: Scott Christley - Ovidiu Predescu + Ovidiu Predescu Date: 1996 Author: Felipe A. Rodriguez Date: August 1998 diff --git a/Source/NSCachedImageRep.m b/Source/NSCachedImageRep.m index 68cb8bc53..eac806016 100644 --- a/Source/NSCachedImageRep.m +++ b/Source/NSCachedImageRep.m @@ -1,11 +1,10 @@ -/* - NSCachedImageRep.m +/** NSCachedImageRep - Cached image representation. + Cached image representation. Copyright (C) 1996 Free Software Foundation, Inc. - Author: Adam Fedor + Author: Adam Fedor Date: Feb 1996 This file is part of the GNUstep GUI Library. diff --git a/Source/NSCell.m b/Source/NSCell.m index b82ec0699..12d1bfd81 100644 --- a/Source/NSCell.m +++ b/Source/NSCell.m @@ -1,7 +1,6 @@ -/* - NSCell.m +/** NSCell - The abstract cell class + The abstract cell class Copyright (C) 1996 Free Software Foundation, Inc. diff --git a/Source/NSClipView.m b/Source/NSClipView.m index 39195cc79..47652af91 100644 --- a/Source/NSClipView.m +++ b/Source/NSClipView.m @@ -1,5 +1,4 @@ -/* - NSClipView.m +/** NSClipView Copyright (C) 1996 Free Software Foundation, Inc. diff --git a/Source/NSColor.m b/Source/NSColor.m index 2ccbcce73..1e3897b12 100644 --- a/Source/NSColor.m +++ b/Source/NSColor.m @@ -1,11 +1,10 @@ -/* - NSColor.m +/** NSColor - The colorful color class + The colorful color class Copyright (C) 1996, 1998 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 This file is part of the GNUstep GUI Library. @@ -495,7 +494,7 @@ systemColorWithName(NSString *name) alpha: 1.0]; } -+ (NSColor*) orangeColor; ++ (NSColor*) orangeColor { return [self colorWithCalibratedRed: 1.0 green: 0.5 @@ -503,7 +502,7 @@ systemColorWithName(NSString *name) alpha: 1.0]; } -+ (NSColor*) purpleColor; ++ (NSColor*) purpleColor { return [self colorWithCalibratedRed: 0.5 green: 0.0 @@ -511,7 +510,7 @@ systemColorWithName(NSString *name) alpha: 1.0]; } -+ (NSColor*) redColor; ++ (NSColor*) redColor { return [self colorWithCalibratedRed: 1.0 green: 0.0 @@ -519,7 +518,7 @@ systemColorWithName(NSString *name) alpha: 1.0]; } -+ (NSColor*) whiteColor; ++ (NSColor*) whiteColor { return [self colorWithCalibratedWhite: NSWhite alpha: 1.0]; } diff --git a/Source/NSColorList.m b/Source/NSColorList.m index 917c0122d..e9a06753b 100644 --- a/Source/NSColorList.m +++ b/Source/NSColorList.m @@ -1,7 +1,6 @@ -/* - NSColorList.m +/** NSColorList - Manage named lists of NSColors. + Manage named lists of NSColors. Copyright (C) 1996, 2000 Free Software Foundation, Inc. diff --git a/Source/NSColorPanel.m b/Source/NSColorPanel.m index 7ff09c813..270a6a0d5 100644 --- a/Source/NSColorPanel.m +++ b/Source/NSColorPanel.m @@ -1,11 +1,10 @@ -/* - NSColorPanel.m +/** NSColorPanel - System generic color panel + System generic color panel Copyright (C) 1996 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 This file is part of the GNUstep GUI Library. diff --git a/Source/NSColorPicker.m b/Source/NSColorPicker.m index e1ff3a29a..1ae6c4d53 100644 --- a/Source/NSColorPicker.m +++ b/Source/NSColorPicker.m @@ -1,13 +1,12 @@ -/* - NSColorPicker.m +/** NSColorPicker - Abstract superclass for NSColorPanel color pickers + Abstract superclass for NSColorPanel color pickers Copyright (C) 1996 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 - Author: Jonathan Gapen + Author: Jonathan Gapen Date: March 2000 This file is part of the GNUstep GUI Library. diff --git a/Source/NSColorWell.m b/Source/NSColorWell.m index 804f07bad..08d079e63 100644 --- a/Source/NSColorWell.m +++ b/Source/NSColorWell.m @@ -1,13 +1,12 @@ -/* - NSColorWell.m +/** NSColorWell - NSControl for selecting and display a single color value. + Control for selecting and display a single color value. Copyright (C) 1996 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 - Author: Felipe A. Rodriguez + Author: Felipe A. Rodriguez Date: May 1998 This file is part of the GNUstep GUI Library. diff --git a/Source/NSComboBox.m b/Source/NSComboBox.m index 46a17d6f1..fbd39374f 100644 --- a/Source/NSComboBox.m +++ b/Source/NSComboBox.m @@ -1,9 +1,8 @@ -/* - NSComboBox.m +/** NSComboBox Copyright (C) 1999 Free Software Foundation, Inc. - Author: Gerrit van Dyk + Author: Gerrit van Dyk Date: 1999 This file is part of the GNUstep GUI Library. diff --git a/Source/NSComboBoxCell.m b/Source/NSComboBoxCell.m index 1c3345ab2..bebd7feb5 100644 --- a/Source/NSComboBoxCell.m +++ b/Source/NSComboBoxCell.m @@ -1,5 +1,4 @@ -/* - NSComboBoxCell.m +/** NSComboBoxCell Copyright (C) 1999 Free Software Foundation, Inc. diff --git a/Source/NSControl.m b/Source/NSControl.m index cd3e25290..ff9fbcc83 100644 --- a/Source/NSControl.m +++ b/Source/NSControl.m @@ -1,13 +1,12 @@ -/* - NSControl.m +/** NSControl - The abstract control class + The abstract control class Copyright (C) 1996 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 - Author: Felipe A. Rodriguez + Author: Richard Frith-Macdonald Date: August 1998 This file is part of the GNUstep GUI Library. diff --git a/Source/NSCursor.m b/Source/NSCursor.m index b86021ac7..887dc7378 100644 --- a/Source/NSCursor.m +++ b/Source/NSCursor.m @@ -1,12 +1,13 @@ -/* - NSCursor.m +/** NSCursor - Holds an image to use as a cursor + Holds an image to use as a cursor - Copyright (C) 1996,1999 Free Software Foundation, Inc. + Copyright (C) 1996,1999,2001 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 + Author: Adam Fedor + Date: Dec 2001 This file is part of the GNUstep GUI Library. @@ -215,11 +216,11 @@ static NSMutableDictionary *cursorDict = nil; hotSpot: NSMakePoint(0,15)]; } -- (id) initWithImage: (NSImage *)newImage hotSpot: (NSPoint)spot +- (id) initWithImage: (NSImage *)newImage hotSpot: (NSPoint)hotSpot { //_is_set_on_mouse_entered = NO; //_is_set_on_mouse_exited = NO; - _hot_spot = spot; + _hot_spot = hotSpot; [self setImage: newImage]; return self; diff --git a/Source/NSCustomImageRep.m b/Source/NSCustomImageRep.m index 4d9765ab1..1d3c84070 100644 --- a/Source/NSCustomImageRep.m +++ b/Source/NSCustomImageRep.m @@ -1,7 +1,6 @@ -/* - NSCustomImageRep.m +/** NSCustomImageRep - Custom image representation. + Custom image representation. Copyright (C) 1996 Free Software Foundation, Inc. diff --git a/Source/NSDataLink.m b/Source/NSDataLink.m index 2ec421680..ee6c19313 100644 --- a/Source/NSDataLink.m +++ b/Source/NSDataLink.m @@ -1,11 +1,8 @@ -/* - NSDataLink.m - - Description... +/** NSDataLink Copyright (C) 1996 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 This file is part of the GNUstep GUI Library. diff --git a/Source/NSDataLinkManager.m b/Source/NSDataLinkManager.m index d93b74f0d..b93da2f0f 100644 --- a/Source/NSDataLinkManager.m +++ b/Source/NSDataLinkManager.m @@ -1,11 +1,8 @@ -/* - NSDataLinkManager.m - - Description... +/** NSDataLinkManager Copyright (C) 1996 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 This file is part of the GNUstep GUI Library. diff --git a/Source/NSDataLinkPanel.m b/Source/NSDataLinkPanel.m index 3f3d74ab8..48b4acd42 100644 --- a/Source/NSDataLinkPanel.m +++ b/Source/NSDataLinkPanel.m @@ -1,11 +1,8 @@ -/* - NSDataLinkPanel.m - - Description... +/** NSDataLinkPanel Copyright (C) 1996 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 This file is part of the GNUstep GUI Library. diff --git a/Source/NSDocument.m b/Source/NSDocument.m index 1f5ad1956..68e82f75f 100644 --- a/Source/NSDocument.m +++ b/Source/NSDocument.m @@ -1,7 +1,6 @@ -/* - NSDocument.m +/** NSDocument - The abstract document class + The abstract document class Copyright (C) 1999 Free Software Foundation, Inc. diff --git a/Source/NSDocumentController.m b/Source/NSDocumentController.m index e2bd3e67a..b8187bdb2 100644 --- a/Source/NSDocumentController.m +++ b/Source/NSDocumentController.m @@ -1,7 +1,6 @@ -/* - NSDocumentController.m +/** NSDocumentController - The document controller class + The document controller class Copyright (C) 1999 Free Software Foundation, Inc. @@ -426,7 +425,7 @@ static NSDictionary *TypeInfoForName (NSArray *types, NSString *typeName) } - (BOOL) application:(NSApplication *)sender - openTempFile: (NSString *)filename; + openTempFile: (NSString *)filename { return [self openDocumentWithContentsOfFile:filename display:YES] ? YES : NO; } @@ -462,7 +461,7 @@ static NSDictionary *TypeInfoForName (NSArray *types, NSString *typeName) return _documents; } -- (BOOL) hasEditedDocuments; +- (BOOL) hasEditedDocuments { int i, count = [_documents count]; diff --git a/Source/NSDrawer.m b/Source/NSDrawer.m index 1ee4de230..3c0387edf 100644 --- a/Source/NSDrawer.m +++ b/Source/NSDrawer.m @@ -1,11 +1,10 @@ -/* - NSDrawer.m +/** NSDrawer - The drawer class + The drawer class Copyright (C) 2001 Free Software Foundation, Inc. - Author: Fred Kiefer + Author: Fred Kiefer Date: 2001 This file is part of the GNUstep GUI Library. diff --git a/Source/NSEPSImageRep.m b/Source/NSEPSImageRep.m index f720150e5..afd335bf3 100644 --- a/Source/NSEPSImageRep.m +++ b/Source/NSEPSImageRep.m @@ -1,7 +1,6 @@ -/* - NSEPSImageRep.m +/** NSEPSImageRep - EPS image representation. + EPS image representation. Copyright (C) 1996 Free Software Foundation, Inc. diff --git a/Source/NSEvent.m b/Source/NSEvent.m index 071af8cde..78cfb2af6 100644 --- a/Source/NSEvent.m +++ b/Source/NSEvent.m @@ -1,16 +1,15 @@ -/* - NSEvent.m +/** NSEvent - The event class + The event class Copyright (C) 1996 Free Software Foundation, Inc. - Author: Scott Christley - Author: Ovidiu Predescu + Author: Scott Christley + Author: Ovidiu Predescu Date: 1996 - Author: Felipe A. Rodriguez + Author: Felipe A. Rodriguez Date: Sept 1998 - Updated: Richard Frith-Macdonald + Updated: Richard Frith-Macdonald Date: June 1999 This file is part of the GNUstep GUI Library. diff --git a/Source/NSFileWrapper.m b/Source/NSFileWrapper.m index 63a75940c..7fe0cf105 100644 --- a/Source/NSFileWrapper.m +++ b/Source/NSFileWrapper.m @@ -1,13 +1,12 @@ -/* - NSFileWrapper.m +/** NSFileWrapper - NSFileWrapper objects hold a file's contents in dynamic memory. + Hold a file's contents in dynamic memory. Copyright (C) 1996 Free Software Foundation, Inc. - Author: Felipe A. Rodriguez + Author: Felipe A. Rodriguez Date: Sept 1998 - Author: Jonathan Gapen + Author: Jonathan Gapen Date: Dec 1999 This file is part of the GNUstep GUI Library. @@ -265,7 +264,7 @@ } } -- (NSString*) preferredFilename; +- (NSString*) preferredFilename { return _preferredFilename; } @@ -326,7 +325,7 @@ ASSIGN(_iconImage, icon); } -- (NSImage*) icon; +- (NSImage*) icon { if (_iconImage == nil) { diff --git a/Source/NSFont.m b/Source/NSFont.m index f8f61db97..416560ec0 100644 --- a/Source/NSFont.m +++ b/Source/NSFont.m @@ -1,7 +1,6 @@ -/* - NSFont.m +/** NSFont - The font class + The font class Copyright (C) 1996 Free Software Foundation, Inc. diff --git a/Source/NSFontManager.m b/Source/NSFontManager.m index 4f5a00c75..5d54984d7 100644 --- a/Source/NSFontManager.m +++ b/Source/NSFontManager.m @@ -1,13 +1,10 @@ -/* - NSFontManager.m +/** NSFontManager - Manages system and user fonts + Manages system and user fonts Copyright (C) 1996 Free Software Foundation, Inc. - Author: Scott Christley - Date: 1996 - Modified: Fred Kiefer + Author: Fred Kiefer Date: January 2000 Almost complete rewrite. @@ -798,7 +795,7 @@ static Class fontPanelClass = Nil; } - (BOOL) fontNamed: (NSString*)typeface - hasTraits: (NSFontTraitMask)fontTraitMask; + hasTraits: (NSFontTraitMask)fontTraitMask { // TODO: This method is implemented very slow, but I dont // see any use for it, so why change it? diff --git a/Source/NSFontPanel.m b/Source/NSFontPanel.m index 231dd014a..9490da750 100644 --- a/Source/NSFontPanel.m +++ b/Source/NSFontPanel.m @@ -1,18 +1,12 @@ -/* - NSFontPanel.m +/** NSFontPanel - System generic panel for selecting and previewing fonts + System generic panel for selecting and previewing fonts Copyright (C) 1996 Free Software Foundation, Inc. - Author: Scott Christley - Date: 1996 - - Modified: Fred Kiefer + Author: Fred Kiefer Date: Febuary 2000 - Almost complete rewrite. - - Nicola Pero + Author: Nicola Pero Date: January 2001 - sizings and resizings This file is part of the GNUstep GUI Library. diff --git a/Source/NSForm.m b/Source/NSForm.m index 1d9645121..4308ccfdf 100644 --- a/Source/NSForm.m +++ b/Source/NSForm.m @@ -1,7 +1,6 @@ -/* - NSForm.m +/** NSForm - Form class, a matrix of text fields with labels + Form class, a matrix of text fields with labels Copyright (C) 1996 Free Software Foundation, Inc. diff --git a/Source/NSFormCell.m b/Source/NSFormCell.m index 5e2fa0514..b3342acde 100644 --- a/Source/NSFormCell.m +++ b/Source/NSFormCell.m @@ -1,7 +1,6 @@ -/* - NSFormCell.m +/** NSFormCell - The cell class for the NSForm control + The cell class for the NSForm control Copyright (C) 1996, 1999 Free Software Foundation, Inc. diff --git a/Source/NSGraphicsContext.m b/Source/NSGraphicsContext.m index 179a4df27..23f368530 100644 --- a/Source/NSGraphicsContext.m +++ b/Source/NSGraphicsContext.m @@ -1,10 +1,12 @@ -/* NSGraphicsContext - GNUstep drawing context class. +/** NSGraphicsContext + + GNUstep drawing context class. Copyright (C) 1998 Free Software Foundation, Inc. - Written by: Adam Fedor + Written by: Adam Fedor Date: Nov 1998 - Updated by: Richard Frith-Macdonald + Updated by: Richard Frith-Macdonald Date: Feb 1999 This file is part of the GNUStep GUI Library. @@ -137,7 +139,7 @@ NSGraphicsContext *GSCurrentContext() return [GSCurrentContext() isDrawingToScreen]; } -+ defaultContextWithInfo: (NSDictionary *)info; ++ defaultContextWithInfo: (NSDictionary *)info { return [self graphicsContextWithAttributes: info]; } @@ -192,7 +194,7 @@ NSGraphicsContext *GSCurrentContext() /* Just remove ourselves from the context list so we will be dealloced on the next autorelease pool end */ -- (void) destroyContext; +- (void) destroyContext { [contextLock lock]; [contextList removeObject: self]; @@ -1936,77 +1938,77 @@ NSGraphicsContext *GSCurrentContext() /*-------------------------------------------------------------------------*/ /* Window Extension Ops */ /*-------------------------------------------------------------------------*/ -- (void) DPSwindow: (float) x : (float) y : (float) w : (float) h : (int) type : (int *) num ; +- (void) DPSwindow: (float) x : (float) y : (float) w : (float) h : (int) type : (int *) num { [self subclassResponsibility: _cmd]; } -- (void) DPStermwindow: (int) num ; +- (void) DPStermwindow: (int) num { [self subclassResponsibility: _cmd]; } -- (void) DPSstylewindow: (int) style : (int) num ; +- (void) DPSstylewindow: (int) style : (int) num { [self subclassResponsibility: _cmd]; } -- (void) DPStitlewindow: (const char *) window_title : (int) num ; +- (void) DPStitlewindow: (const char *) window_title : (int) num { [self subclassResponsibility: _cmd]; } -- (void) DPSminiwindow: (int) num ; +- (void) DPSminiwindow: (int) num { [self subclassResponsibility: _cmd]; } -- (void) DPSwindowdevice: (int) num ; +- (void) DPSwindowdevice: (int) num { [self subclassResponsibility: _cmd]; } -- (void) DPSwindowdeviceround: (int) num ; +- (void) DPSwindowdeviceround: (int) num { [self subclassResponsibility: _cmd]; } -- (void) DPScurrentwindow: (int *) num ; +- (void) DPScurrentwindow: (int *) num { [self subclassResponsibility: _cmd]; } -- (void) DPSorderwindow: (int) op : (int) otherWin : (int) winNum ; +- (void) DPSorderwindow: (int) op : (int) otherWin : (int) winNum { [self subclassResponsibility: _cmd]; } -- (void) DPSmovewindow: (float) x : (float) y : (int) num ; +- (void) DPSmovewindow: (float) x : (float) y : (int) num { [self subclassResponsibility: _cmd]; } -- (void) DPSupdatewindow: (int) win ; +- (void) DPSupdatewindow: (int) win { [self subclassResponsibility: _cmd]; } -- (void) DPSplacewindow: (float) x : (float) y : (float) w : (float) h : (int) win ; +- (void) DPSplacewindow: (float) x : (float) y : (float) w : (float) h : (int) win { [self subclassResponsibility: _cmd]; } -- (void) DPSfrontwindow: (int *) num ; +- (void) DPSfrontwindow: (int *) num { [self subclassResponsibility: _cmd]; } -- (void) DPSfindwindow: (float) x : (float) y : (int) op : (int) otherWin : (float *) lx : (float *) ly : (int *) winFound : (int *) didFind ; +- (void) DPSfindwindow: (float) x : (float) y : (int) op : (int) otherWin : (float *) lx : (float *) ly : (int *) winFound : (int *) didFind { [self subclassResponsibility: _cmd]; } -- (void) DPScurrentwindowbounds: (int) num : (float *) x : (float *) y : (float *) w : (float *) h ; +- (void) DPScurrentwindowbounds: (int) num : (float *) x : (float *) y : (float *) w : (float *) h { [self subclassResponsibility: _cmd]; } @@ -2016,112 +2018,112 @@ NSGraphicsContext *GSCurrentContext() [self subclassResponsibility: _cmd]; } -- (void) DPSsetsendexposed: (int) truth : (int) num ; +- (void) DPSsetsendexposed: (int) truth : (int) num { [self subclassResponsibility: _cmd]; } -- (void) DPSsetautofill: (int) truth : (int) num ; +- (void) DPSsetautofill: (int) truth : (int) num { [self subclassResponsibility: _cmd]; } -- (void) DPScurrentwindowalpha: (int) win : (int *) alpha ; +- (void) DPScurrentwindowalpha: (int) win : (int *) alpha { [self subclassResponsibility: _cmd]; } -- (void) DPScountscreenlist: (int) context : (int *) count ; +- (void) DPScountscreenlist: (int) context : (int *) count { [self subclassResponsibility: _cmd]; } -- (void) DPSscreenlist: (int) context : (int) count : (int *) windows ; +- (void) DPSscreenlist: (int) context : (int) count : (int *) windows { [self subclassResponsibility: _cmd]; } -- (void) DPSsetowner: (int) owner : (int) win ; +- (void) DPSsetowner: (int) owner : (int) win { [self subclassResponsibility: _cmd]; } -- (void) DPScurrentowner: (int) win : (int *) owner ; +- (void) DPScurrentowner: (int) win : (int *) owner { [self subclassResponsibility: _cmd]; } -- (void) DPSsetwindowtype: (int) type : (int) win ; +- (void) DPSsetwindowtype: (int) type : (int) win { [self subclassResponsibility: _cmd]; } -- (void) DPSsetwindowlevel: (int) level : (int) win ; +- (void) DPSsetwindowlevel: (int) level : (int) win { [self subclassResponsibility: _cmd]; } -- (void) DPScurrentwindowlevel: (int) win : (int *) level ; +- (void) DPScurrentwindowlevel: (int) win : (int *) level { [self subclassResponsibility: _cmd]; } -- (void) DPScountwindowlist: (int) context : (int *) count ; +- (void) DPScountwindowlist: (int) context : (int *) count { [self subclassResponsibility: _cmd]; } -- (void) DPSwindowlist: (int) context : (int) count : (int *) windows ; +- (void) DPSwindowlist: (int) context : (int) count : (int *) windows { [self subclassResponsibility: _cmd]; } -- (void) DPSsetwindowdepthlimit: (int) limit : (int) win ; +- (void) DPSsetwindowdepthlimit: (int) limit : (int) win { [self subclassResponsibility: _cmd]; } -- (void) DPScurrentwindowdepthlimit: (int) win : (int *) limit ; +- (void) DPScurrentwindowdepthlimit: (int) win : (int *) limit { [self subclassResponsibility: _cmd]; } -- (void) DPScurrentwindowdepth: (int) win : (int *) depth ; +- (void) DPScurrentwindowdepth: (int) win : (int *) depth { [self subclassResponsibility: _cmd]; } -- (void) DPSsetdefaultdepthlimit: (int) limit ; +- (void) DPSsetdefaultdepthlimit: (int) limit { [self subclassResponsibility: _cmd]; } -- (void) DPScurrentdefaultdepthlimit: (int *) limit ; +- (void) DPScurrentdefaultdepthlimit: (int *) limit { [self subclassResponsibility: _cmd]; } -- (void) DPSsetmaxsize: (float) width : (float) height : (int) win ; +- (void) DPSsetmaxsize: (float) width : (float) height : (int) win { [self subclassResponsibility: _cmd]; } -- (void) DPSsetminsize: (float) width : (float) height : (int) win ; +- (void) DPSsetminsize: (float) width : (float) height : (int) win { [self subclassResponsibility: _cmd]; } -- (void) DPSsetresizeincrements: (float) width : (float) height : (int) win ; +- (void) DPSsetresizeincrements: (float) width : (float) height : (int) win { [self subclassResponsibility: _cmd]; } -- (void) DPSflushwindowrect: (float) x : (float) y : (float) w : (float) h : (int) win ; +- (void) DPSflushwindowrect: (float) x : (float) y : (float) w : (float) h : (int) win { [self subclassResponsibility: _cmd]; } -- (void) DPScapturemouse: (int) win ; +- (void) DPScapturemouse: (int) win { [self subclassResponsibility: _cmd]; } @@ -2131,7 +2133,7 @@ NSGraphicsContext *GSCurrentContext() [self subclassResponsibility: _cmd]; } -- (void) DPSsetinputfocus: (int) win ; +- (void) DPSsetinputfocus: (int) win { [self subclassResponsibility: _cmd]; } @@ -2146,27 +2148,27 @@ NSGraphicsContext *GSCurrentContext() [self subclassResponsibility: _cmd]; } -- (void) DPSstandardcursor: (int) style : (void **) cid ; +- (void) DPSstandardcursor: (int) style : (void **) cid { [self subclassResponsibility: _cmd]; } -- (void) DPSimagecursor: (float) hotx : (float) hoty : (float) w : (float) h : (int) colors : (const char *) image : (void **) cid ; +- (void) DPSimagecursor: (float) hotx : (float) hoty : (float) w : (float) h : (int) colors : (const char *) image : (void **) cid { [self subclassResponsibility: _cmd]; } -- (void) DPSsetcursorcolor: (float) fr : (float) fg : (float) fb : (float) br : (float) bg : (float) bb : (void *) cid ; +- (void) DPSsetcursorcolor: (float) fr : (float) fg : (float) fb : (float) br : (float) bg : (float) bb : (void *) cid { [self subclassResponsibility: _cmd]; } -- (void) DPSstyleoffsets: (float *) r : (float *) l : (float *) t : (float *) b : (int) style ; +- (void) DPSstyleoffsets: (float *) r : (float *) l : (float *) t : (float *) b : (int) style { [self subclassResponsibility: _cmd]; } -- (void) DPSdocedited: (int) edited : (int) window ; +- (void) DPSdocedited: (int) edited : (int) window { [self subclassResponsibility: _cmd]; } diff --git a/Source/NSHelpManager.m b/Source/NSHelpManager.m index 2a9a64329..d7b3d79fe 100644 --- a/Source/NSHelpManager.m +++ b/Source/NSHelpManager.m @@ -1,8 +1,7 @@ -/* - NSHelpManager.m +/** NSHelpManager - NSHelpManager is the class responsible for managing context help - for the application, and its mapping to the graphic elements. + NSHelpManager is the class responsible for managing context help + for the application, and its mapping to the graphic elements. Copyright (C) 1999 Free Software Foundation, Inc. diff --git a/Source/NSHelpPanel.m b/Source/NSHelpPanel.m index 96693c73e..a5a564a6e 100644 --- a/Source/NSHelpPanel.m +++ b/Source/NSHelpPanel.m @@ -1,11 +1,8 @@ -/* - NSHelpPanel.m - - Description... +/** NSHelpPanel Copyright (C) 1996 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 This file is part of the GNUstep GUI Library. diff --git a/Source/NSImage.m b/Source/NSImage.m index c0ced4f77..d325063ca 100644 --- a/Source/NSImage.m +++ b/Source/NSImage.m @@ -1,11 +1,10 @@ -/* - NSImage.m +/** NSImage - Load, manipulate and display images + Load, manipulate and display images Copyright (C) 1996 Free Software Foundation, Inc. - Author: Adam Fedor + Author: Adam Fedor Date: Feb 1996 This library is free software; you can redistribute it and/or @@ -23,13 +22,6 @@ If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* - FIXME: - [1] Filter services not implemented. - [2] Should there be a place to look for system bitmaps? - (findImageNamed: ). - [3] bestRepresentation is not complete. -*/ #include #include @@ -340,7 +332,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep) return self; } -- (id) initWithData: (NSData *)data; +- (id) initWithData: (NSData *)data { self = [self init]; @@ -653,7 +645,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep) // Using the Image - (void) compositeToPoint: (NSPoint)aPoint - operation: (NSCompositingOperation)op; + operation: (NSCompositingOperation)op { NSRect rect; // Might not be computed up to now @@ -665,7 +657,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep) - (void) compositeToPoint: (NSPoint)aPoint fromRect: (NSRect)aRect - operation: (NSCompositingOperation)op; + operation: (NSCompositingOperation)op { NSImageRep *rep; @@ -735,7 +727,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep) // FIXME We need another PS command for this } -- (void) dissolveToPoint: (NSPoint)aPoint fraction: (float)aFloat; +- (void) dissolveToPoint: (NSPoint)aPoint fraction: (float)aFloat { NSRect rect; NSSize size = [self size]; @@ -746,7 +738,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep) - (void) dissolveToPoint: (NSPoint)aPoint fromRect: (NSRect)aRect - fraction: (float)aFloat; + fraction: (float)aFloat { NSImageRep *rep; diff --git a/Source/NSImageCell.m b/Source/NSImageCell.m index 6e3ea312c..661e30e8d 100644 --- a/Source/NSImageCell.m +++ b/Source/NSImageCell.m @@ -1,11 +1,10 @@ -/* - NSImageCell.m +/** NSImageCell - The image cell class + The image cell class Copyright (C) 1999 Free Software Foundation, Inc. - Author: Jonathan Gapen + Author: Jonathan Gapen Date: 1999 This file is part of the GNUstep GUI Library. diff --git a/Source/NSImageRep.m b/Source/NSImageRep.m index bb515a60d..d1f2ac4ef 100644 --- a/Source/NSImageRep.m +++ b/Source/NSImageRep.m @@ -1,11 +1,10 @@ -/* - NSImageRep.m +/** NSImageRep - Abstract representation of an image. + Abstract representation of an image. Copyright (C) 1996 Free Software Foundation, Inc. - Author: Adam Fedor + Author: Adam Fedor Date: Feb 1996 This file is part of the GNUstep Application Kit Library. diff --git a/Source/NSImageView.m b/Source/NSImageView.m index 2d391c2a0..5332219a8 100644 --- a/Source/NSImageView.m +++ b/Source/NSImageView.m @@ -1,5 +1,4 @@ -/* - NSImageView.m +/** NSImageView Copyright (C) 1996 Free Software Foundation, Inc. diff --git a/Source/NSInputManager.m b/Source/NSInputManager.m index 9f1401a5d..99fadfaf5 100644 --- a/Source/NSInputManager.m +++ b/Source/NSInputManager.m @@ -1,5 +1,4 @@ -/* -*-objc-*- - NSInputManager.m +/** NSInputManager -*-objc-*- Copyright (C) 2001 Free Software Foundation, Inc. @@ -40,7 +39,7 @@ + (void) cycleToNextInputLanguage: (id)sender {} -+ (void) cycleToNextInputServerInLanguage: (id)sender; ++ (void) cycleToNextInputServerInLanguage: (id)sender {} @@ -125,7 +124,7 @@ return nil; } -- (NSAttributedString *) attributedSubstringFromRange: (NSRange)theRange; +- (NSAttributedString *) attributedSubstringFromRange: (NSRange)theRange { return nil; } diff --git a/Source/NSInputServer.m b/Source/NSInputServer.m index 5115e76c6..b327e2cea 100644 --- a/Source/NSInputServer.m +++ b/Source/NSInputServer.m @@ -1,9 +1,8 @@ -/* -*-objc-*- - NSInputServer.m +/** NSInputServer -*-objc-*- Copyright (C) 2001 Free Software Foundation, Inc. - Author: Fred Kiefer + Author: Fred Kiefer Date: August 2001 This file is part of the GNUstep GUI Library. diff --git a/Source/NSInterfaceStyle.m b/Source/NSInterfaceStyle.m index 0626a6e2d..cac811c14 100644 --- a/Source/NSInterfaceStyle.m +++ b/Source/NSInterfaceStyle.m @@ -1,9 +1,8 @@ -/* - NSInterfaceStyle.m +/** NSInterfaceStyle Copyright (C) 1999 Free Software Foundation, Inc. - Author: Richard Frith-Macdonald + Author: Richard Frith-Macdonald Date: 1999 This file is part of the GNUstep GUI Library. diff --git a/Source/NSLayoutManager.m b/Source/NSLayoutManager.m index 0d067c29c..0131a01b5 100644 --- a/Source/NSLayoutManager.m +++ b/Source/NSLayoutManager.m @@ -1,11 +1,10 @@ -/* - NSLayoutManager.m +/** NSLayoutManager - The text layout manager class + The text layout manager class Copyright (C) 1999 Free Software Foundation, Inc. - Author: Jonathan Gapen + Author: Jonathan Gapen Date: July 1999 Author: Michael Hanni Date: August 1999 diff --git a/Source/NSMatrix.m b/Source/NSMatrix.m index d685854a7..95181e00e 100644 --- a/Source/NSMatrix.m +++ b/Source/NSMatrix.m @@ -1,17 +1,16 @@ -/* - NSMatrix.m +/** NSMatrix - Matrix class for grouping controls + Matrix class for grouping controls Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc. - Author: Ovidiu Predescu + Author: Ovidiu Predescu Date: March 1997 A completely rewritten version of the original source by Pascal Forget and Scott Christley. - Modified: Felipe A. Rodriguez + Modified: Felipe A. Rodriguez Date: August 1998 - Cell handling rewritten: + Cell handling rewritten: Richard Frith-Macdonald Date: November 1999 Implementation of Editing: Nicola Pero Date: November 1999 diff --git a/Source/NSMenu.m b/Source/NSMenu.m index 0d62e3e8f..29947d0e0 100644 --- a/Source/NSMenu.m +++ b/Source/NSMenu.m @@ -1,5 +1,4 @@ -/* - NSMenu.m +/** NSMenu Copyright (C) 1999 Free Software Foundation, Inc. @@ -7,9 +6,9 @@ Date: Aug 2001 Author: David Lazaro Saz Date: Oct 1999 - Author: Michael Hanni + Author: Michael Hanni Date: 1999 - Author: Felipe A. Rodriguez + Author: Felipe A. Rodriguez Date: July 1998 and: Author: Ovidiu Predescu diff --git a/Source/NSMenuItem.m b/Source/NSMenuItem.m index 775327b8f..5b1d8ec61 100644 --- a/Source/NSMenuItem.m +++ b/Source/NSMenuItem.m @@ -1,15 +1,13 @@ -/* - NSMenuItem.m +/** NSMenuItem - The menu cell class. + The menu cell class. Copyright (C) 1996 Free Software Foundation, Inc. + Author: Ovidiu Predescu + Date: May 1997 Author: David Lazaro Saz Date: Sep 1999 - - Author: Ovidiu Predescu - Date: May 1997 This file is part of the GNUstep GUI Library. diff --git a/Source/NSMenuItemCell.m b/Source/NSMenuItemCell.m index ab7a419ef..4c61161d7 100644 --- a/Source/NSMenuItemCell.m +++ b/Source/NSMenuItemCell.m @@ -1,9 +1,8 @@ -/* - NSMenuItemCell.m +/** NSMenuItemCell Copyright (C) 1999 Free Software Foundation, Inc. - Author: Michael Hanni + Author: Michael Hanni Date: 1999 This file is part of the GNUstep GUI Library. diff --git a/Source/NSMenuView.m b/Source/NSMenuView.m index cd07ec52e..90fce0c38 100644 --- a/Source/NSMenuView.m +++ b/Source/NSMenuView.m @@ -1,13 +1,12 @@ -/* - NSMenuView.m +/** NSMenuView Copyright (C) 1999 Free Software Foundation, Inc. Author: Fred Kiefer Date: Sep 2001 - Author: David Lazaro Saz + Author: David Lazaro Saz Date: Oct 1999 - Author: Michael Hanni + Author: Michael Hanni Date: 1999 This file is part of the GNUstep GUI Library. diff --git a/Source/NSOpenPanel.m b/Source/NSOpenPanel.m index 7b00e8d18..7ae305ffc 100644 --- a/Source/NSOpenPanel.m +++ b/Source/NSOpenPanel.m @@ -1,14 +1,13 @@ -/* -*-objc-*- - NSOpenPanel.m +/** NSOpenPanel -*-objc-*- - Standard open panel for opening files + Standard open panel for opening files Copyright (C) 1996, 1998, 1999, 2000 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 - Author: Daniel Bðhringer + Author: Daniel Bðhringer Date: August 1998 Source by Daniel Bðhringer integrated into Scott Christley's preliminary @@ -17,7 +16,7 @@ Author: Nicola Pero Date: October 1999 Completely Rewritten. - Author: Mirko Viviani + Author: Mirko Viviani Date: September 2000 This file is part of the GNUstep GUI Library. diff --git a/Source/NSOutlineView.m b/Source/NSOutlineView.m index 666dc3294..e2606f1e9 100644 --- a/Source/NSOutlineView.m +++ b/Source/NSOutlineView.m @@ -1,7 +1,6 @@ -/* - NSOutlineView.h +/** NSOutlineView - The outline class. + The outline class. Copyright (C) 2001 Free Software Foundation, Inc. diff --git a/Source/NSPageLayout.m b/Source/NSPageLayout.m index 411a0e00d..72d5ff650 100644 --- a/Source/NSPageLayout.m +++ b/Source/NSPageLayout.m @@ -2,9 +2,9 @@ Standard panel for querying user about page layout. - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001 Free Software Foundation, Inc. - Written By: fedor@gnu.org + Written By: Adam Fedor Date: Oct 2001 This file is part of the GNUstep GUI Library. diff --git a/Source/NSPanel.m b/Source/NSPanel.m index eae3cff87..195a09002 100644 --- a/Source/NSPanel.m +++ b/Source/NSPanel.m @@ -1,20 +1,18 @@ -/* - NSPanel.m +/** NSPanel - Panel window class and related functions + Panel window class and related functions Copyright (C) 1996 Free Software Foundation, Inc. - NSPanel implementation - Author: Scott Christley + Author: Scott Christley Date: 1996 GSAlertPanel and alert panel functions implementation - Author: Richard Frith-Macdonald + Author: Richard Frith-Macdonald Date: 1998 GSAlertPanel and alert panel functions cleanup and improvements (scroll view) - Author: Pascal J. Bourguignon + Author: Pascal J. Bourguignon > Date: 2000-03-08 This file is part of the GNUstep GUI Library. diff --git a/Source/NSParagraphStyle.m b/Source/NSParagraphStyle.m index ba940a761..48fec935b 100644 --- a/Source/NSParagraphStyle.m +++ b/Source/NSParagraphStyle.m @@ -1,15 +1,12 @@ -/* - NSParagraphStyle.m +/** NSParagraphStyle - NSParagraphStyle and NSMutableParagraphStyle hold paragraph style - information NSTextTab holds information about a single tab stop + NSParagraphStyle and NSMutableParagraphStyle hold paragraph style + information NSTextTab holds information about a single tab stop Copyright (C) 1996 Free Software Foundation, Inc. - Author: Daniel Bðhringer - Date: August 1998 - skeleton - Author: Richard Frith-Macdonald - Date March 1999 - implementation + Author: Richard Frith-Macdonald + Date March 1999 This file is part of the GNUstep GUI Library. diff --git a/Source/NSPasteboard.m b/Source/NSPasteboard.m index 96b48b557..b2dee26bd 100644 --- a/Source/NSPasteboard.m +++ b/Source/NSPasteboard.m @@ -1,12 +1,11 @@ -/* - NSPasteboard.m +/** NSPasteboard - Description... Implementation of class for communicating with the - pasteboard server. + Implementation of class for communicating with the + pasteboard server. Copyright (C) 1997,1999 Free Software Foundation, Inc. - Author: Richard Frith-Macdonald + Author: Richard Frith-Macdonald Date: 1997 This file is part of the GNUstep GUI Library. diff --git a/Source/NSPopUpButton.m b/Source/NSPopUpButton.m index 6beda994a..61a8a2d02 100644 --- a/Source/NSPopUpButton.m +++ b/Source/NSPopUpButton.m @@ -1,11 +1,10 @@ -/* - NSPopUpButton.m +/** NSPopUpButton - Popup list class + Popup list class Copyright (C) 1996 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 Author: Michael Hanni Date: June 1999 diff --git a/Source/NSPopUpButtonCell.m b/Source/NSPopUpButtonCell.m index 591b88e55..94f5f65a9 100644 --- a/Source/NSPopUpButtonCell.m +++ b/Source/NSPopUpButtonCell.m @@ -1,5 +1,4 @@ -/* - NSPopUpButtonCell.m +/** NSPopUpButtonCell Copyright (C) 1999 Free Software Foundation, Inc. diff --git a/Source/NSPrintPanel.m b/Source/NSPrintPanel.m index 58674b42d..70e8c7d9d 100644 --- a/Source/NSPrintPanel.m +++ b/Source/NSPrintPanel.m @@ -2,9 +2,9 @@ Standard panel for querying user about printing. - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001 Free Software Foundation, Inc. - Written By: fedor@gnu.org + Written By: Adam Fedor Date: Oct 2001 This file is part of the GNUstep GUI Library. diff --git a/Source/NSPrinter.m b/Source/NSPrinter.m index d41cbc117..7865f7e80 100644 --- a/Source/NSPrinter.m +++ b/Source/NSPrinter.m @@ -1,12 +1,11 @@ -/* - NSPrinter.m +/** NSPrinter - Class representing a printer's or printer model's capabilities. + Class representing a printer's or printer model's capabilities. Copyright (C) 1996, 1997 Free Software Foundation, Inc. - Authors: Simon Frankau - Date: June 1997 - January 1998 + Authors: Simon Frankau + Date: June 1997 This file is part of the GNUstep GUI Library. diff --git a/Source/NSProgressIndicator.m b/Source/NSProgressIndicator.m index d27c55f93..88ff591dd 100644 --- a/Source/NSProgressIndicator.m +++ b/Source/NSProgressIndicator.m @@ -1,5 +1,4 @@ -/* - NSProgressIndicator.m +/** NSProgressIndicator Copyright (C) 1999 Free Software Foundation, Inc. diff --git a/Source/NSResponder.m b/Source/NSResponder.m index 8f0ac02c5..1892f393c 100644 --- a/Source/NSResponder.m +++ b/Source/NSResponder.m @@ -1,11 +1,10 @@ -/* - NSResponder.m +/** NSResponder - Abstract class which is basis of command and event processing + Abstract class which is basis of command and event processing Copyright (C) 1996,1999 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 This file is part of the GNUstep GUI Library. diff --git a/Source/NSRulerMarker.m b/Source/NSRulerMarker.m index 623764f14..6fbb7fdad 100644 --- a/Source/NSRulerMarker.m +++ b/Source/NSRulerMarker.m @@ -1,7 +1,6 @@ -/* - NSRulerMarker.m +/** NSRulerMarker - Displays a symbol in a NSRulerView. + Displays a symbol in a NSRulerView. Copyright (C) 2001 Free Software Foundation, Inc. diff --git a/Source/NSRulerView.m b/Source/NSRulerView.m index da7157bb2..eab782222 100644 --- a/Source/NSRulerView.m +++ b/Source/NSRulerView.m @@ -1,7 +1,6 @@ -/* - NSRulerView.m +/** NSRulerView - The NSRulerView class. + The NSRulerView class. Copyright (C) 2001 Free Software Foundation, Inc. @@ -260,7 +259,7 @@ unitToPointsConversionFactor:(float)conversionFactor return 0.0; } -- (float)baselineLocation; +- (float)baselineLocation { // FIXME return 0.0; diff --git a/Source/NSSavePanel.m b/Source/NSSavePanel.m index ee5f81490..51e91f7a2 100644 --- a/Source/NSSavePanel.m +++ b/Source/NSSavePanel.m @@ -1,14 +1,13 @@ -/* - NSSavePanel.m +/** NSSavePanel - Standard save panel for saving files + Standard save panel for saving files Copyright (C) 1999, 2000 Free Software Foundation, Inc. - Author: Jonathan Gapen + Author: Jonathan Gapen Date: 1999 - Author: Nicola Pero + Author: Nicola Pero Date: 1999 Author: Mirko Viviani diff --git a/Source/NSScreen.m b/Source/NSScreen.m index 90b9e1bf4..e5199f3c1 100644 --- a/Source/NSScreen.m +++ b/Source/NSScreen.m @@ -1,13 +1,9 @@ -/* - NSScreen.m - - Description... +/** NSScreen Copyright (C) 1996, 2000 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 - Major modifications and updates Author: Gregory John Casamento Date: 2000 diff --git a/Source/NSScrollView.m b/Source/NSScrollView.m index 81b0a2f85..03f484134 100644 --- a/Source/NSScrollView.m +++ b/Source/NSScrollView.m @@ -1,13 +1,12 @@ -/* - NSScrollView.m +/** NSScrollView Copyright (C) 1996 Free Software Foundation, Inc. Author: Ovidiu Predescu Date: July 1997 - Author: Felipe A. Rodriguez + Author: Felipe A. Rodriguez Date: October 1998 - Author: Richard Frith-Macdonald + Author: Richard Frith-Macdonald Date: February 1999 Table View Support: Nicola Pero Date: March 2000 diff --git a/Source/NSScroller.m b/Source/NSScroller.m index 9d67a7ffe..c4ba8bcd7 100644 --- a/Source/NSScroller.m +++ b/Source/NSScroller.m @@ -1,14 +1,13 @@ -/* - NSScroller.m +/** NSScroller Copyright (C) 1996 Free Software Foundation, Inc. Author: Ovidiu Predescu A completely rewritten version of the original source by Scott Christley. Date: July 1997 - Author: Felipe A. Rodriguez + Author: Felipe A. Rodriguez Date: August 1998 - Author: Richard frith-Macdonald + Author: Richard Frith-Macdonald Date: Mar 1999 - Use flipped views and make conform to spec This file is part of the GNUstep GUI Library. diff --git a/Source/NSSecureTextField.m b/Source/NSSecureTextField.m index 0c47bfdc4..dce6b8655 100644 --- a/Source/NSSecureTextField.m +++ b/Source/NSSecureTextField.m @@ -1,14 +1,10 @@ -/* -*- C++ -*- - NSSecureTextField.m +/** NSSecureTextField - Secure Text field control class for hidden text entry + Secure Text field control class for hidden text entry Copyright (C) 1999 Free Software Foundation, Inc. - Original Author: Lyndon Tremblay - Date: 1999 - - Rewrite by: Gregory John Casamento + Author: Gregory John Casamento Date: 2000 This file is part of the GNUstep GUI Library. diff --git a/Source/NSSelection.m b/Source/NSSelection.m index 91de85e67..5a4356db0 100644 --- a/Source/NSSelection.m +++ b/Source/NSSelection.m @@ -1,15 +1,14 @@ -/* - NSSelection.m +/** NSSelection - Description: NSSelection is used by NSDataLink to refer to a - selection within a document. + NSSelection is used by NSDataLink to refer to a + selection within a document. Copyright (C) 1996 Free Software Foundation, Inc. - Author: Gregory John Casamento + Author: Gregory John Casamento Date: 2001 - Author: Scott Christley + Author: Scott Christley Date: 1996 This file is part of the GNUstep GUI Library. diff --git a/Source/NSSlider.m b/Source/NSSlider.m index a41db8fa3..7726af744 100644 --- a/Source/NSSlider.m +++ b/Source/NSSlider.m @@ -1,11 +1,10 @@ -/* - NSSlider.m +/** NSSlider Copyright (C) 1996 Free Software Foundation, Inc. Author: Ovidiu Predescu Date: September 1997 - Author: Felipe A. Rodriguez + Author: Felipe A. Rodriguez Date: August 1998 This file is part of the GNUstep GUI Library. @@ -88,6 +87,36 @@ float _floatValueForMousePoint (NSPoint point, NSRect knobRect, } +/** + + Class Description + +

An NSSlider displays, and allows control of, some value in the + application. It represents a continuous stream of values of type + float, which can be retrieved by the method + floatValue and set by the method + setFloatValue:.

+ +

This control is a continuous control. It sends its action + message as long as the user is manipulating it. This can be changed + by passing NO to the setContinuous: + message of a given NSSlider.

+ +

Although methods for adding and managing a title are provided, + the slider's knob can cover this title, so it is recommended that a + label be added near the slider, for identification.

+ +

As with many controls, NSSlider relies on its cell counterpart, + NSSliderCell. For more information, please see the specification + for NSSliderCell.

+ +

Use of an NSSlider to do the role of an NSScroller is not + recommended. A scroller is intended to represent the visible + portion of a view, whereas a slider is intended to represent some + value.

+ +
+*/ @implementation NSSlider static Class cellClass; @@ -123,101 +152,144 @@ static Class cellClass; return self; } +/** + Returns the value by which the slider will be incremented if the + user holds down the ALT key. */ - (double) altIncrementValue { return [_cell altIncrementValue]; } +/** + Returns the image drawn in the slider's track. Returns + nil if this has not been set. */ - (NSImage *) image { return [_cell image]; } +/** + Returns whether or not the slider is vertical. If, for some reason, + this cannot be determined, for such reasons as the slider is not yet + displayed, this method returns -1. Generally, a slider is + considered vertical if its height is greater than its width. */ - (int) isVertical { return [_cell isVertical]; } +/** + Returns the thickness of the slider's knob. This value is in + pixels, and is the size of the knob along the slider's track. */ - (float) knobThickness { return [_cell knobThickness]; } +/** + Sets the value by which the slider will be incremented, when the + ALT key is held down, to increment. */ - (void) setAltIncrementValue: (double)increment { [_cell setAltIncrementValue: increment]; } +/** Sets the image to be displayed in the slider's track to barImage. + */ - (void) setImage: (NSImage *)backgroundImage { [_cell setImage: backgroundImage]; } +/** + Sets the thickness of the knob to thickness, in pixels. + This value sets the amount of space which the knob takes up in the + slider's track. */ - (void) setKnobThickness: (float)aFloat { [_cell setKnobThickness: aFloat]; } +/** + Sets the title of the slider to barTitle. This title is displayed + on the slider's track, behind the knob. +*/ - (void) setTitle: (NSString *)aString { [_cell setTitle: aString]; } +/** Sets the cell used to draw the title to titleCell. */ - (void) setTitleCell: (NSCell *)aCell { [_cell setTitleCell: aCell]; } +/** Sets the colour with which the title will be drawn to color. */ - (void) setTitleColor: (NSColor *)aColor { [_cell setTitleColor: aColor]; } +/** Sets the font with which the title will be drawm to font. */ - (void) setTitleFont: (NSFont *)fontObject { [_cell setTitleFont: fontObject]; } +/** Returns the title of the slider as an NSString. */ - (NSString *) title { return [_cell title]; } +/** Returns the cell used to draw the title. */ - (id) titleCell { return [_cell titleCell]; } +/** Returns the colour used to draw the title. */ - (NSColor *) titleColor { return [_cell titleColor]; } +/** Returns the font used to draw the title. */ - (NSFont *) titleFont { return [_cell titleFont]; } +/** Returns the maximum value that the slider represents. */ - (double) maxValue { return [_cell maxValue]; } +/** Returns the minimum value that the slider represents. */ - (double) minValue { return [_cell minValue]; } +/** + Sets the maximum value that the sliders represents to maxValue. */ - (void) setMaxValue: (double)aDouble { [_cell setMaxValue: aDouble]; } +/** Sets the minimum value that the slider represents to minValue. */ - (void) setMinValue: (double)aDouble { [_cell setMinValue: aDouble]; } +/** + Returns YES by default. This will allow the first + click sent to the slider, when in an inactive window, to both bring + the window into focus and manipulate the slider. */ - (BOOL) acceptsFirstMouse: (NSEvent *)theEvent { return YES; @@ -234,7 +306,7 @@ static Class cellClass; return [_cell closestTickMarkValueToValue: aValue]; } -- (int) indexOfTickMarkAtPoint: (NSPoint)point; +- (int) indexOfTickMarkAtPoint: (NSPoint)point { return [_cell indexOfTickMarkAtPoint: point]; } @@ -244,32 +316,32 @@ static Class cellClass; return [_cell numberOfTickMarks]; } -- (NSRect) rectOfTickMarkAtIndex: (int)index; +- (NSRect) rectOfTickMarkAtIndex: (int)index { return [_cell rectOfTickMarkAtIndex: index]; } -- (void) setAllowsTickMarkValuesOnly: (BOOL)flag; +- (void) setAllowsTickMarkValuesOnly: (BOOL)flag { [_cell setAllowsTickMarkValuesOnly: flag]; } -- (void) setNumberOfTickMarks: (int)numberOfTickMarks; +- (void) setNumberOfTickMarks: (int)numberOfTickMarks { [_cell setNumberOfTickMarks: numberOfTickMarks]; } -- (void) setTickMarkPosition: (NSTickMarkPosition)position; +- (void) setTickMarkPosition: (NSTickMarkPosition)position { [_cell setTickMarkPosition: position]; } -- (NSTickMarkPosition) tickMarkPosition; +- (NSTickMarkPosition) tickMarkPosition { return [_cell tickMarkPosition]; } -- (double) tickMarkValueAtIndex: (int)index; +- (double) tickMarkValueAtIndex: (int)index { return [_cell tickMarkValueAtIndex: index]; } diff --git a/Source/NSSliderCell.m b/Source/NSSliderCell.m index 079a162cc..e14588e79 100644 --- a/Source/NSSliderCell.m +++ b/Source/NSSliderCell.m @@ -1,5 +1,4 @@ -/* - NSSliderCell.m +/** NSSliderCell Copyright (C) 1996,1999 Free Software Foundation, Inc. @@ -35,6 +34,26 @@ #include +/** + + Class Description + +

+ An NSSliderCell controls the behaviour and appearance of an + associated NSSlider, or a single slider in an NSMatrix. Tick marks + are defined in the official standard, but are not implemented in + GNUstep. +

+

+ An NSSliderCell can be customized through its + set... methods. If these do not provide enough + customization, a subclass can be created, which overrides any of the + follwing methods: knobRectFlipped:, + drawBarInside:flipped:, drawKnob:, or + prefersTrackingUntilMouseUp. +

+
+*/ @implementation NSSliderCell - (id) init @@ -68,12 +87,29 @@ return YES; } +/** +

Draws the slider's track, not including the bezel, in aRect + flipped indicates whether the control view has a flipped + coordinate system.

+ +

Do not call this method directly, it is provided for subclassing + only.

*/ - (void) drawBarInside: (NSRect)rect flipped: (BOOL)flipped { [[NSColor scrollBarColor] set]; NSRectFill(rect); } +/** +

Returns the rect in which to draw the knob, based on the + coordinate system of the NSSlider or NSMatrix this NSSliderCell is + associated with. flipped indicates whether or not that + coordinate system is flipped, which can be determined by sending the + isFlipped message to the associated NSSlider or + NSMatrix.

+ +

Do not call this method directly. It is included for subclassing + only.

*/ - (NSRect) knobRectFlipped: (BOOL)flipped { NSImage *image = [_knobCell image]; @@ -104,11 +140,26 @@ return NSMakeRect (origin.x, origin.y, size.width, size.height); } +/** +

Calculates the rect in which to draw the knob, then calls + drawKnob: Before calling this method, a + lockFocus message must be sent to the cell's control + view.

+ +

When subclassing NSSliderCell, do not override this method. + Override drawKnob: instead.

*/ - (void) drawKnob { [self drawKnob: [self knobRectFlipped: [_control_view isFlipped]]]; } +/** +

Draws the knob in knobRect. Before calling this + method, a lockFocus message must be sent to the cell's + control view.

+ +

Do not call this method directly. It is included for subclassing + only.

*/ - (void) drawKnob: (NSRect)knobRect { [_knobCell drawInteriorWithFrame: knobRect inView: _control_view]; @@ -162,6 +213,9 @@ return YES; } +/** + Returns the thickness of the slider's knob. This value is in + pixels, and is the size of the knob along the slider's track. */ - (float) knobThickness { NSImage *image = [_knobCell image]; @@ -170,6 +224,10 @@ return _isVertical ? size.height : size.width; } +/** + Sets the thickness of the knob to thickness, in pixels. + This value sets the amount of space which the knob takes up in the + slider's track. */ - (void) setKnobThickness: (float)thickness { NSImage *image = [_knobCell image]; @@ -183,36 +241,50 @@ [image setSize: size]; } +/** Sets the value by which the slider will be be incremented when with the + ALT key down to increment. */ - (void) setAltIncrementValue: (double)increment { _altIncrementValue = increment; } +/** + Sets the minimum value that the sliders represents to maxValue. +*/ - (void) setMinValue: (double)aDouble { _minValue = aDouble; } +/** + Sets the maximum value that the sliders represents to maxValue. +*/ - (void) setMaxValue: (double)aDouble { _maxValue = aDouble; } +/** Returns the cell used to draw the title. */ - (id) titleCell { return _titleCell; } +/** Returns the colour used to draw the title. */ - (NSColor*) titleColor { return [_titleCell textColor]; } +/** Returns the font used to draw the title. */ - (NSFont*) titleFont { return [_titleCell font]; } +/** + Sets the title of the slider to barTitle. This title is + displayed on the slider's track, behind the knob. */ - (void) setTitle: (NSString*)title { [_titleCell setStringValue: title]; @@ -223,46 +295,68 @@ return [_titleCell stringValue]; } +/** Sets the cell used to draw the title to titleCell. */ - (void) setTitleCell: (NSCell*)aCell { ASSIGN(_titleCell, aCell); } +/** Sets the colour with which the title will be drawn to color. */ - (void) setTitleColor: (NSColor*)color { [_titleCell setTextColor: color]; } +/** Sets the font with which the title will be drawm to font. */ - (void) setTitleFont: (NSFont*)font { [_titleCell setFont: font]; } +/** + Returns whether or not the slider is vertical. If, for some + reason, this cannot be determined, for such reasons as the slider is + not yet displayed, this method returns -1. Generally, a slider is + considered vertical if its height is greater than its width. */ - (int) isVertical { return _isVertical; } +/** Returns the value by which the slider is incremented when the user + holds down the ALT key. +*/ - (double) altIncrementValue { return _altIncrementValue; } +/** +

The default implementation returns YES, so that the + slider continues to track the user's movement even if the cursor + leaves the slider's track.

+ +

Do not call this method directly. Override it in subclasses + where the tracking behaviour needs to be different.

+ */ + (BOOL) prefersTrackingUntilMouseUp { return YES; } +/** Returns the rect of the track, minus the bezel. */ - (NSRect) trackRect { return _trackRect; } +/** Returns the minimum value that the slider represents. */ - (double) minValue { return _minValue; } +/** Returns the maximum value that the slider represents. */ - (double) maxValue { return _maxValue; @@ -299,44 +393,44 @@ return 0.0; } -- (int) indexOfTickMarkAtPoint: (NSPoint)point; +- (int) indexOfTickMarkAtPoint: (NSPoint)point { // FIXME return 0; } -- (int) numberOfTickMarks; +- (int) numberOfTickMarks { return _numberOfTickMarks; } -- (NSRect) rectOfTickMarkAtIndex: (int)index; +- (NSRect) rectOfTickMarkAtIndex: (int)index { // FIXME return NSZeroRect; } -- (void) setAllowsTickMarkValuesOnly: (BOOL)flag; +- (void) setAllowsTickMarkValuesOnly: (BOOL)flag { _allowsTickMarkValuesOnly = flag; } -- (void) setNumberOfTickMarks: (int)numberOfTickMarks; +- (void) setNumberOfTickMarks: (int)numberOfTickMarks { _numberOfTickMarks = numberOfTickMarks; } -- (void) setTickMarkPosition: (NSTickMarkPosition)position; +- (void) setTickMarkPosition: (NSTickMarkPosition)position { _tickMarkPosition = position; } -- (NSTickMarkPosition) tickMarkPosition; +- (NSTickMarkPosition) tickMarkPosition { return _tickMarkPosition; } -- (double) tickMarkValueAtIndex: (int)index; +- (double) tickMarkValueAtIndex: (int)index { if (index >= _numberOfTickMarks) return _maxValue; diff --git a/Source/NSSpellChecker.m b/Source/NSSpellChecker.m index 92a35b65b..8ad276ee9 100644 --- a/Source/NSSpellChecker.m +++ b/Source/NSSpellChecker.m @@ -1,15 +1,14 @@ -/* - NSSpellChecker.m +/** NSSpellChecker - Class to provide the graphical interface to the spell checking - service. + Class to provide the graphical interface to the spell checking + service. Copyright (C) 2001, 1996 Free Software Foundation, Inc. - Author: Gregory John Casamento + Author: Gregory John Casamento Date: 2001 - Author: Scott Christley + Author: Scott Christley Date: 1996 This file is part of the GNUstep GUI Library. @@ -228,7 +227,7 @@ static int __documentTag = 0; return _serverProxy; } -- (void)_populateDictionaryPulldown: (NSArray *)dictionaries; +- (void)_populateDictionaryPulldown: (NSArray *)dictionaries { [_dictionaryPulldown removeAllItems]; [_dictionaryPulldown addItemsWithTitles: dictionaries]; diff --git a/Source/NSSpellServer.m b/Source/NSSpellServer.m index 16e92fe6e..054d2128c 100644 --- a/Source/NSSpellServer.m +++ b/Source/NSSpellServer.m @@ -1,14 +1,12 @@ -/* - NSSpellServer.m +/** NSSpellServer - Class to allow a spell checker to be available to other apps. + Class to allow a spell checker to be available to other apps. Copyright (C) 2001, 1996 Free Software Foundation, Inc. - Author by: Gregory Casamento + Author by: Gregory John Casamento Date: 2001 - - Author: Scott Christley + Author: Scott Christley Date: 1996 This file is part of the GNUstep GUI Library. diff --git a/Source/NSSplitView.m b/Source/NSSplitView.m index 92326250b..24c176c50 100644 --- a/Source/NSSplitView.m +++ b/Source/NSSplitView.m @@ -1,7 +1,6 @@ -/* - NSSplitView.m +/** NSSplitView - Allows multiple views to share a region in a window + Allows multiple views to share a region in a window Copyright (C) 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. diff --git a/Source/NSStepper.m b/Source/NSStepper.m index 10c02dcae..cacc7bfba 100644 --- a/Source/NSStepper.m +++ b/Source/NSStepper.m @@ -1,9 +1,8 @@ -/* - NSStepper.m +/** NSStepper Copyright (C) 2001 Free Software Foundation, Inc. - Author: Pierre-Yves Rivaille + Author: Pierre-Yves Rivaille Date: August 2001 This file is part of the GNUstep GUI Library. diff --git a/Source/NSStepperCell.m b/Source/NSStepperCell.m index cd9fc9f44..15170aefb 100644 --- a/Source/NSStepperCell.m +++ b/Source/NSStepperCell.m @@ -1,5 +1,4 @@ -/* - NSStepperCell.m +/** NSStepperCell Copyright (C) 2001 Free Software Foundation, Inc. diff --git a/Source/NSStringDrawing.m b/Source/NSStringDrawing.m index 464fa9dc0..19e322f62 100644 --- a/Source/NSStringDrawing.m +++ b/Source/NSStringDrawing.m @@ -1,12 +1,11 @@ -/* - NSStringDrawing.m +/** NSStringAdditions - Categories which add drawing capabilities to NSAttributedString - and NSString. + Categories which add drawing capabilities to NSAttributedString + and NSString. Copyright (C) 1999 Free Software Foundation, Inc. - Author: Richard Frith-Macdonald + Author: Richard Frith-Macdonald Date: Mar 1999 - rewrite from scratch This file is part of the GNUstep GUI Library. diff --git a/Source/NSTabView.m b/Source/NSTabView.m index 7ab6dfb4e..aff67a4b5 100644 --- a/Source/NSTabView.m +++ b/Source/NSTabView.m @@ -1,11 +1,10 @@ -/* - NSTabView.m +/** NSTabView - The tabular view class + The tabular view class Copyright (C) 1999,2000 Free Software Foundation, Inc. - Author: Michael Hanni + Author: Michael Hanni Date: 1999 This file is part of the GNUstep GUI Library. diff --git a/Source/NSTabViewItem.m b/Source/NSTabViewItem.m index 5cbd781c7..0ac9da0fd 100644 --- a/Source/NSTabViewItem.m +++ b/Source/NSTabViewItem.m @@ -1,9 +1,8 @@ -/* - NSTabViewItem.m +/** NSTabViewItem Copyright (C) 2000 Free Software Foundation, Inc. - Author: Michael Hanni + Author: Michael Hanni Date: 1999 This file is part of the GNUstep GUI Library. diff --git a/Source/NSTableColumn.m b/Source/NSTableColumn.m index cfb4a3f95..16023d36e 100644 --- a/Source/NSTableColumn.m +++ b/Source/NSTableColumn.m @@ -1,12 +1,7 @@ -/* - NSTableColumn.m +/** NSTableColumn Copyright (C) 1999 Free Software Foundation, Inc. - Author: Michael Hanni - Date: 1999 - First Implementation. - Author: Nicola Pero Date: December 1999 Completely Rewritten. @@ -34,6 +29,48 @@ #include #include +/** + + Class Description + +

+ NSTableColumn objects represent columns in NSTableViews. +

+
+ The Column Identifier +

+ Each NSTableColumn object is identified by an object, called + the column identifier. The reason is that, after a column has been + added to a table view, the user might move the columns around, so + there is a need to identify the columns regardless of their position + in the table. +

+

+ The identifier is typically a string describing the column. + This identifier object is never displayed to the user ! + It is only used internally by the program to identify + the column - so yes, you may use a funny string for it + and nobody will know, except people reading the code. +

+
+
+ Information Stored in an NSTableColumn Object +

+ An NSTableColumn object mainly keeps information about the width + of the column, its minimum and maximum width; whether the column + can be edited or resized; and the cells used to draw the column + header and the data in the column. You can change all these + attributes of the column by calling the appropriate methods. + Please note that the table column does not hold nor has access + to the data to be displayed in the column; this data is maintained + in the table view's data source, as described in the NSTableView + documentation. A last hint: to set the title of a table column, + ask the table column for its header cell, and set the string value + of this header cell to the desired title. +

+
+
+*/ @implementation NSTableColumn /* @@ -53,9 +90,10 @@ * */ -/* - * Initializing an NSTableColumn instance - */ +/** + Initialize the column. anObject is an object used to identify the + column; it is usually a string, but might be any kind of object. + anObject is retained. */ - (id)initWithIdentifier: (id)anObject { self = [super init]; @@ -84,11 +122,18 @@ /* * Managing the Identifier */ +/** + Set the identifier used to identify the table. The old identifier + is released, and the new one is retained. */ - (void)setIdentifier: (id)anObject { ASSIGN (_identifier, anObject); } +/** + Return the column identifier, an object used to identify the column. + This object is usually a string, but might be any kind of object. + */ - (id)identifier { return _identifier; @@ -96,6 +141,12 @@ /* * Setting the NSTableView */ +/** + Set the table view corresponding to this table column. This method + is invoked internally by the table view, and you should not call it + directly; it is exposed because you may want to override it in + subclasses. To use the table column in a table view, you should use + NSTableView's addTableColumn: instead. */ - (void)setTableView: (NSTableView*)aTableView { // We do *not* RETAIN aTableView. @@ -103,6 +154,9 @@ _tableView = aTableView; } +/** + Return the table view the column belongs to, or nil if the table + column was not added to any table view. */ - (NSTableView *)tableView { return _tableView; @@ -111,6 +165,17 @@ /* * Controlling size */ +/** + Set the width of the table column. Before being resized, the new + width is constrained to the table column minimum and maximum width: + if newWidth is smaller than the table column's min width, the table + column is simply resized to its min width. If newWidth is bigger + than the table column's max width, the table column is simply + resized to its max width. Otherwise, it is resized to newWidth. If + the width of the table was actually changed, the table view (if any) + is redisplayed (by calling tile), and the + NSTableViewColumnDidResizeNotification is posted on behalf of the + table view. */ - (void)setWidth: (float)newWidth { float oldWidth = _width; @@ -139,11 +204,16 @@ } } +/** Return the width of the table column. */ - (float)width { return _width; } +/** + Set the min width of the table column, eventually adjusting the + width of the column if it is smaller than the new min width. In no + way a table column can be made smaller than its min width. */ - (void)setMinWidth: (float)minWidth { _min_width = minWidth; @@ -151,11 +221,19 @@ [self setWidth: _min_width]; } +/** + Return the column's min width. The column can in no way be resized + to a width smaller than this min width. The default min width is + zero. */ - (float)minWidth { return _min_width; } +/** + Set the max width of the table column, eventually adjusting the + width of the column if it is bigger than the new max width. In no + way a table column can be made bigger than its max width. */ - (void)setMaxWidth: (float)maxWidth { _max_width = maxWidth; @@ -163,21 +241,38 @@ [self setWidth: _max_width]; } +/** + Return the column's max width. The column can in no way be resized + to a width bigger than this max width. The default max width is + 100000. */ - (float)maxWidth { return _max_width; } +/** + Set whether the user can resize the table column by dragging the + border of its header with the mouse. The table column can be + resized programmatically regardless of this setting. */ - (void)setResizable: (BOOL)flag { _is_resizable = flag; } +/** + Return whether the column might be resized by the user by dragging + the column header border. */ - (BOOL)isResizable { return _is_resizable; } +/** + Change the width of the column to be just enough to display its + header; change the minimum width and maximum width to allow the + column to have this width (if the minimum width is bigger than the + column header width, it is reduced to it; if the maximum width is + smaller than the column header width, it is increased to it). */ - (void)sizeToFit { float new_width; @@ -197,11 +292,17 @@ /* * Controlling editability */ +/** + Set whether data in the column might be edited by the user by + double-cliking on them. */ - (void)setEditable: (BOOL)flag { _is_editable = flag; } +/** + Return whether data displayed in the column can be edited by the + user by double-cliking on them. */ - (BOOL)isEditable { return _is_editable; @@ -210,6 +311,10 @@ /* * Setting component cells */ +/** + Set the cell used to display the column header. aCell can't be nil, + otherwise a warning will be generated and the method call ignored. + The old cell is released, the new one is retained. */ - (void)setHeaderCell: (NSCell*)aCell { if (aCell == nil) @@ -220,11 +325,21 @@ ASSIGN (_headerCell, aCell); } +/** + Return the cell used to display the column title. The default + header cell is an NSTableHeaderCell. */ - (NSCell*)headerCell { return _headerCell; } +/** + Set the cell used to display data in the column. aCell can't be + nil, otherwise a warning will be generated and the method ignored. + The old cell is released, the new one is retained. If you want to + change the attributes in which a single row in a column is + displayed, you should better use a delegate for your NSTableView + implementing tableView:willDisplayCell:forTableColumn:row:. */ - (void)setDataCell: (NSCell*)aCell { if (aCell == nil) @@ -235,6 +350,9 @@ ASSIGN (_dataCell, aCell); } +/** + Return the cell used to display data in the column. The default + data cell is an NSTextFieldCell. */ - (NSCell*)dataCell { return _dataCell; diff --git a/Source/NSTableHeaderCell.m b/Source/NSTableHeaderCell.m index 4445b0e50..ae75a4d41 100644 --- a/Source/NSTableHeaderCell.m +++ b/Source/NSTableHeaderCell.m @@ -1,9 +1,8 @@ -/* - NSTableHeaderCell.m +/** NSTableHeaderCell Copyright (C) 1999 Free Software Foundation, Inc. - Author: Nicola Pero + Author: Nicola Pero Date: 1999 This file is part of the GNUstep GUI Library. diff --git a/Source/NSTableHeaderView.m b/Source/NSTableHeaderView.m index 63e37330d..96020dfbd 100644 --- a/Source/NSTableHeaderView.m +++ b/Source/NSTableHeaderView.m @@ -1,12 +1,7 @@ -/* - NSTableHeaderView.m +/** NSTableHeaderView Copyright (C) 1999 Free Software Foundation, Inc. - Author: Michael Hanni - Date: 1999 - Skeleton. - Author: Nicola Pero Date: December 1999 First actual coding. diff --git a/Source/NSTableView.m b/Source/NSTableView.m index d6f6a325a..bf487a5ef 100644 --- a/Source/NSTableView.m +++ b/Source/NSTableView.m @@ -1,9 +1,8 @@ -/* - NSTableView.m +/** NSTableView Copyright (C) 2000 Free Software Foundation, Inc. - Author: Nicola Pero + Author: Nicola Pero Date: March 2000, June 2000, August 2000, September 2000 Author: Pierre-Yves Rivaille diff --git a/Source/NSText.m b/Source/NSText.m index afd88981c..d4d750846 100644 --- a/Source/NSText.m +++ b/Source/NSText.m @@ -1,15 +1,14 @@ -/* - NSText.m +/** NSText - The RTFD text class + The RTFD text class Copyright (C) 1996 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 - Author: Felipe A. Rodriguez + Author: Felipe A. Rodriguez Date: July 1998 - Author: Daniel Bðhringer + Author: Daniel Bðhringer
Date: August 1998 Author: Fred Kiefer Date: March 2000 diff --git a/Source/NSTextAttachment.m b/Source/NSTextAttachment.m index 0c0f0a7db..914a7898a 100644 --- a/Source/NSTextAttachment.m +++ b/Source/NSTextAttachment.m @@ -1,7 +1,6 @@ -/* - NSTextAttachment.m +/** NSTextAttachment - Classes to represent text attachments. + Classes to represent text attachments. NSTextAttachment is used to represent text attachments. When inline, text attachments appear as the value of the NSAttachmentAttributeName @@ -15,7 +14,7 @@ Copyright (C) 2000 Free Software Foundation, Inc. - Author: Fred Kiefer + Author: Fred Kiefer Date: June 2000 This file is part of the GNUstep GUI Library. diff --git a/Source/NSTextContainer.m b/Source/NSTextContainer.m index a4c2ee7a8..f476f06cd 100644 --- a/Source/NSTextContainer.m +++ b/Source/NSTextContainer.m @@ -1,9 +1,8 @@ -/* - NSTextContainer.m +/** NSTextContainer Copyright (C) 1999 Free Software Foundation, Inc. - Author: Jonathan Gapen + Author: Jonathan Gapen Date: 1999 This file is part of the GNUstep GUI Library. @@ -298,7 +297,7 @@ - (NSRect) lineFragmentRectForProposedRect: (NSRect)proposedRect sweepDirection: (NSLineSweepDirection)sweepDir movementDirection: (NSLineMovementDirection)moveDir - remainingRect: (NSRect*)remainingRect; + remainingRect: (NSRect*)remainingRect { // line fragment rectangle simply must fit within the container rectangle *remainingRect = NSZeroRect; diff --git a/Source/NSTextField.m b/Source/NSTextField.m index 37db65274..cc89ce946 100644 --- a/Source/NSTextField.m +++ b/Source/NSTextField.m @@ -1,7 +1,6 @@ -/* - NSTextField.m +/** NSTextField - Text field control class for text entry + Text field control class for text entry Copyright (C) 1996 Free Software Foundation, Inc. diff --git a/Source/NSTextFieldCell.m b/Source/NSTextFieldCell.m index 3b3c6ed05..e61a6cd37 100644 --- a/Source/NSTextFieldCell.m +++ b/Source/NSTextFieldCell.m @@ -1,11 +1,10 @@ -/* - NSTextFieldCell.m +/** NSTextFieldCell - Cell class for the text field entry control + Cell class for the text field entry control Copyright (C) 1996 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 Author: Nicola Pero Date: November 1999 diff --git a/Source/NSTextStorage.m b/Source/NSTextStorage.m index 988864bcd..d50e34a0a 100644 --- a/Source/NSTextStorage.m +++ b/Source/NSTextStorage.m @@ -1,9 +1,8 @@ -/* - NSTextStorage.m +/** NSTextStorage Copyright (C) 1999 Free Software Foundation, Inc. - Author: Richard Frith-Macdonald + Author: Richard Frith-Macdonald Date: 1999 This file is part of the GNUstep GUI Library. diff --git a/Source/NSTextView.m b/Source/NSTextView.m index a2f08723c..ad2056d6f 100644 --- a/Source/NSTextView.m +++ b/Source/NSTextView.m @@ -1,5 +1,4 @@ -/* - NSTextView.m +/** NSTextView Copyright (C) 1996, 1998, 2000 Free Software Foundation, Inc. @@ -169,7 +168,7 @@ static NSNotificationCenter *nc; /* Initializing Methods */ -- (NSTextContainer*) buildUpTextNetwork: (NSSize)aSize; +- (NSTextContainer*) buildUpTextNetwork: (NSSize)aSize { NSTextContainer *textContainer; NSLayoutManager *layoutManager; diff --git a/Source/NSView.m b/Source/NSView.m index 2e8e482fa..e2da1e791 100644 --- a/Source/NSView.m +++ b/Source/NSView.m @@ -1,17 +1,16 @@ -/* - NSView.m +/** NSView - The view class which encapsulates all drawing functionality + The view class which encapsulates all drawing functionality Copyright (C) 1996 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 - Author: Ovidiu Predescu . + Author: Ovidiu Predescu Date: 1997 - Author: Felipe A. Rodriguez + Author: Felipe A. Rodriguez Date: August 1998 - Author: Richard Frith-Macdonald + Author: Richard Frith-Macdonald Date: January 1999 This file is part of the GNUstep GUI Library. @@ -77,11 +76,30 @@ struct NSWindow_struct @defs(NSWindow) }; +/** + + NSView + +

NSView is an abstract class which provides facilities for drawing + in a window and receiving events. It is the superclass of many of + the visual elements of the GUI.

+ +

In order to display itself, a view must be placed in a window + (represented by an NSWindow object). Within the window is a + hierarchy of NSViews, headed by the window's content view. Every + other view in a window is a descendant of this view.

+ +

Subclasses can override drawRect: in order to + implement their appearance. Other methods of NSView and NSResponder + can also be overridden to handle user generated events.

+ +
+*/ + @implementation NSView /* - * Class variables - */ + * Class variables */ static Class rectClass; static Class viewClass; @@ -196,9 +214,9 @@ GSSetDragTypes(NSView* obj, NSArray *types) } } -/* - * return the view at the top of graphics contexts stack - * or nil if none is focused +/** + Return the view at the top of graphics contexts stack + or nil if none is focused. */ + (NSView*) focusView { @@ -279,6 +297,7 @@ GSSetDragTypes(NSView* obj, NSArray *types) [super dealloc]; } +/** Adds aView as a subview of the receiver. */ - (void) addSubview: (NSView*)aView { if (aView == nil) @@ -361,6 +380,12 @@ GSSetDragTypes(NSView* obj, NSArray *types) RELEASE(aView); } +/** + Returns self if aView is the receiver or + aView is a subview of the receiver, the ancestor view + shared by aView and the receiver, if any, + aView if it is an ancestor of the receiver, otherwise + returns nil. */ - (NSView*) ancestorSharedWithView: (NSView*)aView { if (self == aView) @@ -386,6 +411,9 @@ GSSetDragTypes(NSView* obj, NSArray *types) return [_super_view ancestorSharedWithView: [aView superview]]; } +/** + Returns YES if aView is an ancestor of the receiver. +*/ - (BOOL) isDescendantOf: (NSView*)aView { if (aView == self) @@ -417,6 +445,9 @@ GSSetDragTypes(NSView* obj, NSArray *types) return current; } +/** + Removes the receiver from its superviews list of subviews, by + invoking the superviews [-removeSubview:] method. */ - (void) removeFromSuperviewWithoutNeedingDisplay { if (_super_view != nil) @@ -425,6 +456,14 @@ GSSetDragTypes(NSView* obj, NSArray *types) } } +/** +

Removes the receiver from its superviews list of subviews, by + invoking the superviews [-removeSubview:] method, and marks the + rectangle that the reciever occupied in the superview as needing + redisplay.

+ +

This is dangerous to use during display, since it alters the + rectangles needing display.

*/ - (void) removeFromSuperview { if (_super_view != nil) @@ -434,6 +473,15 @@ GSSetDragTypes(NSView* obj, NSArray *types) } } +/** +

Removes the view from the receivers list of subviews and from + the responder chain.

+ +

Also invokes [aView -viewWillMoveToWindow: nil] to handle + removal of aView (and recursively, its children) from its window - + performing tidyup by invalidating cursor rects etc.

+ +*/ - (void) removeSubview: (NSView*)aSubview { id view; @@ -466,6 +514,9 @@ GSSetDragTypes(NSView* obj, NSArray *types) } } +/** + Removes oldView from the receiver and places + newView in its place. */ - (void) replaceSubview: (NSView*)oldView with: (NSView*)newView { if (newView == oldView) @@ -552,15 +603,19 @@ GSSetDragTypes(NSView* obj, NSArray *types) [_sub_views sortUsingFunction: compare context: context]; } +/** + Notifies the receiver that its superview is being changed to + newSuperview. */ - (void) viewWillMoveToSuperview: (NSView*)newSuper { _super_view = newSuper; } -/* - * NOTE - this method is used when removing a view from a window - * (in which case, newWindow is nil) to let all the subviews know - * that they have also been removed from the window. +/** + Notifies the receiver that it will now be a view of newWindow. + Note, this method is also used when removing a view from a window + (in which case, newWindow is nil) to let all the subviews know + that they have also been removed from the window. */ - (void) viewWillMoveToWindow: (NSWindow*)newWindow { @@ -1334,12 +1389,28 @@ GSSetDragTypes(NSView* obj, NSArray *types) [self setFrame: newFrame]; } +/** +

Tell the view to maintain a private gstate object which + encapsulates all the information about drawing, such as coordinate + transforms, line widths, etc. If you do not invoke this method, a + gstate object is constructed each time the view is lockFocused. + Allocating a private gstate may improve the performance of views + that are focused a lot and have a lot of customized drawing + parameters.

+ +

View subclasses should override the + setUpGstate method to set these custom parameters. +

+*/ - (void) allocateGState { _allocate_gstate = 1; _renew_gstate = 1; } +/** + Frees the gstate object, if there is one. Note that the next time + the view is lockFocused, the gstate will be allocated again. */ - (void) releaseGState { if (_allocate_gstate && _gstate) @@ -1350,11 +1421,20 @@ GSSetDragTypes(NSView* obj, NSArray *types) to call this method each time we invalidate the coordinates */ } +/** + Returns an identifier that represents the view's gstate object, + which is used to encapsulate drawing information about the view. + Most of the time a gstate object is created from scratch when the + view is focused, so if the view is not currently focused or + allocateGState has not been called, then this method will */ - (int) gState { return _gstate; } +/** + Invalidates the view's gstate object so it will be set up again + using setUpGState the next time the view is focused. */ - (void) renewGState { _renew_gstate = 1; @@ -1864,6 +1944,23 @@ GSSetDragTypes(NSView* obj, NSArray *types) [_window flushWindow]; } +/** + This method is invoked to handle drawing inside the view. The + default NSView's implementation does nothing; subclasses might + override it to draw something inside the view. Since NSView's + implementation is guaranteed to be empty, you should not call + super's implementation when you override it in subclasses. + drawRect: is invoked when the focus has already been locked on the + view; you can use arbitrary postscript functions in drawRect: to + draw inside your view; the coordinate system in which you draw is + the view's own coordinate system (this means for example that you + should refer to the rectangle covered by the view using its bounds, + and not its frame). The argument of drawRect: is the rectangle + which needs to be redrawn. In a lossy implementation, you can + ignore the argument and redraw the whole view; if you are aiming at + performance, you may want to redraw only what is inside the + rectangle which needs to be redrawn; this usually improves drawing + performance considerably. */ - (void) drawRect: (NSRect)rect {} @@ -2212,11 +2309,18 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level) /* * Aiding Event Handling */ +/** + Returns YES if the view object will accept the first + click received when in an inactive window, and NO + otherwise. */ - (BOOL) acceptsFirstMouse: (NSEvent*)theEvent { return NO; } +/** + Returns the subview, lowest in the receiver's hierarchy, which + contains aPoint */ - (NSView*) hitTest: (NSPoint)aPoint { NSPoint p; @@ -2256,6 +2360,9 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level) return self; } +/** + Returns whether or not aPoint lies within aRect +*/ - (BOOL) mouse: (NSPoint)aPoint inRect: (NSRect)aRect { return NSMouseInRect (aPoint, aRect, _rFlags.flipped_view); @@ -3143,6 +3250,7 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level) _autoresizingMask = mask; } +/** Returns the window in which the receiver resides. */ - (NSWindow*) window { return _window; diff --git a/Source/NSWindow.m b/Source/NSWindow.m index ff81bf0f3..3e4f67ae4 100644 --- a/Source/NSWindow.m +++ b/Source/NSWindow.m @@ -1,14 +1,15 @@ -/* - The window class +/** NSWindow + + The window class Copyright (C) 1996 Free Software Foundation, Inc. Author: Scott Christley Venkat Ajjanagadde Date: 1996 - Author: Felipe A. Rodriguez + Author: Felipe A. Rodriguez Date: June 1998 - Author: Richard Frith-Macdonald + Author: Richard Frith-Macdonald Date: December 1998 This file is part of the GNUstep GUI Library. @@ -387,6 +388,40 @@ static NSCell *tileCell = nil; * *****************************************************************************/ +/** + + NSWindow + +

Instances of the NSWindow class handle on-screen windows, their + associated NSViews, and events generate by the user. An NSWindow's + size is defined by its frame rectangle, which encompasses its entire + structure, and its content rectangle, which includes only the + content.

+ +

Every NSWindow has a content view, the NSView which forms the + root of the window's view hierarchy. This view can be set using the + setContentView: method, and accessed through the + contentView method. setContentView: + replaces the default content view created by NSWindow.

+ +

Other views may be added to the window by using the content + view's addSubview: method. These subviews can also + have subviews added, forming a tree structure, the view hierarchy. + When an NSWindow must display itself, it causes this hierarchy to + draw itself. Leaf nodes in the view hierarchy are drawn last, + causing them to potentially obscure views further up in the + hierarchy.

+ +

A delegate can be specified for an NSWindow, which will receive + notifications of events pertaining to the window. The delegate is + set using setDelegate:, and can be retrieved using + delegate. The delegate can restrain resizing by + implementing the windowWillResize: toSize: method, or + control the closing of the window by implementing + windowShouldClose:.

+ +
+*/ @implementation NSWindow typedef struct NSView_struct @@ -648,6 +683,21 @@ static NSNotificationCenter *nc = nil; /* * Initializing and getting a new NSWindow object */ +/** +

Initializes the receiver with a content rect of + contentRect, a style mask of styleMask, and a + backing store type of backingType.

+ +

The style mask values are NSTitledWindowMask, for a + window with a title, NSClosableWindowMask, for a window + with a close widget, NSMiniaturizableWindowMask, for a + window with a miniaturize widget, and + NSResizableWindowMask, for a window with a resizing + widget. These mask values can be OR'd in any combination.

+ +

Backing store values are NSBackingStoreBuffered, + NSBackingStoreRetained and + NSBackingStoreNonretained.

*/ - (id) initWithContentRect: (NSRect)contentRect styleMask: (unsigned int)aStyle backing: (NSBackingStoreType)bufferingType @@ -662,6 +712,24 @@ static NSNotificationCenter *nc = nil; screen: nil]; } +/** +

Initializes the receiver with a content rect of + contentRect, a style mask of styleMask, a + backing store type of backingType and a boolean + flag. flag specifies whether the window + should be created now (NO), or when it is displayed + (YES).

+ +

The style mask values are NSTitledWindowMask, for a + window with a title, NSClosableWindowMask, for a window + with a close widget, NSMiniaturizableWindowMask, for a + window with a miniaturize widget, and + NSResizableWindowMask, for a window with a resizing + widget. These mask values can be OR'd in any combination.

+ +

Backing store values are NSBackingStoreBuffered, + NSBackingStoreRetained and + NSBackingStoreNonretained.

*/ - (id) initWithContentRect: (NSRect)contentRect styleMask: (unsigned int)aStyle backing: (NSBackingStoreType)bufferingType @@ -735,6 +803,9 @@ static NSNotificationCenter *nc = nil; return _contentView; } +/** + Sets the window's content view to aView, replacing any + previous content view. */ - (void) setContentView: (NSView*)aView { if (aView == nil) @@ -781,6 +852,7 @@ static NSNotificationCenter *nc = nil; ASSIGN(_representedFilename, aString); } +/** Sets the window's title to the string aString. */ - (void) setTitle: (NSString*)aString { if ([_windowTitle isEqual: aString] == NO) @@ -824,32 +896,33 @@ static NSNotificationCenter *nc = nil; return _styleMask; } +/** Returns an NSString containing the text of the window's title. */ - (NSString*) title { return _windowTitle; } -- (void) setHasShadow: (BOOL)hasShadow; +- (void) setHasShadow: (BOOL)hasShadow { _f.has_shadow = hasShadow; } -- (BOOL) hasShadow; +- (BOOL) hasShadow { return _f.has_shadow; } -- (void) setAlphaValue: (float)windowAlpha; +- (void) setAlphaValue: (float)windowAlpha { _alphaValue = windowAlpha; } -- (float) alphaValue; +- (float) alphaValue { return _alphaValue; } -- (void) setOpaque: (BOOL)isOpaque; +- (void) setOpaque: (BOOL)isOpaque { _f.is_opaque = isOpaque; } @@ -1080,12 +1153,12 @@ static NSNotificationCenter *nc = nil; return _f.hides_on_deactivate; } -- (void) setCanHide: (BOOL)flag; +- (void) setCanHide: (BOOL)flag { _f.can_hide = flag; } -- (BOOL) canHide; +- (BOOL) canHide { return _f.can_hide; } @@ -1340,7 +1413,7 @@ static NSNotificationCenter *nc = nil; [self setFrame: frameRect display: displayFlag]; } -- (NSTimeInterval) animationResizeTime: (NSRect)newFrame; +- (NSTimeInterval) animationResizeTime: (NSRect)newFrame { // TODO NSLog(@"Method %s is not implemented for class %s", @@ -1939,6 +2012,10 @@ resetCursorRectsForView(NSView *theView) [nc postNotificationName: NSWindowDidDeminiaturizeNotification object: self]; } +/** + Causes the window to deminiaturize. Normally you would not call this + method directly. A window is automatically deminiaturized by the + user via a mouse cloick event. */ - (void) deminiaturize: sender { if (_counterpart != 0) @@ -1962,6 +2039,9 @@ resetCursorRectsForView(NSView *theView) return _f.is_released_when_closed; } +/** + Causes the window to miniaturize, that is the window is removed from + the screen and it's counterpart (mini)window is displayed. */ - (void) miniaturize: (id)sender { [nc postNotificationName: NSWindowWillMiniaturizeNotification @@ -3578,14 +3658,14 @@ resetCursorRectsForView(NSView *theView) return nil; } -- (void) setToolbar: (NSToolbar*)toolbar; +- (void) setToolbar: (NSToolbar*)toolbar { // TODO NSLog(@"Method %s is not implemented for class %s", "drawers", "NSWindow"); } -- (NSToolbar *) toolbar; +- (NSToolbar *) toolbar { // TODO NSLog(@"Method %s is not implemented for class %s", @@ -3593,21 +3673,21 @@ resetCursorRectsForView(NSView *theView) return nil; } -- (void) toggleToolbarShown: (id)sender; +- (void) toggleToolbarShown: (id)sender { // TODO NSLog(@"Method %s is not implemented for class %s", "toggleToolbarShown:", "NSWindow"); } -- (void) runToolbarCustomizationPalette: (id)sender; +- (void) runToolbarCustomizationPalette: (id)sender { // TODO NSLog(@"Method %s is not implemented for class %s", "runToolbarCustomizationPalette:", "NSWindow"); } -- (NSWindow *) initWithWindowRef: (void *)windowRef; +- (NSWindow *) initWithWindowRef: (void *)windowRef { // TODO NSLog(@"Method %s is not implemented for class %s", @@ -3615,7 +3695,7 @@ resetCursorRectsForView(NSView *theView) return nil; } -- (void *)windowRef; +- (void *)windowRef { // TODO NSLog(@"Method %s is not implemented for class %s", diff --git a/Source/NSWindowController.m b/Source/NSWindowController.m index 3f428fad7..7b493b2cf 100644 --- a/Source/NSWindowController.m +++ b/Source/NSWindowController.m @@ -1,5 +1,4 @@ -/* - NSWindowController.m +/** NSWindowController Copyright (C) 2000 Free Software Foundation, Inc. @@ -184,7 +183,7 @@ } } -- (NSString *) windowFrameAutosaveName; +- (NSString *) windowFrameAutosaveName { return _windowFrameAutosaveName; } diff --git a/Source/NSWorkspace.m b/Source/NSWorkspace.m index 6c64c2b62..f11e20dae 100644 --- a/Source/NSWorkspace.m +++ b/Source/NSWorkspace.m @@ -1,15 +1,14 @@ -/* - NSWorkspace.m +/** NSWorkspace - Workspace class + Workspace class Copyright (C) 1996-1999, 2001 Free Software Foundation, Inc. - Author: Scott Christley + Author: Scott Christley Date: 1996 Implementation: Richard Frith-Macdonald Date: 1998 - Implementation: Fred Kiefer + Implementation: Fred Kiefer Date: 2001 This file is part of the GNUstep GUI Library.