NSImageView Bindings
Availability Bindings
editable
A multiple-value binding that determines if the NSImageView
is editable in the user interface.
When editable
is bound, a new binding, editable2
, is exposed and can be bound. Binding to editable2
causes editable3
to be exposed, and so on.
The contents of the NSImageView
are editable if a logical AND operation on all the editable
bindings results in a Boolean value of YES
.
enabled
A multiple-value binding that determines if the NSImageView
is enabled in the user interface.
When enabled
is bound, a new binding, enabled2
, is exposed and can be bound. Binding to enabled2
causes enabled3
to be exposed, and so on.
The NSImageView
is enabled if a logical AND operation on all the enabled
bindings results in a Boolean value of YES
.
hidden
A multiple-value binding that determines if the NSImageView
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 NSImageView
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 NSImageView
.
Value Bindings
data
An NSData instance that contains the raw data of the image displayed in the NSImageView
.
When setting the data
value any raw data that is acceptable for use with the NSImage
method initWithData:
is appropriate. If the NSImageView
is editable, and an image is dragged to the NSImageView
, the data
value will be a TIFF representation of the image.
value
An NSImage instance to be displayed in the NSImageView
.
valuePath
An NSString that specifies the full path of the image file to display in the NSImageView.
valueURL
An NSString or NSURL that specifies the URL of the image to display in the NSImageView.
Copyright © 2004, 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-07-15