|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WindowManagementFeedback
The WindowManagementFeedback interface
allows the toolkit to implement some means of interactive window
movement for top-level windows. The window system or graphics library
may implement the feedback for these operations by a platform-specific means;
it then exposes the functionality safely through this interface.
| Method Summary | |
|---|---|
void |
endFeedback(Window win,
int x,
int y,
int w,
int h)
End feedback, e.g. |
void |
moveFeedback(Window win,
int x,
int y,
int w,
int h)
Resize the feedback rectangle to the given dimensions. |
void |
startFeedback(Window win,
int x,
int y,
int w,
int h)
Start window management feedback using a rectangle of the given dimensions. |
| Method Detail |
|---|
void startFeedback(Window win,
int x,
int y,
int w,
int h)
throws IllegalStateException,
IllegalArgumentException
win - The window to be reshaped. (This allows the window system
to show the whole window during moves and/or reshapes).x - x coordinate of the feedback rectangle's upper-left corner.y - y coordinate of the feedback rectangle's upper-left corner.w - Width of the feedback rectangle.h - Height of the feedback rectangle.
IllegalStateException - if feedback is already in progress.
IllegalArgumentException - if win is not a top-level window.
void moveFeedback(Window win,
int x,
int y,
int w,
int h)
throws IllegalStateException,
IllegalArgumentException
win - The window to be reshaped. (This allows the window system
to show the whole window during moves and/or reshapes).x - x coordinate of the feedback rectangle's upper-left corner.y - y coordinate of the feedback rectangle's upper-left corner.w - Width of the feedback rectangle.h - Height of the feedback rectangle.
IllegalStateException - if no feedback is in progress.
IllegalArgumentException - if win is not the same window
passed to startFeedback.
void endFeedback(Window win,
int x,
int y,
int w,
int h)
throws IllegalStateException,
IllegalArgumentException
win - The window to be reshaped. (This allows the window system
to show the whole window during moves and/or reshapes).x - x coordinate of the feedback rectangle's upper-left corner.y - y coordinate of the feedback rectangle's upper-left corner.w - Width of the feedback rectangle.h - Height of the feedback rectangle.
IllegalStateException - if no feedback is in progress.
IllegalArgumentException - if win is not the same window
passed to startFeedback.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||