satin.aro
Class MacWindow

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

public class MacWindow
extends AROremoteObject

Represents a MacIntosh 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
MacWindow(AROremoteServer rs, AROobjectID id)
          The constructor.
 
Method Summary
void closeWindow()
          Closes the window.
java.lang.String getWTitle()
          Returns the text (caption) of the window.
AROpoint globalToLocal(AROpoint p)
          Converts a point from global (screen) to local (window) coordinates.
AROpoint globalToLocal(int x, int y)
          Converts a point from global (screen) to local (window) coordinates.
AROpoint localToGlobal(AROpoint p)
          Converts a point from local (window) to global (screen) coordinates.
AROpoint localToGlobal(int x, int y)
          Converts a point from local (window) to global (screen) coordinates.
void selectWindow()
          Brings the 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

MacWindow

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

selectWindow

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

closeWindow

public void closeWindow()
                 throws java.io.IOException,
                        AROexception
Closes the window. This is essentially a front-end to the Mac Toolbox call of the same name. This ARO request is processed at idle time in the ARO server application's main event loop.

getWTitle

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

globalToLocal

public AROpoint globalToLocal(int x,
                              int y)
                       throws java.io.IOException,
                              AROexception
Converts a point from global (screen) to local (window) coordinates. This is essentially a front-end to the Mac Toolbox call of the same name. This ARO request is processed immediately, regardless of the state of the ARO server application.

globalToLocal

public AROpoint globalToLocal(AROpoint p)
                       throws java.io.IOException,
                              AROexception
Converts a point from global (screen) to local (window) coordinates. This is essentially a front-end to the Mac Toolbox call of the same name. This ARO request is processed immediately, regardless of the state of the ARO server application.

localToGlobal

public AROpoint localToGlobal(int x,
                              int y)
                       throws java.io.IOException,
                              AROexception
Converts a point from local (window) to global (screen) coordinates. This is essentially a front-end to the Mac Toolbox call of the same name. This ARO request is processed immediately, regardless of the state of the ARO server application.

localToGlobal

public AROpoint localToGlobal(AROpoint p)
                       throws java.io.IOException,
                              AROexception
Converts a point from local (window) to global (screen) coordinates. This is essentially a front-end to the Mac Toolbox call of the same name. 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 MacWindow.java (PRIVATE SOURCES)