| sun.porting.windowsystem.WindowManagementFeedback
WindowManagementFeedback | public interface WindowManagementFeedback (Code) | | 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.
version: 1.8, 08/19/02 |
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.
Parameters: win - The window to be reshaped. | void | startFeedback(Window win, int x, int y, int w, int h) Start window management feedback using a rectangle of the given
dimensions. |
endFeedback | void endFeedback(Window win, int x, int y, int w, int h) throws IllegalStateException, IllegalArgumentException(Code) | | End feedback, e.g. hide the feedback rectangle.
Parameters: win - The window to be reshaped. (This allows the window systemto show the whole window during moves and/or reshapes). Parameters: x - x coordinate of the feedback rectangle's upper-left corner. Parameters: y - y coordinate of the feedback rectangle's upper-left corner. Parameters: w - Width of the feedback rectangle. Parameters: h - Height of the feedback rectangle. throws: IllegalStateException - if no feedback is in progress. throws: IllegalArgumentException - if win is not the same windowpassed to startFeedback. |
moveFeedback | void moveFeedback(Window win, int x, int y, int w, int h) throws IllegalStateException, IllegalArgumentException(Code) | | Resize the feedback rectangle to the given dimensions.
Parameters: win - The window to be reshaped. (This allows the window systemto show the whole window during moves and/or reshapes). Parameters: x - x coordinate of the feedback rectangle's upper-left corner. Parameters: y - y coordinate of the feedback rectangle's upper-left corner. Parameters: w - Width of the feedback rectangle. Parameters: h - Height of the feedback rectangle. throws: IllegalStateException - if no feedback is in progress. throws: IllegalArgumentException - if win is not the same windowpassed to startFeedback. |
startFeedback | void startFeedback(Window win, int x, int y, int w, int h) throws IllegalStateException, IllegalArgumentException(Code) | | Start window management feedback using a rectangle of the given
dimensions. All coordinates are in global (framebuffer) space.
Parameters: win - The window to be reshaped. (This allows the window systemto show the whole window during moves and/or reshapes). Parameters: x - x coordinate of the feedback rectangle's upper-left corner. Parameters: y - y coordinate of the feedback rectangle's upper-left corner. Parameters: w - Width of the feedback rectangle. Parameters: h - Height of the feedback rectangle. throws: IllegalStateException - if feedback is already in progress. throws: IllegalArgumentException - if win is not a top-level window. |
|
|