| Related class | |
| Availability | Available in Mac OS X v10.3 and later.
|
Parameters Bindings
Title Bindings
Title With Pattern Bindings
A float value that specifies the height of the NSPanel's content view. The height is expressed in the NSPanel's base coordinate system. Changing this value alters the size of the NSPanel.
A float value that specifies the width of the NSPanel's content view. The width is expressed in the NSPanel's base coordinate system. Changing this value alters the size of the NSPanel.
A Boolean value that specifies if the NSPanel's document has been edited and not saved.
The documentEdited binding should evaluate to YES if the NSPanel's content needs to be saved.
A Boolean value that specifies if the NSPanel is visible.
If visible evaluates to YES, the NSPanel is visible.
An NSString that contains the name of the file that the window represents.
An NSString value that is displayed in the title bar of the NSPanel.
A multiple-value binding that specifies a string value that replaces %{title1}@ in a display pattern string that is used to set the title of the NSPanel.
When displayPatternTitle1 is bound, a new binding, displayPatternTitle2, is exposed and can be bound. Binding to displayPatternTitle2 causes displayPatternTitle3 to be exposed, and so on.
The Display Pattern binding option is an NSString that is used as the pattern string. The appropriate displayPatternTitleX binding value is substituted for the %{titleX}@ pattern in the display string.
As an example, if displayPatternTitle1 evaluates to 22, displayPatternTitle2 evaluates to 5 and the Display Pattern string is "%{title2}@ of %{title1}@ rows are selected", the resulting NSPanel title will be "5 of 22 rows are selected".
If displayPatternTitle1 is bound, the title and representedFilename bindings are not available.
© 2004, 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-10-31)