- Inherits from:
- EOAssociation : EODelayedObserver (EOControl) : Object
- Implements:
- EOObserving (EODelayedObserver)
- Package:
- com.apple.client.eointerface
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 |
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)
public void establishConnection()
public java.awt.Image image()
public java.awt.Image imageWithData(NSData data)
public boolean isUsableWithObject(Object aDisplayObject)
true if aDisplayObject is
an instance of EOImageView, false otherwise.See Also: isUsableWithObject ( EOAssociation)
public String primaryAspect()
EOAssociation. ValueAspect. See Also: primaryAspect ( EOAssociation)
public void subjectChanged()