|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.cete.dynamicpdf.AreaDimensions
Represents the dimensions of an area.
| Field Summary | |
Dimensions |
body
Represents the dimensions of the areas body. |
Dimensions |
edge
Represents the dimensions of the areas edge. |
| Constructor Summary | |
|
AreaDimensions(AreaDimensions areaDimensions,
float x,
float y,
float width,
float height)
Creates a new instance of AreaDimensions. |
|
AreaDimensions(Dimensions edge)
Creates a new instance of AreaDimensions. |
protected |
AreaDimensions(Dimensions edge,
Dimensions body)
Creates a new instance of AreaDimensions. |
|
AreaDimensions(float left,
float top,
float right,
float bottom)
Creates a new instance of AreaDimensions. |
| Method Summary | |
float |
getBottomMargin()
Gets the bottom margin of the page dimensions. |
float |
getHeight()
Gets the height of the page dimensions. |
float |
getLeftMargin()
Gets the left margin of the page dimensions. |
float |
getPdfX(float x)
Returns the translated X coordinate. |
float |
getPdfY(float y)
Gets the translated Y coordinate. |
float |
getRightMargin()
Gets the right margin of the page dimensions. |
float |
getTopMargin()
Gets the top margin of the page dimensions. |
float |
getWidth()
Gets the width of the page dimensions. |
void |
setBottomMargin(float value)
Sets the bottom margin of the page dimensions. |
void |
setHeight(float value)
Sets the height of the page dimensions. |
void |
setLeftMargin(float value)
Sets the left margin of the page dimensions. |
void |
setRightMargin(float value)
Sets the right margin of the page dimensions. |
void |
setTopMargin(float value)
Sets the top margin of the page dimensions. |
void |
setWidth(float value)
Sets the width of the page dimensions. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public Dimensions edge
public Dimensions body
| Constructor Detail |
public AreaDimensions(float left,
float top,
float right,
float bottom)
AreaDimensions.
left - Left edge of the area.top - Top edge of the area.right - Right edge of the area.bottom - Bottom edge of the area.public AreaDimensions(Dimensions edge)
AreaDimensions.
edge - Edge dimensions of the area.
protected AreaDimensions(Dimensions edge,
Dimensions body)
AreaDimensions.
edge - Edge dimensions of the area.body - Body dimensions of the area.
public AreaDimensions(AreaDimensions areaDimensions,
float x,
float y,
float width,
float height)
AreaDimensions.
areaDimensions - Parent area dimentions.x - X coordinate for area.y - Y coordinate for area.width - Width of area.height - Height of area.| Method Detail |
public float getWidth()
public void setWidth(float value)
public float getHeight()
public void setHeight(float value)
public float getLeftMargin()
public void setLeftMargin(float value)
public float getTopMargin()
public void setTopMargin(float value)
public float getRightMargin()
public void setRightMargin(float value)
public float getBottomMargin()
public void setBottomMargin(float value)
public float getPdfY(float y)
y - Y coordinate to translate.
public float getPdfX(float x)
x - X coordinate to translate.
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||