|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.Shape
public abstract class Shape
Class Shape wraps a basic shape section's information.
It defines all common properties of the Line, Box, RoundBox, Oval, and Arc.
Shape can only be inserted into banded sections.
| Constructor Summary | |
|---|---|
Shape()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBottomAttach()
Gets the bottom attached section handle. |
double |
getBottomAttachX()
Gets X position of the bottom attached section. |
double |
getBottomAttachY()
Gets Y position of the bottom attached section |
int |
getShapeType()
Gets shape type of section. |
java.lang.String |
getTopAttach()
Gets the top attached section's handle. |
double |
getTopAttachX()
Gets X position of the top attached section |
double |
getTopAttachY()
Gets Y position of the top attached section. |
void |
setBottomAttach(java.lang.String bottomAttach)
Sets the bottom attached section handle. |
void |
setBottomAttachX(double bottomAttachX)
Sets X position of the bottom attached section. |
void |
setBottomAttachY(double bottomAttachY)
Sets Y position of the bottom attached section. |
void |
setTopAttach(java.lang.String topAttach)
Sets the top attached section's handle. |
void |
setTopAttachX(double topAttachX)
Sets X position of the top attached section. |
void |
setTopAttachY(double topAttachY)
Sets Y position of the top attached section Specifies the vertical coordinate of the top left point of the box in a banded panel. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Shape()
| Method Detail |
|---|
public void setTopAttach(java.lang.String topAttach)
topAttach - The handle of the top attached section.public java.lang.String getTopAttach()
public void setBottomAttach(java.lang.String bottomAttach)
bottomAttach - The handle of the bottom attached section.public java.lang.String getBottomAttach()
public void setTopAttachX(double topAttachX)
topAttachX - Value of X position.public double getTopAttachX()
#API.setUnit(int),
and the default unit is inch.public void setBottomAttachX(double bottomAttachX)
bottomAttachX - Value of X position. The unit of the value can be set by #API.setUnit(int),
and the default unit is inch.public double getBottomAttachX()
#API.setUnit(int),
and the default unit is inch.public void setTopAttachY(double topAttachY)
topAttachY - Value of Y position. The unit of the value can be set by #API.setUnit(int),
and the default unit is inch.public double getTopAttachY()
#API.setUnit(int),
and the default unit is inch.public void setBottomAttachY(double bottomAttachY)
bottomAttachY - Value of Y position. The unit of the value can be set by #API.setUnit(int),
and the default unit is inch.public double getBottomAttachY()
#API.setUnit(int),
and the default unit is inch.public int getShapeType()
Designer.ARC
Designer.BOX
Designer.LINE
Designer.OVAL
Designer.ROUNDBOX
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||