|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webrenderer.ScrollBarInfo
Stores information about the current scroll bar status of an IDocument
.
Constructor Summary | |
ScrollBarInfo(int th,
int ch,
int y,
int tw,
int cw,
int x)
Constructs a ScrollBarInfo object. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares the scroll bar with another object |
int |
getCurrentHeight()
Gets the current showing-height of the scroll bar. |
int |
getCurrentWidth()
Gets the current showing-width of the scroll bar. |
int |
getTotalHeight()
Gets the total height of the scroll bar. |
int |
getTotalWidth()
Gets the total width of the scroll bar. |
int |
getXPos()
Gets the current x position of the scroll bar. |
int |
getYPos()
Gets the current y position of the scroll bar. |
java.lang.String |
toString()
Gets the scroll bar information as a String. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ScrollBarInfo(int th, int ch, int y, int tw, int cw, int x)
ScrollBarInfo
object.
th
- total height.ch
- current height.y
- y position.tw
- total width.cw
- current width.x
- x position.Method Detail |
public int getCurrentHeight()
public int getTotalHeight()
public int getYPos()
public int getCurrentWidth()
public int getTotalWidth()
public int getXPos()
public java.lang.String toString()
public boolean equals(java.lang.Object obj)
obj
- an object to compare against
true
if the object passed has the size and position as this object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |