|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jxcell.ShapeObj
public class ShapeObj
This class is base class of drawing Format.
Method Summary | |
---|---|
double |
getBottom()
|
ShapeFormat |
getFormat()
Returns the Format object associated with this shape. |
double |
getLeft()
|
java.lang.String |
getName()
|
ShapeObj |
getNextShapeObj()
|
ShapePos |
getPos()
get the shape position |
double |
getRight()
|
ShapeObj |
getShapeObjFromGRObject(GRObject grobject)
Deprecated. for compatible with older grobject |
double |
getTop()
|
void |
setFormat()
Sets the Format for this shape. |
void |
setPosition(double x1,
double y1,
double x2,
double y2)
set the shape position |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ShapeFormat getFormat() throws java.lang.Exception
java.lang.Exception
- exceptionpublic void setFormat()
public double getLeft()
public double getRight()
public double getTop()
public double getBottom()
public void setPosition(double x1, double y1, double x2, double y2) throws java.lang.Exception
x1
- left positiony1
- top positionx2
- right positiony2
- bottom position
java.lang.Exception
- exceptionpublic ShapePos getPos()
public ShapeObj getNextShapeObj()
public ShapeObj getShapeObjFromGRObject(GRObject grobject)
grobject
- drawing object
public java.lang.String getName()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |