Methods' Details |
setPosSize
[oneway] void |
setPosSize( |
[in] long |
X, |
| [in] long |
Y, |
| [in] long |
Width, |
| [in] long |
Height, |
| [in] short |
Flags ); |
- Description
- sets the outer bounds of the window.
- Parameter X
- the x-coordinate of the window.
- Parameter Y
- the y-coordinate of the window.
- Parameter Width
- the width of the window.
- Parameter Height
- the height of the window.
- Parameter Flags
- Flags are of type PosSize and specify, which parameters
are taken into account when setting the outer bounds of the window.
|
|
getPosSize
- Description
- returns the outer bounds of the window.
|
|
setVisible
[oneway] void |
setVisible( |
[in] boolean |
Visible ); |
- Description
- shows or hides the window depending on the parameter.
|
|
setEnable
[oneway] void |
setEnable( |
[in] boolean |
Enable ); |
- Description
- enables or disables the window depending on the parameter.
|
|
setFocus
[oneway] void |
setFocus(); |
- Description
- sets the focus to the window.
|
|
addWindowListener
- Description
- adds a window listener to the object.
- Parameter xListener
- the listener to add. If this listener also supports the XWindowListener2 interface,
it will receive the additional events declared in XWindowListener2.
|
|
removeWindowListener
- Description
- removes the specified window listener from the listener list.
|
|
addFocusListener
- Description
- adds a focus listener to the object.
|
|
removeFocusListener
- Description
- removes the specified focus listener from the listener list.
|
|
addKeyListener
[oneway] void |
addKeyListener( |
[in] XKeyListener |
xListener ); |
- Description
- adds a key listener to the object.
|
|
removeKeyListener
[oneway] void |
removeKeyListener( |
[in] XKeyListener |
xListener ); |
- Description
- removes the specified key listener from the listener list.
|
|
addMouseListener
- Description
- adds a mouse listener to the object.
|
|
removeMouseListener
- Description
- removes the specified mouse listener from the listener list.
|
|
addMouseMotionListener
- Description
- adds a mouse motion listener to the object.
|
|
removeMouseMotionListener
- Description
- removes the specified mouse motion listener from the listener list.
|
|
addPaintListener
- Description
- adds a paint listener to the object.
|
|
removePaintListener
- Description
- removes the specified paint listener from the listener list.
|
|
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.