|
|||||||||
| 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.APane
|
+--satin.uishell.AGadget
public class AGadget
extends APane
Represents a C++ AGadget object in an ARO server.
| Fields inherited from class satin.uishell.APane |
uiName |
| Fields inherited from class satin.aro.AROremoteObject |
server |
| Fields inherited from class satin.aro.AROobject |
id |
| Constructor Summary | |
AGadget(APane pane)
Constructs an object representing an AGadget. |
|
AGadget(AROremoteServer rs,
AROobjectID id)
Constructs an object representing an AGadget. |
|
AGadget(AWindow window,
java.lang.String paneID)
Constructs an object representing an AGadget. |
|
| Method Summary | |
boolean |
getEnabled()
Returns whether the gadget is enabled. |
java.lang.String[] |
getMenuContents()
Returns an array of strings containing the text of the gadget's menu items. |
java.lang.String[] |
getMenuContents(java.lang.String separator)
Returns an array of strings containing the text of the gadget's menu items. |
int |
getMenuItem()
Returns the currently selected item number in the gadget's menu. |
int |
getResourceID()
Returns the gadget's resource id. |
java.lang.String |
getResourceType()
Returns the gadget's resource type. |
boolean |
getState()
Returns whether the state of the gadget. |
boolean |
hasMenu()
Returns whether the gadget has a menu. |
| Methods inherited from class satin.uishell.APane |
doClick, doClick, doClick, doClick, doClick, doClick, getBounds, getClassAndID, getFrame, getLabel, getPaneID, getParent, getSubPanes, getText, getUIname, getWindow, isActive, isVisible, postClickEvent, toString |
| 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 |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AGadget(AROremoteServer rs,
AROobjectID id)
rsid
public AGadget(AWindow window,
java.lang.String paneID)
throws java.io.IOException,
AROexception,
PaneIDnotFound
windowpaneID
public AGadget(APane pane)
throws java.io.IOException,
AROexception
panepaneID| Method Detail |
public boolean getState()
throws java.io.IOException,
AROexception
public boolean getEnabled()
throws java.io.IOException,
AROexception
public java.lang.String getResourceType()
throws java.io.IOException,
AROexception
itsRsrcType
field.
public int getResourceID()
throws java.io.IOException,
AROexception
itsRsrcID
field.
public boolean hasMenu()
throws java.io.IOException,
AROexception
hasMenu field.
public int getMenuItem()
throws java.io.IOException,
AROexception
public java.lang.String[] getMenuContents()
throws java.io.IOException,
AROexception
getMenuContents; otherwise, the sub-menus will not be
included in the returned list.
Throws an AROexception if the gadget has no menu.
This method does not correspond to any one C++ method.
public java.lang.String[] getMenuContents(java.lang.String separator)
throws java.io.IOException,
AROexception
| Revision History |
7/26/01 - code review.
7/13/01 Ed Stauff - added constructor that takes an APane.
5/1/01 Ed Stauff - replaced Vectors with arrays.
4/6/01 Ed Stauff - changes per API 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 | ||||||||
AGadget.java (PRIVATE SOURCES)