All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface sun.porting.windowsystem.WindowManagementFeedback

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 Index

 o endFeedback(Window, int, int, int, int)
End feedback, e.g.
 o moveFeedback(Window, int, int, int, int)
Resize the feedback rectangle to the given dimensions.
 o startFeedback(Window, int, int, int, int)
Start window management feedback using a rectangle of the given dimensions.

Methods

 o startFeedback
 public abstract void startFeedback(Window win,
                                    int x,
                                    int y,
                                    int w,
                                    int h) throws IllegalStateException, IllegalArgumentException
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 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.
 o moveFeedback
 public abstract void moveFeedback(Window win,
                                   int x,
                                   int y,
                                   int w,
                                   int h) throws IllegalStateException, IllegalArgumentException
Resize the feedback rectangle to the given dimensions.

Parameters:
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.
 o endFeedback
 public abstract void endFeedback(Window win,
                                  int x,
                                  int y,
                                  int w,
                                  int h) throws IllegalStateException, IllegalArgumentException
End feedback, e.g. hide the feedback rectangle.

Parameters:
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.

All Packages  Class Hierarchy  This Package  Previous  Next  Index