|
|||||||||
| 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.AScrollBar
public class AScrollBar
extends APane
Represents a C++ AScrollBar 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 | |
AScrollBar(APane pane)
Constructs an object representing an AScrollBar. |
|
AScrollBar(AROremoteServer rs,
AROobjectID id)
Constructs an object representing an AScrollBar. |
|
AScrollBar(AWindow window,
java.lang.String paneID)
Constructs an object representing an AScrollBar. |
|
| Method Summary | |
void |
doScroll(int delta)
Changes the value (position) of the scrollbar, and updates the contents of the pane being scrolled. |
AROrectangle |
getDownButtonRect()
Returns a rectangle for the scrollbar's "down" (or "left") button. |
int |
getMax()
Returns the maximum value of the scrollbar. |
int |
getMin()
Returns the minimum value of the scrollbar. |
AROrectangle |
getThumbRect()
Returns a rectangle for the "thumb" (slider) of the scrollbar. |
AROrectangle |
getUpButtonRect()
Returns a rectangle for the scrollbar's "up" (or "right") button. |
int |
getValue()
Returns the current value (position) of the scrollbar. |
boolean |
isVertical()
Returns whether the scrollbar is vertical or horizontal. |
boolean |
setValue(int value)
Sets the value (position) of the scrollbar, and returns whether it changed. |
| 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 AScrollBar(AROremoteServer rs,
AROobjectID id)
rsid
public AScrollBar(AWindow window,
java.lang.String paneID)
throws java.io.IOException,
AROexception,
PaneIDnotFound
windowpaneID
public AScrollBar(APane pane)
throws java.io.IOException,
AROexception
panepaneID| Method Detail |
public int getValue()
throws java.io.IOException,
AROexception
public boolean setValue(int value)
throws java.io.IOException,
AROexception
value
public void doScroll(int delta)
throws java.io.IOException,
AROexception
delta
public int getMin()
throws java.io.IOException,
AROexception
public int getMax()
throws java.io.IOException,
AROexception
public boolean isVertical()
throws java.io.IOException,
AROexception
public AROrectangle getThumbRect()
throws java.io.IOException,
AROexception
public AROrectangle getUpButtonRect()
throws java.io.IOException,
AROexception
public AROrectangle getDownButtonRect()
throws java.io.IOException,
AROexception
| Revision History |
7/26/01 - code review.
7/22/01 Ed Stauff - added doScroll.
7/13/01 Ed Stauff - added constructor that takes an APane.
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 | ||||||||
AScrollBar.java (PRIVATE SOURCES)