org.xith3d.ui.swingui
Interface UIWindowInterface
- All Superinterfaces:
- UIOverlayInterface
public interface UIWindowInterface
- extends UIOverlayInterface
Interface used to define overlays that act as windows. This is an extension of the
overlay interface.
Originally Coded by David Yazel on Oct 26, 2003 at 11:24:19 AM.
setFocus
void setFocus(boolean focus)
- Called by the window manager when a window is given focus. It is up to the window
to determine how best to indicate that it has focus.
- Parameters:
focus -
getWindowDragHotspot
java.awt.Rectangle getWindowDragHotspot()
- Returns:
- the location of the window which can be used to drag the window. Often this is
a rectangle in the upper left hand corner of the window.
getWindowCloseHotspot
java.awt.Rectangle getWindowCloseHotspot()
- Returns:
- the location of the window which can be used to close the window. Often this is
a rectangle in the upper right hand corner of the window.
getWindowResizeHotspot
java.awt.Rectangle getWindowResizeHotspot()
- Returns:
- the location of the window which can be used to close the window. Often this is
a rectangle in the lower right hand corner of the window.
getCursor
java.awt.Cursor getCursor()
- Returns:
- the current cursor for the window.