|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ViewportListener
An interface used by the ScrollingImagePanel
class to inform listeners of the current viewable area of the image.
This class has been deprecated. The source
code has been moved to the samples/widget
directory. These widgets are no longer
supported.
Method Summary | |
---|---|
void |
setViewport(int x,
int y,
int width,
int height)
Deprecated. Called to inform the listener of the currently viewable area od the source image. |
Method Detail |
---|
void setViewport(int x, int y, int width, int height)
x
- The X coordinate of the upper-left corner of the current
viewable area.y
- The Y coordinate of the upper-left corner of the current
viewable area.width
- The width of the current viewable area in pixels.height
- The height of the current viewable area in pixels.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |