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.
-
endFeedback(Window, int, int, int, int)
- End feedback, e.g.
-
moveFeedback(Window, int, int, int, int)
- Resize the feedback rectangle to the given dimensions.
-
startFeedback(Window, int, int, int, int)
- Start window management feedback using a rectangle of the given
dimensions.
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.
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.
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