org.zaval.misc
Interface ScrollMan

All Known Implementing Classes:
LwScrollPan

public interface ScrollMan

This interface is used by a scroll object as a callback interface to notify a scroll manager when the scroll object has been moved or resized.


Method Summary
 void scrollObjMoved(int x, int y)
          Invoked when a scroll object has been moved.
 void scrollObjResized(int w, int h)
          Invoked when a scroll object has been resized.
 

Method Detail

scrollObjMoved

public void scrollObjMoved(int x,
                           int y)
Invoked when a scroll object has been moved.
Parameters:
x - the x coordinate of a new scroll object location.
y - the y coordinate of a new scroll object location.

scrollObjResized

public void scrollObjResized(int w,
                             int h)
Invoked when a scroll object has been resized.
Parameters:
w - the new width of the scroll object.
h - the new height of the scroll object.


Copyright © Zaval Creative Engineering Group, 2000-2005.
http://www.zaval.org