|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImageReference
An interface used to describe a referenced image.
Field Summary | |
---|---|
static int |
SIZE_UNKNOWN
The value getWidth() or getHeight() should return if that dimension of the image is not known. |
Method Summary | |
---|---|
void |
addImageUpdateListener(ImageUpdateListener l)
Adds an image update listener to the image reference. |
int |
getHeight()
Returns the height of the image. |
int |
getWidth()
Returns the width of the image. |
void |
removeImageUpdateListener(ImageUpdateListener l)
Removes an image update listener to the image reference. |
void |
update()
Notifies listeners that the referenced image has changed. |
Field Detail |
---|
static final int SIZE_UNKNOWN
Method Detail |
---|
void addImageUpdateListener(ImageUpdateListener l)
l
- The ImageUpdateListener
to add.int getHeight()
int getWidth()
void removeImageUpdateListener(ImageUpdateListener l)
l
- The ImageUpdateListener
to remove.void update()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |