org.kde.qt
Class QRect
java.lang.Object
org.kde.qt.QRect
- All Implemented Interfaces:
- QtSupport
public class QRect
- extends java.lang.Object
- implements QtSupport
Method Summary |
void |
addCoords(int x1,
int y1,
int x2,
int y2)
|
int |
bottom()
|
QPoint |
bottomLeft()
|
QPoint |
bottomRight()
|
QPoint |
center()
|
boolean |
contains(int x,
int y)
|
boolean |
contains(int x,
int y,
boolean proper)
|
boolean |
contains(QPoint p)
|
boolean |
contains(QPoint p,
boolean proper)
|
boolean |
contains(QRect r)
|
boolean |
contains(QRect r,
boolean proper)
|
void |
coords(int[] x1,
int[] y1,
int[] x2,
int[] y2)
|
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
protected void |
finalize()
Deletes the wrapped C++ instance |
int |
height()
|
QRect |
intersect(QRect r)
|
boolean |
intersects(QRect r)
|
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
boolean |
isEmpty()
|
boolean |
isNull()
|
boolean |
isValid()
|
int |
left()
|
void |
moveBottom(int pos)
|
void |
moveBottomLeft(QPoint p)
|
void |
moveBottomRight(QPoint p)
|
void |
moveBy(int dx,
int dy)
|
void |
moveCenter(QPoint p)
|
void |
moveLeft(int pos)
|
void |
moveRight(int pos)
|
void |
moveTop(int pos)
|
void |
moveTopLeft(QPoint p)
|
void |
moveTopRight(QPoint p)
|
QRect |
normalize()
|
QRect |
op_and_assign(QRect r)
|
QRect |
op_and(QRect r)
|
QRect |
op_or_assign(QRect r)
|
QRect |
op_or(QRect r)
|
short |
rBottom()
|
void |
rect(int[] x,
int[] y,
int[] w,
int[] h)
|
int |
right()
|
short |
rLeft()
|
short |
rRight()
|
short |
rTop()
|
void |
setBottom(int pos)
|
void |
setBottomLeft(QPoint p)
|
void |
setBottomRight(QPoint p)
|
void |
setCoords(int x1,
int y1,
int x2,
int y2)
|
void |
setHeight(int h)
|
void |
setLeft(int pos)
|
void |
setRect(int x,
int y,
int w,
int h)
|
void |
setRight(int pos)
|
void |
setSize(QSize s)
|
void |
setTop(int pos)
|
void |
setTopLeft(QPoint p)
|
void |
setTopRight(QPoint p)
|
void |
setWidth(int w)
|
void |
setX(int x)
|
void |
setY(int y)
|
QSize |
size()
|
int |
top()
|
QPoint |
topLeft()
|
QPoint |
topRight()
|
QRect |
unite(QRect r)
|
int |
width()
|
int |
x()
|
int |
y()
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QRect
protected QRect(java.lang.Class dummy)
QRect
public QRect()
QRect
public QRect(QPoint topleft,
QPoint bottomright)
QRect
public QRect(QPoint topleft,
QSize size)
QRect
public QRect(int left,
int top,
int width,
int height)
isNull
public boolean isNull()
isEmpty
public boolean isEmpty()
isValid
public boolean isValid()
normalize
public QRect normalize()
left
public int left()
top
public int top()
right
public int right()
bottom
public int bottom()
rLeft
public short rLeft()
rTop
public short rTop()
rRight
public short rRight()
rBottom
public short rBottom()
x
public int x()
y
public int y()
setLeft
public void setLeft(int pos)
setTop
public void setTop(int pos)
setRight
public void setRight(int pos)
setBottom
public void setBottom(int pos)
setX
public void setX(int x)
setY
public void setY(int y)
setTopLeft
public void setTopLeft(QPoint p)
setBottomRight
public void setBottomRight(QPoint p)
setTopRight
public void setTopRight(QPoint p)
setBottomLeft
public void setBottomLeft(QPoint p)
topLeft
public QPoint topLeft()
bottomRight
public QPoint bottomRight()
topRight
public QPoint topRight()
bottomLeft
public QPoint bottomLeft()
center
public QPoint center()
rect
public void rect(int[] x,
int[] y,
int[] w,
int[] h)
coords
public void coords(int[] x1,
int[] y1,
int[] x2,
int[] y2)
moveLeft
public void moveLeft(int pos)
moveTop
public void moveTop(int pos)
moveRight
public void moveRight(int pos)
moveBottom
public void moveBottom(int pos)
moveTopLeft
public void moveTopLeft(QPoint p)
moveBottomRight
public void moveBottomRight(QPoint p)
moveTopRight
public void moveTopRight(QPoint p)
moveBottomLeft
public void moveBottomLeft(QPoint p)
moveCenter
public void moveCenter(QPoint p)
moveBy
public void moveBy(int dx,
int dy)
setRect
public void setRect(int x,
int y,
int w,
int h)
setCoords
public void setCoords(int x1,
int y1,
int x2,
int y2)
addCoords
public void addCoords(int x1,
int y1,
int x2,
int y2)
size
public QSize size()
width
public int width()
height
public int height()
setWidth
public void setWidth(int w)
setHeight
public void setHeight(int h)
setSize
public void setSize(QSize s)
op_or
public QRect op_or(QRect r)
op_and
public QRect op_and(QRect r)
op_or_assign
public QRect op_or_assign(QRect r)
op_and_assign
public QRect op_and_assign(QRect r)
contains
public boolean contains(QPoint p,
boolean proper)
contains
public boolean contains(QPoint p)
contains
public boolean contains(int x,
int y)
contains
public boolean contains(int x,
int y,
boolean proper)
contains
public boolean contains(QRect r,
boolean proper)
contains
public boolean contains(QRect r)
unite
public QRect unite(QRect r)
intersect
public QRect intersect(QRect r)
intersects
public boolean intersects(QRect r)
finalize
protected void finalize()
throws java.lang.InternalError
- Deletes the wrapped C++ instance
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.InternalError
dispose
public void dispose()
- Delete the wrapped C++ instance ahead of finalize()
isDisposed
public boolean isDisposed()
- Has the wrapped C++ instance been deleted?