|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.geom.RectangularShape
java.awt.geom.Rectangle2D
java.awt.geom.Rectangle2D.Float
ilog.views.IlvRect
ilog.cpl.graphic.IlpRect
public class IlpRect
This class implements a rectangle that can be used as a position in the network component.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.awt.geom.Rectangle2D |
|---|
Rectangle2D.Double, Rectangle2D.Float |
| Field Summary |
|---|
| Fields inherited from class java.awt.geom.Rectangle2D.Float |
|---|
height, width, x, y |
| Fields inherited from class java.awt.geom.Rectangle2D |
|---|
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP |
| Constructor Summary | |
|---|---|
IlpRect()
Creates a new rectangle. |
|
IlpRect(float x,
float y,
float width,
float height)
Creates a new rectangle. |
|
IlpRect(IlvRect rect)
Creates a new rectangle by copying an existing one. |
|
| Method Summary | |
|---|---|
Object |
clone()
Copies the rectangle. |
double |
getHeight()
Returns the rectangle height. |
double |
getWidth()
Returns the rectangle width. |
void |
setHeight(double height)
Sets the rectangle height. |
void |
setWidth(double width)
Sets the rectangle width. |
void |
setX(double x)
Sets the rectangle X coordinate. |
void |
setY(double y)
Sets the rectangle Y coordinate. |
| Methods inherited from class ilog.views.IlvRect |
|---|
add, add, contains, expand, expand, floor, heightFloor, inside, intersection, intersects, move, reshape, resize, toString, translate, widthFloor, xFloor, yFloor |
| Methods inherited from class java.awt.geom.Rectangle2D.Float |
|---|
createIntersection, createUnion, getBounds2D, getX, getY, isEmpty, outcode, setRect, setRect, setRect |
| Methods inherited from class java.awt.geom.Rectangle2D |
|---|
add, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union |
| Methods inherited from class java.awt.geom.RectangularShape |
|---|
contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlpRect()
public IlpRect(float x,
float y,
float width,
float height)
public IlpRect(IlvRect rect)
rect - The copied rectangle.| Method Detail |
|---|
public Object clone()
clone in class RectangularShapepublic void setX(double x)
public void setY(double y)
public void setWidth(double width)
width - New widthpublic void setHeight(double height)
height - New heightpublic double getWidth()
getWidth in class Rectangle2D.Floatpublic double getHeight()
getHeight in class Rectangle2D.Float
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||