satin.aro
Class MacIntoshOS

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

public class MacIntoshOS
extends AROremoteObject

Represents the MacIntosh operating system under which the ARO server is running, or its emulation via Altura's Mac2Win. This may be different from the system on which the Java program is running.

Author:
Ed Stauff

Fields inherited from class satin.aro.AROremoteObject
server
 
Fields inherited from class satin.aro.AROobject
id
 
Constructor Summary
MacIntoshOS(AROremoteServer server)
          The constructor.
 
Method Summary
MacWindow getFrontWindow()
          Returns the frontmost window.
AROpoint getRawMouse()
          Returns the current mouse cursor position in global coordinates.
void postMouseClickEvent()
          Posts a mouse click event into the event queue.
void postMouseDownEvent()
          Posts a mouse down event into the event queue.
void postMouseUpEvent()
          Posts a mouse up event into the event queue.
void setRawMouse(AROpoint p)
          Moves the mouse cursor to the position given in global coordinates.
void setRawMouse(int x, int y)
          Moves the mouse cursor to the position given in global coordinates.
 
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

MacIntoshOS

public MacIntoshOS(AROremoteServer server)
            throws java.io.IOException,
                   AROexception
The constructor. Throws an AROexception if the server is not running on a ManIntosh operating system, or its emulation via Altura's Mac2Win.
Method Detail

getFrontWindow

public MacWindow getFrontWindow()
                         throws java.io.IOException,
                                AROexception
Returns the frontmost 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.

postMouseDownEvent

public void postMouseDownEvent()
                        throws java.io.IOException,
                               AROexception
Posts a mouse down event into the event queue. This routine returns without waiting for the event to be processed. This ARO request is processed immediately, regardless of the state of the ARO server application.

postMouseUpEvent

public void postMouseUpEvent()
                      throws java.io.IOException,
                             AROexception
Posts a mouse up event into the event queue. This routine returns without waiting for the event to be processed. This ARO request is processed immediately, regardless of the state of the ARO server application.

postMouseClickEvent

public void postMouseClickEvent()
                         throws java.io.IOException,
                                AROexception
Posts a mouse click event into the event queue. This routine returns without waiting for the event to be processed. This ARO request is processed immediately, regardless of the state of the ARO server application.

getRawMouse

public AROpoint getRawMouse()
                     throws java.io.IOException,
                            AROexception
Returns the current mouse cursor position in global coordinates. This is essentially a front end to an COMPANY core library routine of the same name. This ARO request is processed immediately, regardless of the state of the ARO server application.

setRawMouse

public void setRawMouse(int x,
                        int y)
                 throws java.io.IOException,
                        AROexception
Moves the mouse cursor to the position given in global coordinates. This is essentially a front end to an COMPANY core library routine of the same name. This ARO request is processed immediately, regardless of the state of the ARO server application.

setRawMouse

public void setRawMouse(AROpoint p)
                 throws java.io.IOException,
                        AROexception
Moves the mouse cursor to the position given in global coordinates. This is essentially a front end to an COMPANY core library routine 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.

3/27/01 Ed Stauff - initial review.



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