|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | CONST | FIELD | CONSTR | METHOD | DETAIL: CONST | FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--satin.aro.AROobject
|
+--satin.aro.AROremoteObject
|
+--satin.core.AObject
|
+--satin.uishell.AWindow
public class AWindow
extends AObject
Represents a C++ AWindow object in an ARO server.
| Fields inherited from class satin.aro.AROremoteObject |
server |
| Fields inherited from class satin.aro.AROobject |
id |
| Constructor Summary | |
protected |
AWindow(AROremoteServer rs)
Constructor for derived classes. |
|
AWindow(AROremoteServer rs,
AROobjectID id)
Constructs an object representing an AWindow. |
| Method Summary | |
void |
closeWhenIdle()
Tells the window to close itself when it becomes idle. |
APane |
findPaneByID(java.lang.String paneID)
Looks in the window for a pane with the given ID. |
java.lang.String |
getClassAndTitle()
Returns a string containing the window's C++ class name and its title. |
boolean |
getIsModal()
Returns whether the window is modal (i.e., a dialog). |
MacWindow |
getMacWindow()
Returns the MacIntosh window for this window. |
APane |
getMainPane()
Returns the window's main pane. |
java.lang.String |
getTitle()
Returns the window's title (caption). |
AROrectangle |
getWindowRect()
Returns the window's rectangle in global coordinates. |
void |
goHome(int top,
int left)
Moves the window to its "home" location. |
boolean |
isActiveWindow()
Returns whether the window is the active window. |
boolean |
isVisible()
Returns whether the window is visible. |
void |
makeActive()
Makes the window (and its application) active. |
void |
postClickEvent(int x,
int y)
Posts (asynchronously) a click event at the location given in window coordinates. |
void |
selectAndShow()
Makes the window active. |
void |
setContentSize(int width,
int height)
Resizes the window, based on the dimensions of its interior. |
void |
setCursorPos(int x,
int y)
Moves the mouse cursor to the position given in window coordinates. |
void |
setWindowTopLeft(int top,
int left)
Moves the window without resizing it. |
void |
setWindowToRect(int left,
int top,
int right,
int bottom)
Moves the window to the position given in global coordinates. |
void |
setWindowWidHei(int width,
int height)
Resizes the window, based on its exterior dimensions. |
| Methods inherited from class satin.core.AObject |
className, isInstanceOf |
| 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 |
public AWindow(AROremoteServer rs,
AROobjectID id)
rsidprotected AWindow(AROremoteServer rs)
setID method.
rs| Method Detail |
public java.lang.String getTitle()
throws java.io.IOException,
AROexception
public APane getMainPane()
throws java.io.IOException,
AROexception
mainPane field.
public APane findPaneByID(java.lang.String paneID)
throws java.io.IOException,
AROexception
public void selectAndShow()
throws java.io.IOException,
AROexception
makeActive.
This is a front-end for the C++ method of the same name.
public MacWindow getMacWindow()
throws java.io.IOException,
AROexception
public void makeActive()
throws java.io.IOException,
AROexception
public void closeWhenIdle()
throws java.io.IOException,
AROexception
public boolean isVisible()
throws java.io.IOException,
AROexception
public boolean isActiveWindow()
throws java.io.IOException,
AROexception
public boolean getIsModal()
throws java.io.IOException,
AROexception
public void setCursorPos(int x,
int y)
throws java.io.IOException,
AROexception
xy
public void setWindowToRect(int left,
int top,
int right,
int bottom)
throws java.io.IOException,
AROexception
leftright
public void setWindowWidHei(int width,
int height)
throws java.io.IOException,
AROexception
public void setContentSize(int width,
int height)
throws java.io.IOException,
AROexception
public void setWindowTopLeft(int top,
int left)
throws java.io.IOException,
AROexception
public void goHome(int top,
int left)
throws java.io.IOException,
AROexception
public AROrectangle getWindowRect()
throws java.io.IOException,
AROexception
public java.lang.String getClassAndTitle()
throws java.io.IOException,
AROexception
public void postClickEvent(int x,
int y)
throws java.io.IOException,
AROexception
| Revision History |
7/26/01 - code review.
7/27/01 Ed Stauff - added setContentSize per C++ code review.
7/13/01 Ed Stauff - added getClassAndTitle.
4/6/01 Ed Stauff - changes per review.
3/28/01 Ed Stauff - initial review by Satin team.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | CONST | FIELD | CONSTR | METHOD | DETAIL: CONST | FIELD | CONSTR | METHOD | ||||||||
AWindow.java (PRIVATE SOURCES)