Methods Summary |
---|
public void | dispose()Destroys the asscoiated window.
Attempts to use it thereafter can result in
unpredictable bechavior.
|
public java.awt.Rectangle | getBounds()Returns last notified window bounds. This means the last bounds
reported by system event.
If child, position is relative to parent window.
|
public long | getId()Returns system id of the associated window
|
public java.awt.Insets | getInsets()Returns last notified insets. This means the last insets
reported by system event. Insets are margins around client area
ocupied by system provided decor, ususally border and titlebar.
|
public org.apache.harmony.awt.gl.MultiRectArea | getObscuredRegion(java.awt.Rectangle part)
|
public java.awt.Point | getScreenPos()Get absolute position on the screen
|
public void | grabMouse()Activate the mouse event capturing
|
public boolean | isFocusable()
|
public void | placeAfter(org.apache.harmony.awt.wtk.NativeWindow w)Changes window Z-order to place this window under, If w is null
places places this window on the top. Z-order is per parent.
Toplevels a children of desktop in terms of Z-order.
|
public void | setAlwaysOnTop(boolean value)Makes window top-most if value is true,
non-topmost(normal) otherwise.
|
public void | setBounds(int x, int y, int w, int h, int boundsMask)Tries to set desired window bounds. It's not gurantied the
property will have the desired value. The value change
should be reported by system event (as for other properties).
If child, position is relative to parent window.
|
public void | setEnabled(boolean value)Enables/disables processing of input (key, mouse) event
by window. If disabled input events are ignored.
|
public boolean | setFocus(boolean focus)Tries to set application input focus to the window or clear
current focus from focused window.
For toplevel windows it's not gurantied focus will land in
desired window even if function returns true. Focus traversal should be tracked
by processing system events.
|
public void | setFocusable(boolean value)Sets the "focusable" window state.
|
public void | setIMStyle()Make window an "input method window" by setting
special window style, e. g. small title bar, no
close, minimize/maximize buttons. For internal
use by input method framework.
|
public void | setIconImage(java.awt.Image image)Set the image to be displayed in the minimized icon for
top-level [decorated] window.
|
public void | setMaximizedBounds(java.awt.Rectangle bounds)Set desired [top-level] window bounds when being in maximized state.
Fields set to Integer.MAX_VALUE are ignored[system-supplied values are
used instead]
|
public void | setPacked(boolean packed)Set a window "packed" flag:
the flag indicates that if insets change
client area shouldn't be resized, but frame
must be resized instead
|
public void | setResizable(boolean value)Makes the window resizable/not resizable by user
|
public void | setState(int state)Set extended state for top-level window.
|
public void | setTitle(java.lang.String title)Sets the window caption
|
public void | setVisible(boolean v)Shows/hides window
|
public void | toBack()Places window on bottom of Z-order
|
public void | toFront()Places window on top of Z-order
|
public void | ungrabMouse()Deactivate mouse event capturing
|