|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.gui.view.ViewRect
public class ViewRect
View rectangle.
Field Summary | |
---|---|
int |
h
Height. |
int |
level
Level. |
int |
pre
Rectangle pre value. |
int |
w
Width. |
int |
x
X position. |
int |
y
Y position. |
Constructor Summary | |
---|---|
|
ViewRect()
Default constructor. |
protected |
ViewRect(int xx,
int yy,
int ww,
int hh)
Simple rectangle constructor. |
Method Summary | |
---|---|
boolean |
contains(int xx,
int yy)
Verifies if the specified coordinates are inside the rectangle. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int x
public int y
public int w
public int h
public int pre
public int level
Constructor Detail |
---|
public ViewRect()
protected ViewRect(int xx, int yy, int ww, int hh)
xx
- x positionyy
- y positionww
- widthhh
- heightMethod Detail |
---|
public final boolean contains(int xx, int yy)
xx
- x positionyy
- y position
public final java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |