Copyright ©1995 by NeXT Computer, Inc. All Rights Reserved.
| DBImageView |
| Inherits From: | Control : View : Responder : Object | |
| Declared In: | dbkit/DBImageView.h |
| Class Description |
| A DBImageView displays a single NXImage object bordered by one of four types of frame. Providing editing is enabled, the user can drag a new image into a DBImageView's frame (using the Application Kit's image-dragging mechanism).
The Database Kit permits a DBImageView object to be connected to any database field whose data is of type object and class NXImage. |
| Instance Variables |
| None declared in this class. |
| Method Types |
| Internals |
| Accessing the image |
| Accessing the border |
| Editing |
| Instance Methods |
| drawSelf:: |
| Draws the DBImageView. You never invoke this method yourself, it's invoked automatically by the Application Kit's display mechanism. Returns self.
See also: |
| image |
| Returns the image view's NXImage object. |
| initFrame: |
| Initializes the image view with the given frame. Returns self. |
| isEditable |
| Returns YES if the image can be replaced or deleted.
See also: |
| setEditable: |
| Makes the DBImageView editable or not, as flag is YES or NO. When an image view is editable, it still must be deleted or replaced as a whole; "editable" doesn't involve fiddling with bits.
See also: |
| setImage: |
| Sets the image view's NXImage to newImage. Returns self. |
| setStyle: |
| Sets the style in which the image's border is drawn. The argument newStyle must be one of the following:
See also: |
| style |
| Returns the current border style, as one of the possible styles listed as arguments of setStyle:. |