javax.media.jai.widget
Interface ViewportListener
Deprecated. as of JAI 1.1
- public interface ViewportListener
An interface used by the ScrollingImagePanel
class to inform listeners of the current viewable area of the image.
- See Also:
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. |
setViewport
public 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.
- Parameters:
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.