NSBox Bindings
Availability Bindings
hidden
A multiple-value binding that determines if the NSBox
is displayed in the user interface.
When hidden
is bound, a new binding, hidden2
, is exposed and can be bound. Binding to hidden2
causes hidden3
to be exposed, and so on.
The NSBox
is hidden if a logical OR operation on all the hidden
bindings results in a Boolean value of YES
.
Parameters Bindings
toolTip
An NSString that contains the tool tip to display for this NSBox
.
transparent
A Boolean
value that indicates whether the NSBox
background is transparent. If YES
the background is transparent.
Title Bindings
title
An NSString value that is displayed in the title bar of the NSBox
.
Title With Pattern Bindings
displayPatternTitle1
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 NSBox
.
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 NSBox
title will be "5 of 22 rows are selected".
If displayPatternTitle1
is bound, the title
and representedFilename
bindings are not available.
Copyright © 2004, 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-07-15