satin.aro
Class MSwindow

java.lang.Object
  |
  +--satin.aro.AROobject
        |
        +--satin.aro.AROremoteObject
              |
              +--satin.aro.MSwindow

public class MSwindow
extends AROremoteObject

Represents a Microsoft Win32 SDK window on the operating system under which the ARO server is running.

Author:
Ed Stauff

Fields inherited from class satin.aro.AROremoteObject
server
 
Fields inherited from class satin.aro.AROobject
id
 
Constructor Summary
MSwindow(AROremoteServer rs, AROobjectID id)
          The constructor.
 
Method Summary
int getHandle()
          Returns the window's handle.
MSwindow getNextWindow()
          Returns the next window in the OS's Z-order; that is, the window immediately below this one.
MSwindow getPrevWindow()
          Returns the previous window in the OS's Z-order; that is, the window immediately above this one.
MSwindow getTopWindow()
          Returns the topmost child window.
java.lang.String getWindowText()
          Returns the text (caption) of the window.
void setForegroundWindow()
          Brings this window to the front and makes it active.
 
Methods inherited from class satin.aro.AROremoteObject
equals, exists, getAROclassName
 
Methods inherited from class satin.aro.AROobject
getID, setID, toAROstring, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MSwindow

public MSwindow(AROremoteServer rs,
                AROobjectID id)
         throws java.io.IOException,
                AROexception
The constructor.
Method Detail

setForegroundWindow

public void setForegroundWindow()
                         throws java.io.IOException,
                                AROexception
Brings this window to the front and makes it active. This is essentially a front-end to the Microsoft Win32 SDK routine of the same name. This ARO request is processed at idle time in the ARO server application's main event loop.

getWindowText

public java.lang.String getWindowText()
                               throws java.io.IOException,
                                      AROexception
Returns the text (caption) of the window. This is essentially a front-end to the Microsoft Win32 SDK routine of the same name. This ARO request is processed immediately, regardless of the state of the ARO server application.

getNextWindow

public MSwindow getNextWindow()
                       throws java.io.IOException,
                              AROexception
Returns the next window in the OS's Z-order; that is, the window immediately below this one. This is essentially a front-end to the Microsoft Win32 SDK routine of the same name. This ARO request is processed immediately, regardless of the state of the ARO server application.

getPrevWindow

public MSwindow getPrevWindow()
                       throws java.io.IOException,
                              AROexception
Returns the previous window in the OS's Z-order; that is, the window immediately above this one. This is essentially a front-end to the Microsoft Win32 SDK routine of the same name. This ARO request is processed immediately, regardless of the state of the ARO server application.

getTopWindow

public MSwindow getTopWindow()
                      throws java.io.IOException,
                             AROexception
Returns the topmost child window. This is essentially a front-end to the Microsoft Win32 SDK routine of the same name. This ARO request is processed immediately, regardless of the state of the ARO server application.

getHandle

public int getHandle()
              throws java.io.IOException,
                     AROexception
Returns the window's handle. There is nothing programmatic that you can do with this handle, but it is provided as a diagnostic tool for use with other tools such as Spy. This ARO request is processed immediately, regardless of the state of the ARO server application.
Revision History

4/6/01 Ed Stauff - changes per initial code review.

4/16/01 Ed Stauff - changed base class from AROobject to AROremoteObject.

4/5/01 Ed Stauff - made changes per review.

3/27/01 Ed Stauff - initial review.



Generated on 5/9/2001 19:37 from MSwindow.java (PRIVATE SOURCES)