|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.drawutil.internal.Rect
public class Rect
A Rectangle with a lot of functionnality, that SWT .... ok, nothing
| Field Summary | |
|---|---|
protected int |
h_
Deprecated. |
protected int |
w_
Deprecated. |
protected int |
x_
Deprecated. |
protected int |
y_
Deprecated. |
| Constructor Summary | |
|---|---|
Rect()
Deprecated. Create 0,0,0,0 rectagle |
|
Rect(int _x,
int _y,
int _w,
int _h)
Deprecated. Create a rectangle |
|
Rect(Rect _r)
Deprecated. Create a rectangle copying value |
|
Rect(org.eclipse.swt.graphics.Rectangle _r)
Deprecated. Create a rectangle from SWT' one |
|
| Method Summary | |
|---|---|
int |
bottom()
Deprecated. |
org.eclipse.swt.graphics.Point |
center()
Deprecated. |
int |
centerX()
Deprecated. |
int |
centerY()
Deprecated. |
boolean |
contains(int _px,
int _py)
Deprecated. |
static boolean |
Contains(int _lx,
int _ty,
int _w,
int _h,
int _px,
int _py)
Deprecated. |
boolean |
contains(org.eclipse.swt.graphics.Point _p)
Deprecated. |
boolean |
containsBorder(int _px,
int _py)
Deprecated. |
static boolean |
ContainsBorder(int _lx,
int _ty,
int _w,
int _h,
int _px,
int _py)
Deprecated. |
boolean |
containsBorder(org.eclipse.swt.graphics.Point _p)
Deprecated. |
boolean |
equals(java.lang.Object o)
Deprecated. |
void |
grow(int _amount)
Deprecated. change all bounds using same amount, positive value make bigger rectangle |
int |
h()
Deprecated. |
static Rect |
Intersection(int x1,
int y1,
int w1,
int h1,
int x2,
int y2,
int w2,
int h2)
Deprecated. |
Rect |
intersection(Rect _r)
Deprecated. Setup this rect with the intersection area of this and parameter. |
static Rect |
Intersection(Rect _r1,
Rect _r2)
Deprecated. |
static org.eclipse.swt.graphics.Rectangle |
IntersectionR(int x1,
int y1,
int w1,
int h1,
int x2,
int y2,
int w2,
int h2)
Deprecated. |
int |
left()
Deprecated. |
void |
moveBy(int _dx,
int _dy)
Deprecated. Move rectangle by delta |
void |
moveCenter(int _cx,
int _cy)
Deprecated. Move center of rectangle to given position |
void |
moveCenter(org.eclipse.swt.graphics.Point _p)
Deprecated. Move center of rectangle to given position |
void |
moveTo(int _x,
int _y)
Deprecated. Move rectangle to position |
Rect |
normalize()
Deprecated. Normalize rectangle, set width and height >=0. |
int |
right()
Deprecated. |
void |
setBottom(int _b)
Deprecated. Change bottom side of the rectangle, top is not affected, may change height |
void |
setHeight(int _h)
Deprecated. Change height of the rectangle |
void |
setLeft(int _l)
Deprecated. Change left side of the rectangle, right side is not affected, may change width. |
void |
setLocation(int _x,
int _y)
Deprecated. Change x and y value of rectangle |
void |
setLocation(org.eclipse.swt.graphics.Point _p)
Deprecated. change x and y value of rectangle using swt's point |
void |
setRect(int _x,
int _y,
int _w,
int _h)
Deprecated. Change rectangle values |
void |
setRect(Rect _r)
Deprecated. Change rectangle values |
void |
setRect(org.eclipse.swt.graphics.Rectangle _r)
Deprecated. Change rectangle values |
void |
setRight(int _r)
Deprecated. Change right side of the rectangle, left side is not affected, may change width. |
void |
setSize(int _w,
int _h)
Deprecated. Change width and height of the rectangle |
void |
setSize(org.eclipse.swt.graphics.Point _size)
Deprecated. Change width and height of the rectangle using swt's Point. |
void |
setTop(int _t)
Deprecated. Change top side of the rectangle, bottom is not affected, mau change height |
void |
setWidth(int _w)
Deprecated. Change width of the rectangle |
void |
setX(int _x)
Deprecated. Change x value of rectangle |
void |
setY(int _y)
Deprecated. Change y value of rectangle |
void |
shrink(int _amount)
Deprecated. change all bounds using same amount, positive value make smaller rectangle |
int |
top()
Deprecated. |
org.eclipse.swt.graphics.Rectangle |
toRectangle()
Deprecated. |
org.eclipse.swt.graphics.Rectangle |
toRectangle(org.eclipse.swt.graphics.Rectangle _r)
Deprecated. |
java.lang.String |
toString()
Deprecated. return rectangle as "X,Y,WxH" |
Rect |
union(Rect _r)
Deprecated. Setup this rect with the union of this and parameter. |
static Rect |
Union(Rect _r1,
Rect _r2)
Deprecated. |
int |
w()
Deprecated. |
int |
x()
Deprecated. |
int |
y()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int x_
protected int y_
protected int w_
protected int h_
| Constructor Detail |
|---|
public Rect()
public Rect(int _x,
int _y,
int _w,
int _h)
public Rect(Rect _r)
public Rect(org.eclipse.swt.graphics.Rectangle _r)
| Method Detail |
|---|
public int x()
public int y()
public int w()
public int h()
public int left()
public int right()
public int top()
public int bottom()
public org.eclipse.swt.graphics.Point center()
public int centerX()
public int centerY()
public void setX(int _x)
public void setY(int _y)
public void setWidth(int _w)
public void setHeight(int _h)
public void setSize(int _w,
int _h)
public final void setSize(org.eclipse.swt.graphics.Point _size)
public void setLocation(int _x,
int _y)
public final void setLocation(org.eclipse.swt.graphics.Point _p)
public void setLeft(int _l)
public void setRight(int _r)
public void setTop(int _t)
public void setBottom(int _b)
public void grow(int _amount)
public void shrink(int _amount)
public static boolean Contains(int _lx,
int _ty,
int _w,
int _h,
int _px,
int _py)
public static boolean ContainsBorder(int _lx,
int _ty,
int _w,
int _h,
int _px,
int _py)
public boolean contains(int _px,
int _py)
public boolean containsBorder(int _px,
int _py)
public final boolean contains(org.eclipse.swt.graphics.Point _p)
contains(int, int)public final boolean containsBorder(org.eclipse.swt.graphics.Point _p)
containsBorder(int, int)
public void setRect(int _x,
int _y,
int _w,
int _h)
public void setRect(Rect _r)
public void setRect(org.eclipse.swt.graphics.Rectangle _r)
public org.eclipse.swt.graphics.Rectangle toRectangle()
public org.eclipse.swt.graphics.Rectangle toRectangle(org.eclipse.swt.graphics.Rectangle _r)
public Rect normalize()
public void moveTo(int _x,
int _y)
public void moveBy(int _dx,
int _dy)
public void moveCenter(int _cx,
int _cy)
public final void moveCenter(org.eclipse.swt.graphics.Point _p)
public Rect intersection(Rect _r)
public Rect union(Rect _r)
public static Rect Intersection(Rect _r1,
Rect _r2)
public static Rect Intersection(int x1,
int y1,
int w1,
int h1,
int x2,
int y2,
int w2,
int h2)
public static org.eclipse.swt.graphics.Rectangle IntersectionR(int x1,
int y1,
int w1,
int h1,
int x2,
int y2,
int w2,
int h2)
public static Rect Union(Rect _r1,
Rect _r2)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||