EOImageAssociation
- Inherits from:
- EOAssociation : EODelayedObserver (EOControl) : Object
- Implements:
- EOObserving (EODelayedObserver)
- Package:
- com.apple.client.eointerface
Class Description
EOImageAssociation associates the contents of its ValueAspect's display group with an EOImageView.
Note: This class doesn't exist in the com.apple.yellow.eointerface package. |
Usable With |
EOImageView |
Aspects | |
ValueAspect | An NSData containing the image data |
URLAspect | A URL from which to retrieve the image |
Constructors
EOImageAssociation
public
EOImageAssociation
(Object aDisplayObject)
You normally set up associations in Interface Builder, in which case you don't need to create them programmatically. However, if you do create them up programmatically, setting them up is a multi-step process. After creating an association, you must bind its aspects and establish its connections.
See Also: bindAspect (EOAssociation), establishConnection (EOAssociation)
Instance Methods
establishConnection
public void
establishConnection
()
image
public java.awt.Image
image
()
imageWithData
public java.awt.Image
imageWithData
(NSData data)
isUsableWithObject
public boolean
isUsableWithObject
(Object aDisplayObject)
true
if aDisplayObject is
an instance of EOImageView, false
otherwise.See Also: isUsableWithObject ( EOAssociation)
primaryAspect
public String
primaryAspect
()
EOAssociation.
ValueAspect. See Also: primaryAspect ( EOAssociation)
subjectChanged
public void
subjectChanged
()