org.zaval.misc
Interface ScrollMan
- All Known Implementing Classes:
- LwScrollPan
- public interface ScrollMan
The interface is used by a scrolled object to move itself inside the scroll area.
|
Method Summary |
void |
makeVisible(int x,
int y,
int w,
int h)
Makes visible the specified part of the scrolled object inside the scroll area. |
void |
moveScrolledObj(int x,
int y)
Moves the scrolled object inside the scroll area to the specified location. |
moveScrolledObj
public void moveScrolledObj(int x,
int y)
- Moves the scrolled object inside the scroll area to the specified location.
- Parameters:
x - the x coordinate of the specified location.y - the y coordinate of the specified location.
makeVisible
public void makeVisible(int x,
int y,
int w,
int h)
- Makes visible the specified part of the scrolled object inside the scroll area.
- Parameters:
x - the x coordinate of the specified part.y - the y coordinate of the specified part.w - the width of the specified part.h - the height of the specified part.
|