|
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.PageElement com.cete.dynamicpdf.pageelements.LayoutGrid
public class LayoutGrid
This class can be used to place a grid on the entire page. This grid is very helpful with the design and layout of the document.
Licensing:
This class is a DynamicPDF Generator Community Edition feature.
Constructor Summary | |
---|---|
LayoutGrid()
Creates a new instance of LayoutGrid . |
|
LayoutGrid(boolean showTitle)
Creates a new instance of LayoutGrid . |
|
LayoutGrid(GridType type)
Creates a new instance of LayoutGrid . |
|
LayoutGrid(GridType type,
boolean showTitle)
Creates a new instance of LayoutGrid . |
Method Summary | |
---|---|
void |
draw(PageWriter writer)
Draws the layout grid to the given PageWriter object. |
boolean |
getTitle()
Gets the option to display the title on LayoutGrid. |
GridType |
getType()
Gets the style of grid. |
void |
setTitle(boolean showTitle)
Sets the option to display the title on LayoutGrid. |
void |
setType(GridType value)
Sets the style of grid. |
Methods inherited from class com.cete.dynamicpdf.PageElement |
---|
getRequiredLicenseLevel, getStrID, setRequiredLicenseLevel, setStrID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutGrid()
LayoutGrid
.
LayoutGrid
public LayoutGrid(boolean showTitle)
LayoutGrid
.
showTitle
- This value specifies whether or not to display
the grid's title information.LayoutGrid
public LayoutGrid(GridType type)
LayoutGrid
.
type
- Type of grid to display.LayoutGrid
public LayoutGrid(GridType type, boolean showTitle)
LayoutGrid
.
type
- Type of grid to display.showTitle
- This value specifies whether or not to display the
grid's title information.Method Detail |
---|
public GridType getType()
public void setType(GridType value)
value
- the style of grid.public void setTitle(boolean showTitle)
showTitle
- the option to display the title on LayoutGrid.public boolean getTitle()
public void draw(PageWriter writer)
PageWriter
object.
draw
in class PageElement
writer
- PageWriter
object to receive the layout grid's output.PageWriter
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |