diff --git a/ChangeLog b/ChangeLog
index 09f68f52c..5bd0dd783 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2001-12-17 Adam Fedor Version: $Revision$ Date: $Date$ Declared in: Gui/NSActionCell.h Inherits from: NSCell Conforms to: NSCoding
- Copyright: (C) 1996-1999 Free Software Foundation, Inc.
-
- NSActionCell
-Authors
-
-NSActionCell
-NSActionCell
-
+
+
+ NSActionCell
+ Authors
+
+
+
+ scottc@net-community.com
+
)
-
-
+ Instance Variables
-
-
-Methods
-
-
-Instances Methods
-action
-- (SEL) action;
+ Abstract cell for target/action paradigm
+
+ 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;
-
-
-
-
-
-
+
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSAffineTransform.h
-Inherits from: NSObject
-Conforms to: NSCoding -
-
+ ovidiu@net-community.com
+
)
+ richard@brainstorm.co.uk
+
)Copyright: (C) 1996,1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSApplication.h
-Inherits from: NSResponder
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)
+ far@ix.netcom.com
+
)
+ richard@brainstorm.co.uk
+
)+The one and only application class+
Copyright: (C) 1996,1999 Free Software Foundation, Inc.
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSBezierPath.h
-Inherits from: NSObject
-Conforms to: NSCoding -
-
+ enrico@imago.ro
+
)+The NSBezierPath class+
Copyright: (C) 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSImage.h
-Inherits from: NSImageRep
-Conforms to: NSCoding -
-
+ fedor@gnu.org
+
)+Bitmap image representation.+
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSBox.h
-Inherits from: NSView
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)- -+Instance Variables
--
-Methods
--
-- -borderRect -
- -borderType -
- -contentView -
- -contentViewMargins -
- -setBorderType: -
- -setContentView: -
- -setContentViewMargins: -
- -setFrameFromContentFrame: -
- -setTitle: -
- -setTitleFont: -
- -setTitlePosition: -
- -setTitleWithMnemonic: -
- -sizeToFit -
- -title -
- -titleCell -
- -titleFont -
- -titlePosition -
- -titleRect -
Instances Methods
-borderRect
-- (NSRect) borderRect;
+ Simple box view that can display a border and title +
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSBrowser.h
-Inherits from: NSControl
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)
+ far@ix.netcom.com
+
)
+ wolff@cybercable.fr
+
)
+ mirko.viviani@rccr.cremona.it
+
)+ + Control to display and select from hierarchal lists ++
Copyright: (C) 1996, 1997 Free Software Foundation, Inc.
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSBrowserCell.h
-Inherits from: NSCell
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)
+ n.pero@mi.flashnet.it
+
)+Cell class for the NSBrowser+
Copyright: (C) 1996, 1997, 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSButton.h
-Inherits from: NSControl
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)+The button class+
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSButtonCell.h
-Inherits from: NSActionCell
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)
+ far@ix.netcom.com
+
)+The button cell class+
Copyright: (C) 1996-1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSImageRep.h
-Inherits from: NSImageRep
-Conforms to: NSCoding -
-
+ fedor@gnu.org
+
)+Cached image representation.+
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSCell.h
-Inherits from: NSObject
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)+The abstract cell class+
Copyright: (C) 1996 Free Software Foundation, Inc.
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSClipView.h
-Inherits from: NSView
-Conforms to: NSCoding -
-
+ ovidiu@net-community.com
+
)
+ richard@brainstorm.co.uk
+
)Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSColor.h
-Inherits from: NSResponder
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)+The colorful color class+
Copyright: (C) 1996, 1998 Free Software Foundation, Inc.
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSColorList.h
-Inherits from: NSObject
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)
+ n.pero@mi.flashnet.it
+
)+Manage named lists of NSColors.+
Copyright: (C) 1996, 2000 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSColorPanel.h
-Inherits from: NSPanel
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)+System generic color panel+
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSColorPicker.h
-Inherits from: NSObject
-Conforms to: NSColorPickingDefault -
-
+ scottc@net-community.com
+
)
+ jagapen@whitewater.chem.wisc.edu
+
)- -+Instance Variables
--
-Methods
--
-- -attachColorList: -
- -colorPanel -
- -detachColorList: -
- -initWithPickerMask:colorPanel: -
- -insertNewButtonImage: -
- -provideNewButtonImage -
- -setMode: -
- -viewSizeChanged: -
Instances Methods
-attachColorList:
-- (void) attachColorList: (NSColorList*)colorList;
+ Abstract superclass for NSColorPanel color pickers +
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSColorWell.h
-Inherits from: NSControl
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)
+ far@ix.netcom.com
+
)- -+Instance Variables
--
-Methods
--
-- -activate: -
- -color -
- -deactivate -
- -drawWellInside: -
- -isActive -
- -isBordered -
- -setBordered: -
- -setColor: -
- -takeColorFrom: -
Instances Methods
-activate:
-- (void) activate: (BOOL)exclusive;
+ Control for selecting and display a single color value. +
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSComboBox.h
-Inherits from: NSTextField
-Conforms to: NSObject -
-
+ gerritvd@decillion.net
+
)Copyright: (C) 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSComboBoxCell.h
-Inherits from: NSTextFieldCell
-Conforms to: NSObject -
-
+ gerritvd@decillion.net
+
)Copyright: (C) 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: <
-Inherits from: NSView
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)
+ richard@brainstorm.co.uk
+
)+The abstract control class+
Copyright: (C) 1996 Free Software Foundation, Inc.
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSCursor.h
-Inherits from: NSObject
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)
+ fedor@gnu.org
+
)+Holds an image to use as a cursor+
Copyright: (C) 1996,1999,2001 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSCustomImageRep.h
-Inherits from: NSImageRep
-Conforms to: NSCoding -
-
+ fedor@colorado.edu
+
)+Custom image representation.+
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSDocument.h
-Inherits from: NSObject
-Conforms to: NSObject -
-
+ Carl.Lindberg@hbo.com
+
)+The abstract document class+
Copyright: (C) 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSDocumentController.h
-Inherits from: NSObject
-Conforms to: NSObject -
-
+ Carl.Lindberg@hbo.com
+
)+The document controller class+
Copyright: (C) 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSEPSImageRep.h
-Inherits from: NSImageRep
-Conforms to: NSCoding -
-
+ fedor@colorado.edu
+
)+EPS image representation.+
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSEvent.h
-Inherits from: NSObject
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)
+ ovidiu@net-community.com
+
)
+ far@ix.netcom.com
+
)+The event class+
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSFileWrapper.h
-Inherits from: NSObject
-Conforms to: NSObject -
-
+ far@ix.netcom.com
+
)
+ jagapen@whitewater.chem.wisc.edu
+
)- -+Instance Variables
--
-Methods
--
-- -addFileWithPath: -
- -addFileWrapper: -
- -addRegularFileWithContents:preferredFilename: -
- -addSymbolicLinkWithDestination:preferredFilename: -
- -fileAttributes -
- -fileWrappers -
- -filename -
- -icon -
- -initDirectoryWithFileWrappers: -
- -initRegularFileWithContents: -
- -initSymbolicLinkWithDestination: -
- -initWithPath: -
- -initWithSerializedRepresentation: -
- -isDirectory -
- -isRegularFile -
- -isSymbolicLink -
- -keyForFileWrapper: -
- -needsToBeUpdatedFromPath: -
- -preferredFilename -
- -regularFileContents -
- -removeFileWrapper: -
- -serializedRepresentation -
- -setFileAttributes: -
- -setFilename: -
- -setIcon: -
- -setPreferredFilename: -
- -symbolicLinkDestination -
- -updateFromPath: -
- -writeToFile:atomically:updateFilenames: -
Instances Methods
-addFileWithPath:
-- (NSString*) addFileWithPath: (NSString*)path;
+ Hold a file's contents in dynamic memory. +
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSFont.h
-Inherits from: NSObject
-Conforms to: NSCoding -
-
+ ovidiu@net-community.com
+
)+The font class+
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSFontManager.h
-Inherits from: NSObject
-Conforms to: NSObject -
-
+ FredKiefer@gmx.de
+
)+Manages system and user fonts+
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSFontPanel.h
-Inherits from: NSPanel
-Conforms to: NSCoding -
-
+ FredKiefer@gmx.de
+
)
+ n.pero@mi.flashnet.it
+
)- -+Instance Variables
--
-Methods
--
-- +sharedFontPanel -
- +sharedFontPanelExists -
- -accessoryView -
- -isEnabled -
- -panelConvertFont: -
- -setAccessoryView: -
- -setEnabled: -
- -setPanelFont:isMultiple: -
- -worksWhenModal -
Class Methods
-sharedFontPanel
-+ (NSFontPanel*) sharedFontPanel;
+ System generic panel for selecting and previewing fonts +
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSForm.h
-Inherits from: NSMatrix
-Conforms to: NSCoding -
-
+ ovidiu@net-community.com
+
)- -+Instance Variables
--
-Methods
--
-- -addEntry: -
- -cellAtIndex: -
- -drawCellAtIndex: -
- -indexOfCellWithTag: -
- -indexOfSelectedItem -
- -insertEntry:atIndex: -
- -removeEntryAtIndex: -
- -selectTextAtIndex: -
- -setBezeled: -
- -setBordered: -
- -setEntryWidth: -
- -setInterlineSpacing: -
- -setTextAlignment: -
- -setTextFont: -
- -setTitleAlignment: -
- -setTitleFont: -
Instances Methods
-addEntry:
-- (NSFormCell*) addEntry: (NSString*)title;
+ Form class, a matrix of text fields with labels +
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSFormCell.h
-Inherits from: NSActionCell
-Conforms to: NSCoding -
-
+ ovidiu@net-community.com
+
)
+ n.pero@mi.flashnet.it
+
)- -+Instance Variables
--
-Methods
--
-- -attributedTitle -
- -initTextCell: -
- -isOpaque -
- -setAttributedTitle: -
- -setTitle: -
- -setTitleAlignment: -
- -setTitleFont: -
- -setTitleWidth: -
- -setTitleWithMnemonic: -
- -title -
- -titleAlignment -
- -titleFont -
- -titleWidth -
- -titleWidth: -
Instances Methods
-attributedTitle
-- (NSAttributedString*) attributedTitle;
+ The cell class for the NSForm control +
Copyright: (C) 1996, 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSGraphicsContext.h
-Inherits from: NSObject
-Conforms to: NSObject -
-
+ richard@brainstorm.co.uk
+
)
+ fedor@gnu.org
+
)+GNUstep drawing context class.+
Copyright: (C) 1998,1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSHelpManager.h
-Inherits from: NSObject
-Conforms to: NSObject -
-
+ ptavares@iname.com
+
)- -+Instance Variables
--
-Methods
--
-- +isContextHelpModeActive -
- +setContextHelpModeActive: -
- +sharedHelpManager -
- -contextHelpForObject: -
- -removeContextHelpForObject: -
- -setContextHelp:forObject: -
- -showContextHelpForObject:locationHint: -
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.
+- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSImage.h
-Inherits from: NSObject
-Conforms to: NSCoding -
-
+ fedor@colorado.edu
+
)+Load, manipulate and display images+
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSImageCell.h
-Inherits from: NSCell
-Conforms to: NSCopying -
-
+ jagapen@smithlab.chem.wisc.edu
+
)+The image cell class+
Copyright: (C) 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSImageRep.h
-Inherits from: NSObject
-Conforms to: NSCoding -
-
+ fedor@colorado.edu
+
)- -+Instance Variables
--
-Methods
--
-- +canInitWithData: -
- +canInitWithPasteboard: -
- +imageFileTypes -
- +imagePasteboardTypes -
- +imageRepClassForData: -
- +imageRepClassForFileType: -
- +imageRepClassForPasteboardType: -
- +imageRepWithContentsOfFile: -
- +imageRepWithPasteboard: -
- +imageRepsWithContentsOfFile: -
- +imageRepsWithPasteboard: -
- +imageUnfilteredFileTypes -
- +imageUnfilteredPasteboardTypes -
- +registerImageRepClass: -
- +registeredImageRepClasses -
- +unregisterImageRepClass: -
- -bitsPerSample -
- -colorSpaceName -
- -draw -
- -drawAtPoint: -
- -drawInRect: -
- -hasAlpha -
- -isOpaque -
- -pixelsHigh -
- -pixelsWide -
- -setAlpha: -
- -setBitsPerSample: -
- -setColorSpaceName: -
- -setOpaque: -
- -setPixelsHigh: -
- -setPixelsWide: -
- -setSize: -
- -size -
Class Methods
-canInitWithData:
-+ (BOOL) canInitWithData: (NSData*)data;
+ Abstract representation of an image. +
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSImageView.h
-Inherits from: NSControl
-Conforms to: NSCoding -
-
+ ovidiu@net-community.com
+
)
+ jagapen@smithlab.chem.wisc.edu
+
)Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSInputManager.h
-Inherits from: NSObject
-Conforms to: NSTextInput -
-
+ FredKiefer@gmx.de
+
)Copyright: (C) 2001 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSInputServer.h
-Inherits from: NSObject
-Conforms to: NSObject -
-
+ FredKiefer@gmx.de
+
)Copyright: (C) 2001 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSLayoutManager.h
-Inherits from: NSObject
-Conforms to: NSObject -
-
+ jagapen@smithlab.chem.wisc.edu
+
)
+ mhanni@sprintmail.com
+
)+The text layout manager class+
Copyright: (C) 1999 Free Software Foundation, Inc.
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSMatrix.h
-Inherits from: NSControl
-Conforms to: NSCoding -
-
+ ovidiu@net-community.com
+
)+Matrix class for grouping controls+
Copyright: (C) 1996, 1997, 1999 Free Software Foundation, Inc.
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSMenu.h
-Inherits from: NSObject
-Conforms to: NSCoding -
-
+ FredKiefer@gmx.de
+
)
+ khelekir@encomix.es
+
)
+ mhanni@sprintmail.com
+
)
+ far@ix.netcom.com
+
)
+ ovidiu@net-community.com
+
)Copyright: (C) 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSMenuItem.h
-Inherits from: NSObject
+The menu cell class.+
Copyright: (C) 1996 Free Software Foundation, Inc.
+Declared in:
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSMenuItemCell.h
-Inherits from: NSButtonCell
-Conforms to: NSCoding -
-
+ mhanni@sprintmail.com
+
)Copyright: (C) 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSMenuView.h
-Inherits from: NSView
-Conforms to: NSCoding -
-
+ FredKiefer@gmx.de
+
)
+ khelekir@encomix.es
+
)
+ mhanni@sprintmail.com
+
)Copyright: (C) 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSOpenPanel.h
-Inherits from: NSSavePanel
-Conforms to: NSObject -
-
+ scottc@net-community.com
+
)
+ boehring@biomed.ruhr-uni-bochum.de
+
)
+ n.pero@mi.flashnet.it
+
)
+ mirko.viviani@rccr.cremona.it
+
)- -+Instance Variables
--
-Methods
--
-- +openPanel -
- -URLs -
- -allowsMultipleSelection -
- -canChooseDirectories -
- -canChooseFiles -
- -filenames -
- -runModalForDirectory:file:types: -
- -runModalForTypes: -
- -setAllowsMultipleSelection: -
- -setCanChooseDirectories: -
- -setCanChooseFiles: -
Class Methods
-openPanel
-+ (NSOpenPanel*) openPanel;
+ Standard open panel for opening files +
Copyright: (C) + 1996, 1998, 1999, 2000 Free Software Foundation, Inc. +
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ + ++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.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ + Set the accessory view for the page layout panel +
++ + Writes any layout information set by the user to the + receiver's NSPrintInfo object +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSPanel.h
-Inherits from: NSWindow
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)
+ richard@brainstorm.co.uk
+
)
+ pjb@imaginet.fr
+
)- -+Instance Variables
--
-Methods
--
-- -becomesKeyOnlyIfNeeded -
- -isFloatingPanel -
- -setBecomesKeyOnlyIfNeeded: -
- -setFloatingPanel: -
- -setWorksWhenModal: -
- -worksWhenModal -
Instances Methods
-becomesKeyOnlyIfNeeded
-- (BOOL) becomesKeyOnlyIfNeeded;
+ Panel window class and related functions +
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
+ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSParagraphStyle.h
-Inherits from: NSObject
-Conforms to: NSCoding -
-
+ richard@brainstorm.co.uk
+
)- -+Instance Variables
--
-Methods
--
-- +defaultParagraphStyle -
- -alignment -
- -firstLineHeadIndent -
- -headIndent -
- -lineBreakMode -
- -lineSpacing -
- -maximumLineHeight -
- -minimumLineHeight -
- -paragraphSpacing -
- -tabStops -
- -tailIndent -
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.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSPasteboard.h
-Inherits from: NSObject
-Conforms to: NSObject -
-
+ richard@brainstorm.co.uk
+
)- -+Instance Variables
--
-Methods
--
-- +generalPasteboard -
- +pasteboardByFilteringData:ofType: -
- +pasteboardByFilteringFile: -
- +pasteboardByFilteringTypesInPasteboard: -
- +pasteboardWithName: -
- +pasteboardWithUniqueName -
- +typesFilterableTo: -
- -addTypes: -
- -availableTypeFromArray: -
- -changeCount -
- -dataForType: -
- -declareTypes: -
- -name -
- -pasteboard:provideDataForType: -
- -pasteboardChangedOwner: -
- -propertyListForType: -
- -readFileContentsType:toFile: -
- -readFileWrapper; -
- -releaseGlobally -
- -setData:forType: -
- -setPropertyList: -
- -setString:forType: -
- -stringForType: -
- -types -
- -writeFileContents: -
- -writeFileWrapper: -
Class Methods
-generalPasteboard
-+ (NSPasteboard*) generalPasteboard;
+ Implementation of class for communicating with the + pasteboard server. +
Copyright: (C) 1997,1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSPopUpButton.h
-Inherits from: NSButton
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)
+ mhanni@sprintmail.com
+
)+Popup list class+
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSPopUpButtonCell.h
-Inherits from: NSMenuItemCell
-Conforms to: NSCoding -
-
+ mhanni@sprintmail.com
+
)Copyright: (C) 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSPrintInfo.h
-Inherits from: NSObject
-Conforms to: NSCoding -
-
+ sgf@frankau.demon.co.uk
+
)
+ fedor@gnu.org
+
)- -+Instance Variables
--
-Methods
--
-- +defaultPrinter -
- +setDefaultPrinter: -
- +setSharedPrintInfo: -
- +sharedPrintInfo -
- +sizeForPaperName: -
- -bottomMargin -
- -dictionary -
- -horizontalPagination -
- -initWithDictionary: -
- -isHorizontallyCentered -
- -isVerticallyCentered -
- -jobDisposition -
- -leftMargin -
- -orientation -
- -paperName -
- -paperSize -
- -printer -
- -rightMargin -
- -setBottomMargin: -
- -setHorizontalPagination: -
- -setHorizontallyCentered: -
- -setJobDisposition: -
- -setLeftMargin: -
- -setOrientation: -
- -setPaperName: -
- -setPaperSize: -
- -setPrinter: -
- -setRightMargin: -
- -setTopMargin: -
- -setUpPrintOperationDefaultValues -
- -setVerticalPagination: -
- -setVerticallyCentered: -
- -topMargin -
- -verticalPagination -
Class Methods
-defaultPrinter
-+ (NSPrinter*) defaultPrinter;
+ Stores information used in printing. +
Copyright: (C) 1996,1997 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ + ++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.
+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. -
-Declared in: ../../Headers/gnustep/gui/NSPrintOperation.h
-Inherits from: NSObject
-- -
- -
- -
- -
- -
- -
- -
Returns the NSPrintOperation object that is currently performing a print operation (if any). - -
- -
- -
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. - -
Returns the accessory view used by the NSPrintPanel associated with the receiver. - -
Called by the print operation and it has finished running a printing operation. - -
Returns the graphic contexts used by the print operation. - -
This method is used by the print operation to create a special graphics context for use while running the print operation. - -
Returns the page currently being printing. Returns 0 if no page is currently being printed - -
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.
-
-
This method is used by the print operation to destroy the special graphic context used while running the print operation. - -
- -
- -
- -
Returns YES
if the receiver is
performing an operation whose output is EPS
format.
-
-
Returns the page order of printing. - -
Returns the NSPrintInfo object associated with the receiver. - -
Returns the NSPrintPanel associated with the receiver. - -
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. - -
Run a print operation modally with respect to a window. - -
Set the accessory view used by the NSPrintPanel associated with the receiver. - -
Set the page order used when printing. - -
Set the NSPrintInfo object associated with the receiver. - -
Sets the NSPrintPanel used by the receiver obtaining and displaying printing information from/to the user. - -
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. - -
Returns YES
if the reciever display an
NSPrintPanel and other information when
running a print operation.
-
-
Return the view that is the being printed. - -
NO
argument.
+ + ++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.
+
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.
-
Declared in: NSPrintPanel.h
-Inherits from: NSPanel
-- -
Creates and returns a shared instance of the NSPrintPanel panel. - -
Returns the accessory view for the print panel - -
- -
Saves information set by the user in the receiver's panel in the NSPrintInfo object from the current NSPrintOperation. - -
This method has been depreciated. It doesn't do anything useful. - -
This method has been depreciated. It doesn't do anything useful. - -
This method has been depreciated. It doesn't do anything useful. - -
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. - -
Set the accessory view for the print panel - -
Setup the display in the receiver's panel based on the values stored in the NSPrintInfo object from the current NSPrintOperation. - -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSPrinter.h
-Inherits from: NSObject
-Conforms to: NSCoding -
-- -+Instance Variables
--
-Methods
--
-- +printerNames -
- +printerTypes -
- +printerWithName: -
- +printerWithName:domain:includeUnavailable: -
- +printerWithType: -
- -acceptsBinary -
- -booleanForKey:inTable: -
- -deviceDescription -
- -domain -
- -floatForKey:inTable: -
- -host -
- -imageRectForPaper: -
- -intForKey:inTable: -
- -isColor -
- -isFontAvailable: -
- -isKey:inTable: -
- -isOutputStackInReverseOrder -
- -languageLevel -
- -name -
- -note -
- -pageSizeForPaper: -
- -rectForKey:inTable: -
- -sizeForKey:inTable: -
- -statusForTable: -
- -stringForKey:inTable: -
- -stringListForKey:inTable: -
- -type -
Class Methods
-printerNames
-+ (NSArray*) printerNames;
+ Class representing a printer's or printer model's + capabilities. +
Copyright: (C) 1996, 1997 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSProgressIndicator.h
-Inherits from: NSView
-Conforms to: NSCoding -
-
+ gerritvd@decimax.com
+
)Copyright: (C) 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSResponder.h
-Inherits from: NSObject
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)+ + Abstract class which is basis of command and event + processing ++
Copyright: (C) 1996,1999 Free Software Foundation, Inc.
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSRulerMarker.h
-Inherits from: NSObject
-Conforms to: NSCopying -
-
+ FredKiefer@gmx.de
+
)+Displays a symbol in a NSRulerView.+
Copyright: (C) 2001 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSRulerView.h
-Inherits from: NSView
-Conforms to: NSCoding -
-
+ FredKiefer@gmx.de
+
)+The NSRulerView class.+
Copyright: (C) 2001 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSSavePanel.h
-
+ jagapen@smithlab.chem.wisc.edu
+
)
+ n.pero@mi.flashnet.it
+
)
+ mirko.viviani@rccr.cremona.it
+
)- -+Instance Variables
--
-Methods
--
-- +savePanel -
- -cancel: -
- -directory -
- -encodeWithCoder: -
- -initWithCoder: -
- -ok: -
- -panel:compareFilename:with:caseSensitive: -
- -panel:isValidFilename: -
- -panel:shouldShowFilename: -
- -prompt -
- -requiredFileType -
- -runModalForDirectory: -
- -selectText: -
- -setAccessoryView: -
- -setDelegate: -
- -setDirectory: -
- -setPrompt: -
- -setRequiredFileType: -
- -setTitle: -
- -setTreatsFilePackagesAsDirectories: -
- -title -
- -treatsFilePackagesAsDirectories -
- -validateVisibleColumns -
Class Methods
-savePanel
-+ (NSSavePanel*) savePanel;
+ Standard save panel for saving files +
Copyright: (C) 1999, 2000 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSScreen.h
-Inherits from: NSObject
-Conforms to: NSObject -
-
+ scottc@net-community.com
+
)
+ borgheron@yahoo.com
+
)Copyright: (C) 1996, 2000 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSScrollView.h
-Inherits from: NSView
-Conforms to: NSCoding -
-
+ ovidiu@net-community.com
+
)
+ far@ix.netcom.com
+
)
+ richard@brainstorm.co.uk
+
)Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSScroller.h
-Inherits from: NSControl
-Conforms to: NSCoding -
-
+ ovidiu@net-community.com
+
)
+ far@ix.netcom.com
+
)
+ richard@brainstorm.co.uk
+
)Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSSecureTextField.h
-Inherits from: NSTextField
-Conforms to: NSCoding -
-
+ borgheron@yahoo.com
+
)- -+Instance Variables
--
-Methods
--
- - - + Secure Text field control class for hidden text entry +
Copyright: (C) 1999 Free Software Foundation, Inc.
++ +
++ +
++ +
++ +
+
+ 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. +
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.
-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.
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.
As of yet, unimplemented.
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.As of yet, unimplemented.
Returns the image drawn in the slider's track. Returns nil
if
- this has not been set.
nil
if this has not been set.
As of yet, unimplemented.
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.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.Returns the maximum value that the slider represents.
+ Returns the maximum value that the slider + represents.Returns the minimum value that the slider represents.
+ Returns the minimum value that the slider + represents.As of yet, unimplemented.
As of yet, unimplemented.
As of yet, unimplemented.
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.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.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.Sets the maximum value that the sliders represents to maxValue.
+ Sets the maximum value that the sliders represents to + maxValue.Sets the minimum value that the slider represents to minValue.
+ Sets the minimum value that the slider represents to + minValue.As of yet, unimplemented.
As of yet, unimplemented.
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.Sets the cell used to draw the title to titleCell.
+ Sets the cell used to draw the title to + titleCell.Sets the colour with which the title will be drawn to color.
+ Sets the colour with which the title will be drawn to + color.Sets the font with which the title will be drawm to font.
+ Sets the font with which the title will be drawm to + font.As of yet, unimplemented.
As of yet, unimplemented.
Returns the title of the slider as an NSString
.
NSString
.
Returns the cell used to draw the title.
+ Returns the cell used to draw the title.Returns the colour used to draw the title.
+ Returns the colour used to draw the title.Returns the font used to draw the title.
+ Returns the font used to draw the title.Version: $Revision$
-Date: $Date$
-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.
- - -
-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.
-As of yet, unimplemented.
- - --Returns the value by which the slider will be incremented if the user holds down - the ALT key.
- - --As of yet, unimplemented.
- - -
-Returns the image drawn in the slider's track. Returns nil
if
- this has not been set.
-As of yet, unimplemented.
- - --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 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 maximum value that the slider represents.
- - --Returns the minimum value that the slider represents.
- - --As of yet, unimplemented.
- - --As of yet, unimplemented.
- - --As of yet, unimplemented.
- - --Sets the value by which the slider will be incremented, when the - ALT key is held down, to increment.
- - --Sets the image to be displayed in the slider's track to barImage.
- - --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 maximum value that the sliders represents to maxValue.
- - --Sets the minimum value that the slider represents to minValue.
- - --As of yet, unimplemented.
- - --As of yet, unimplemented.
- - --Sets the title of the slider to barTitle. This title is displayed - on the slider's track, behind the knob.
- - --Sets the cell used to draw the title to titleCell.
- - --Sets the colour with which the title will be drawn to color.
- - --Sets the font with which the title will be drawm to font.
- - --As of yet, unimplemented.
- - --As of yet, unimplemented.
- - -
-Returns the title of the slider as an NSString
.
-Returns the cell used to draw the title.
- - --Returns the colour used to draw the title.
- - --Returns the font used to draw the title.
- - -
+ ovidiu@net-community.com
+
)
+ far@ix.netcom.com
+
)Copyright: (C) 1996 Free Software Foundation, Inc.
+
+
+ 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. +
++ +
+
+
+ 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 the value by which the slider will be + incremented if the user holds down the ALT key. +
++ +
+
+
+ Returns the image drawn in the slider's track.
+ Returns nil
if this has not been set.
+
+ +
++ + 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 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 maximum value that the slider + represents. +
++ + Returns the minimum value that the slider + represents. +
++ +
++ +
++ +
++ + Sets the value by which the slider will be + incremented, when the ALT key is held down, to + increment. +
++ + Sets the image to be displayed in the slider's track + to barImage. +
++ + 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 maximum value that the sliders represents to + maxValue. +
++ + Sets the minimum value that the slider represents to + minValue. +
++ +
++ +
++ + Sets the title of the slider to barTitle. + This title is displayed on the slider's track, behind + the knob. +
++ + Sets the cell used to draw the title to + titleCell. +
++ + Sets the colour with which the title will be drawn to + color. +
++ + Sets the font with which the title will be drawm to + font. +
++ +
++ +
+
+
+ Returns the title of the slider as an
+ NSString
.
+
+ + Returns the cell used to draw the title. +
++ + Returns the colour used to draw the title. +
++ + Returns the font used to draw the title. +
++ 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
.
+
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
.
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. +
As of yet, unimplemented.
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.As of yet, unimplemented.
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. +
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.
+
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. +
As of yet, unimplemented.
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.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. +
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.Returns the maximum value that the slider represents.
+ Returns the maximum value that the slider + represents.Returns the minimum value that the slider represents.
+ Returns the minimum value that the slider + represents.As of yet, unimplemented.
As of yet, unimplemented.
As of yet, unimplemented.
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.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.Sets the maximum value that the sliders represents to maxValue.
+ Sets the maximum value that the sliders represents to + maxValue.Sets the minimum value that the sliders represents to maxValue.
+ Sets the minimum value that the sliders represents to + maxValue.As of yet, unimplemented.
As of yet, unimplemented.
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.Sets the cell used to draw the title to titleCell.
+ Sets the cell used to draw the title to + titleCell.Sets the colour with which the title will be drawn to color.
+ Sets the colour with which the title will be drawn to + color.Sets the font with which the title will be drawm to font.
+ Sets the font with which the title will be + drawm to font.As of yet, unimplemented.
As of yet, unimplemented.
Returns the title of the slider as an NSString
.
Returns the cell used to draw the title.
+ Returns the cell used to draw the title.Returns the colour used to draw the title.
+ Returns the colour used to draw the title.Returns the font used to draw the title.
+ Returns the font used to draw the title.Returns the rect of the track, minus the bezel.
+ Returns the rect of the track, minus the bezel.Version: $Revision$
-Date: $Date$
-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
.
-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.
- - --As of yet, unimplemented.
- - --Returns the value by which the slider is incremented when the user holds down - the ALT key.
- - --As of yet, unimplemented.
- - --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.
- - -
-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.
-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.
- - --As of yet, unimplemented.
- - --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 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 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 maximum value that the slider represents.
- - --Returns the minimum value that the slider represents.
- - --As of yet, unimplemented.
- - --As of yet, unimplemented.
- - --As of yet, unimplemented.
- - --Sets the value by which the slider will be be incremented when with the - ALT key down to increment.
- - --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 maximum value that the sliders represents to maxValue.
- - --Sets the minimum value that the sliders represents to maxValue.
- - --As of yet, unimplemented.
- - --As of yet, unimplemented.
- - --Sets the title of the slider to barTitle. This title is displayed - on the slider's track, behind the knob.
- - --Sets the cell used to draw the title to titleCell.
- - --Sets the colour with which the title will be drawn to color.
- - --Sets the font with which the title will be drawm to font.
- - --As of yet, unimplemented.
- - --As of yet, unimplemented.
- - -
-Returns the title of the slider as an NSString
.
-Returns the cell used to draw the title.
- - --Returns the colour used to draw the title.
- - --Returns the font used to draw the title.
- - --Returns the rect of the track, minus the bezel.
- - -
+ ovidiu@net-community.com
+
)Copyright: (C) 1996,1999 Free Software Foundation, Inc.
++ + 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
.
+
+ +
++ +
++ +
++ + Returns the value by which the slider is + incremented when the user holds down the ALT + key. +
++ +
++ +
++ +
++ +
++ +
++ + 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 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 maximum value that the slider + represents. +
++ + Returns the minimum value that the slider + represents. +
++ +
++ +
++ +
++ + Sets the value by which the slider will be be + incremented when with the ALT key down to + increment. +
++ + 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 maximum value that the sliders represents to + maxValue. +
++ + Sets the minimum value that the sliders represents to + maxValue. +
++ +
++ +
++ + Sets the title of the slider to + barTitle. This title is + displayed on the slider's track, behind the knob. +
++ + Sets the cell used to draw the title to + titleCell. +
++ + Sets the colour with which the title will be drawn to + color. +
++ + Sets the font with which the title will be + drawm to font. +
++ +
++ +
++ +
++ + Returns the cell used to draw the title. +
++ + Returns the colour used to draw the title. +
++ + Returns the font used to draw the title. +
++ + Returns the rect of the track, minus the bezel. +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSSpellChecker.h
-Inherits from: NSObject
-Conforms to: NSObject -
-
+ borgheron@yahoo.com
+
)
+ scottc@net-community.com
+
)- -+Instance Variables
--
-Methods
--
-- +sharedSpellChecker -
- +sharedSpellCheckerExists -
- +uniqueSpellDocumentTag -
- -accessoryView -
- -checkSpellingOfString: -
- -checkSpellingOfString:startingAt:language:wrap:inSpellDocumentWithTag:wordCount: -
- -closeSpellDocumentWithTag: -
- -countWordsInString: -
- -ignoreWord:inSpellDocumentWithTag: -
- -ignoredWordsInSpellDocumentWithTag: -
- -language -
- -setAccessoryView: -
- -setIgnoredWords:inSpellDocumentWithTag: -
- -setLanguage: -
- -setWordFieldStringValue: -
- -spellingPanel -
- -updateSpellingPanelWithMisspelledWord: -
Class Methods
-sharedSpellChecker
-+ (NSSpellChecker*) sharedSpellChecker;
+ Class to provide the graphical interface to the spell + checking service. +
Copyright: (C) 2001, 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSSpellServer.h
-Inherits from: NSObject
-Conforms to: NSObject -
-
+ borgheron@yahoo.com
+
)
+ scottc@net-community.com
+
)- -+Instance Variables
--
-Methods
--
-- -delegate -
- -isWordInUserDictionaries:caseSensitive: -
- -registerLanguage: -
- -run -
- -setDelegate: -
- -spellServer:didForgetWord:inLanguage: -
- -spellServer:didLearnWord:inLanguage: -
- -spellServer:findMisspelledWordInString:language:wordCount: -
- -spellServer:suggestGuessesForWord:inLanguage: -
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.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSSplitView.h
-Inherits from: NSView
-Conforms to: NSCoding -
-
+ vrobi@ddrummer.com
+
)
+ far@ix.netcom.com
+
)
+ richard@brainstorm.co.uk
+
)
+ n.pero@mi.flashnet.it
+
)- -+Instance Variables
--
-Methods
--
-- -adjustSubviews -
- -delegate -
- -dividerThickness -
- -drawDividerInRect: -
- -isVertical -
- -setDelegate: -
- -setVertical: -
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. +
+- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSTabView.h
-Inherits from: NSView
-Conforms to: NSCoding -
-
+ mhanni@sprintmail.com
+
)+The tabular view class+
Copyright: (C) 1999,2000 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSTabViewItem.h
-Inherits from: NSObject
-Conforms to: NSCoding -
-
+ mhanni@sprintmail.com
+
)Copyright: (C) 2000 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSTableHeaderCell.h
-Inherits from: NSTextFieldCell
-Conforms to: NSCoding -
-
+ n.pero@mi.flashnet.it
+
)Copyright: (C) 1999 Free Software Foundation, Inc.
+- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSTableHeaderView.h
-Inherits from: NSView
-Conforms to: NSCoding -
-
+ n.pero@mi.flashnet.it
+
)
+ nicola@brainstorm.co.uk
+
)Copyright: (C) 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSTableView.h
-Inherits from: NSControl
-Conforms to: NSCoding -
-
+ n.pero@mi.flashnet.it
+
)
+ pyrivail@ens-lyon.fr
+
)Copyright: (C) 2000 Free Software Foundation, Inc.
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSText.h
-Inherits from: NSView
-Conforms to: NSChangeSpelling -
-
+ scottc@net-community.com
+
)
+ far@ix.netcom.com
+
)
+ boehring@biomed.ruhr-uni-bochum.de
+
)
+ FredKiefer@gmx.de
+
)
+ n.pero@mi.flashnet.it
+
)+The RTFD text class+
Copyright: (C) 1996 Free Software Foundation, Inc.
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSTextContainer.h
-Inherits from: NSObject
-Conforms to: NSObject -
-
+ jagapen@smithlab.chem.wisc.edu
+
)Copyright: (C) 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSTextField.h
-Inherits from: NSControl
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)
+ far@ix.netcom.com
+
)
+ n.pero@mi.flashnet.it
+
)- -+Instance Variables
--
-Methods
--
-- -acceptsFirstResponder -
- -allowsEditingTextAttributes -
- -backgroundColor -
- -delegate -
- -drawsBackground -
- -errorAction -
- -importsGraphics -
- -isBezeled -
- -isBordered -
- -isEditable -
- -isSelectable -
- -nextText -
- -previousText -
- -selectText: -
- -setAllowsEditingTextAttributes: -
- -setBackgroundColor: -
- -setBezeled: -
- -setBordered: -
- -setDelegate: -
- -setDrawsBackground: -
- -setEditable: -
- -setErrorAction: -
- -setImportsGraphics: -
- -setPreviousText: -
- -setSelectable: -
- -setTextColor: -
- -setTitleWithMnemonic: -
- -textColor -
- -textDidBeginEditing: -
- -textDidChange: -
- -textDidEndEditing: -
- -textShouldBeginEditing: -
- -textShouldEndEditing: -
Instances Methods
-acceptsFirstResponder
-- (BOOL) acceptsFirstResponder;
+ Text field control class for text entry +
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSTextFieldCell.h
-Inherits from: NSActionCell
-Conforms to: NSCoding -
-
+ scottc@net-community.com
+
)
+ n.pero@mi.flashnet.it
+
)- -+Instance Variables
--
-Methods
--
-- -backgroundColor -
- -drawsBackground -
- -setBackgroundColor: -
- -setDrawsBackground: -
- -setTextColor: -
- -setUpFieldEditorAttributes: -
- -textColor -
Instances Methods
-backgroundColor
-- (NSColor*) backgroundColor;
+ Cell class for the text field entry control +
Copyright: (C) 1996 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSTextStorage.h
-Inherits from: NSMutableAttributedString
-Conforms to: NSCopying -
-
+ richard@brainstorm.co.uk
+
)Copyright: (C) 1999 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSTextView.h
-Inherits from: NSText
-Conforms to: NSTextInput -
-
+ scottc@net-community.com
+
)
+ far@ix.netcom.com
+
)
+ boehring@biomed.ruhr-uni-bochum.de
+
)
+ FredKiefer@gmx.de
+
)
+ n.pero@mi.flashnet.it
+
)Copyright: (C) 1996, 1998, 2000 Free Software Foundation, Inc.
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ 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 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.
As of yet, unimplemented.
Returns the view which currently has the focus.
+ Return the view at the top of graphics contexts + stack ornil
if none is focused.
Returns YES
if the view object will accept the first click
- received when in an inactive window, and NO
otherwise.
YES
if the view object will
+ accept the first click received when in an inactive
+ window, and NO
otherwise.
- Adds aView as a subview of the receiver. -
+ Adds aView as a subview of the receiver.- 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. +
- 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
.
-
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 the subview, lowest in the receiver's hierarchy, which contains - aPoint
+ Returns the subview, lowest in the receiver's + hierarchy, which contains aPoint
- Returns YES
if aView is an ancestor of the receiver.
-
YES
if aView is an
+ ancestor of the receiver.
As of yet, unimplemented.
Returns whether or not aPoint lies within aRect.
+ Returns whether or not aPoint lies + within aRect- 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. +
- 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.+ 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.
+
- 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. -
- Removes oldView from the receiver and places newView in its place. -
+ Removes oldView from the receiver and + places newView in its place.Notifies the receiver that its superview is being changed to - newSuperview.
+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 isnil
) to let all
+ the subviews know that they have also been removed from
+ the window.
- Returns the window in which the receiver resides. -
+ Returns the window in which the receiver resides.Version: $Revision$
-Date: $Date$
-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.
-As of yet, unimplemented.
- - --Returns the view which currently has the focus.
- - -
-Returns YES
if the view object will accept the first click
- received when in an inactive window, and NO
otherwise.
- - Adds aView as a subview of the receiver. -
- - -- - 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. -
- - -
-
- 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 the subview, lowest in the receiver's hierarchy, which contains - aPoint
- - -
-
- Returns YES
if aView is an ancestor of the receiver.
-
-As of yet, unimplemented.
- - --Returns whether or not aPoint lies within aRect.
- - -- - 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. -
- - -- - 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. -
- - -- - Removes oldView from the receiver and places newView in its place. -
- - --Notifies the receiver that its superview is being changed to - newSuperview.
- - --Notifies the receiver that it will now be a view of newWindow.
- - -- - Returns the window in which the receiver resides. -
- - -
+ scottc@net-community.com
+
)
+ far@ix.netcom.com
+
)
+ ovidiu@net-community.com
+
)
+ richard@brainstorm.co.uk
+
)+ + The view class which encapsulates all drawing functionality ++
Copyright: (C) (C) 1996 Free Software Foundation, Inc.
++ + 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.
+
+ +
++ +
+
+
+ Return the view at the top of graphics contexts
+ stack or nil
if none is focused.
+
+
+ Returns YES
if the view object will
+ accept the first click received when in an inactive
+ window, and NO
otherwise.
+
+ +
++ + Adds aView as a subview of the receiver. +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+
+
+ 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
.
+
+ +
++ +
++ +
++ + 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. +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ + 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. +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ + 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 +
++ +
++ + Returns the subview, lowest in the receiver's + hierarchy, which contains aPoint +
++ +
+
+
+ Returns YES
if aView is an
+ ancestor of the receiver.
+
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ + Returns whether or not aPoint lies + within aRect +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ + Frees the gstate object, if there is one. Note that + the next time the view is lockFocused, the gstate will + be allocated again. +
++ +
++ +
++ +
++ + Removes the receiver from its superviews list of + subviews, by invoking the superviews [ + + -removeSubview: + + + ] method. +
++ +
++ +
++ +
++ + Invalidates the view's gstate object so it will + be set up again using setUpGState the next time the view + is focused. +
++ + Removes oldView from the receiver and + places newView in its place. +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ + Notifies the receiver that its superview is being + changed to newSuperview. +
+
+
+ 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.
+
+ +
++ +
++ +
++ +
++ + Returns the window in which the receiver resides. +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ 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:
.
+
- 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:
.
-
- Returns the NSWindow's content view. -
- 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
.
+
- 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
.
+
YES
if the window has been miniaturized.
- 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.- Sets the window's title to the string aString. -
+ Sets the window's title to the string + aString.- Returns an NSString containing the text of the window's title. -
+ Returns an NSString containing the text of the + window's title. +Version: $Revision$
-Date: $Date$
-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:
.
-
- - Returns the NSWindow's content view. -
- - -- - 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, 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
.
-
YES
if the window has been miniaturized.
-
- - - Sets the window's content view to aView, replacing any previous content view. -
- - -- - Sets the window's title to the string aString. -
- - -- - Returns an NSString containing the text of the window's title. -
- - -
+ scottc@net-community.com
+
)
+ far@ix.netcom.com
+
)
+ richard@brainstorm.co.uk
+
)+The window class+
Copyright: (C) 1996 Free Software Foundation, Inc.
++ + 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:
.
+
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ + 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 miniaturize, that is the window + is removed from the screen and it's counterpart + (mini)window is displayed. +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ + Sets the window's content view to aView, + replacing any previous content view. +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ + Sets the window's title to the string + aString. +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ + Returns an NSString containing the text of the + window's title. +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSWindowController.h
-Inherits from: NSObject
-Conforms to: NSObject -
-Copyright: (C) 2000 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
+Version: $Revision$
-Date: $Date$
-Declared in: Gui/NSWorkspace.h
-Inherits from: NSObject
-Conforms to: NSObject -
-
+ scottc@net-community.com
+
)+Workspace class+
Copyright: (C) 1996-1999, 2001 Free Software Foundation, Inc.
+- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
++ +
+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.
+ +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
+/** + 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
.
+
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.
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 +/**+ NSTableColumn objects represent columns in NSTableViews. +
++ 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. +
++ 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. +
+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.
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.
+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 */ +/** + ReturnsYES
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
+/** 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:
.
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, 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
.