|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GridMargins
An interface for informing a GridPrint what cell margins to use for the GridLook.
Method Summary | |
---|---|
int |
getBodyBottom(boolean footerPresent,
boolean open)
Returns the margin, in pixels, at the bottom of the body cells. |
int |
getBodyTop(boolean headerPresent,
boolean open)
Returns the margin, in pixels, at the top of the body cells. |
int |
getBodyVerticalSpacing()
Returns the vertical spacing, in pixels, between rows in the body. |
int |
getFooterBottom()
Returns the margin, in pixels, at the bottom of the footer cells. |
int |
getFooterVerticalSpacing()
Returns the vertical spacing, in pixels, between rows in the footer. |
int |
getHeaderTop()
Returns the margin, in pixels, at the top of the header cells. |
int |
getHeaderVerticalSpacing()
Returns the vertical spacing, in pixels, between rows in the header. |
int |
getHorizontalSpacing()
Returns the horizontal spacing, in pixels, between grid cells. |
int |
getLeft()
Returns the margin, in pixels, at the left side of the grid. |
int |
getRight()
Returns the margin, in pixels, at the right side of the grid. |
Method Detail |
---|
int getLeft()
int getHorizontalSpacing()
int getRight()
int getHeaderTop()
int getHeaderVerticalSpacing()
int getBodyTop(boolean headerPresent, boolean open)
headerPresent
- whether a header is present.open
- whether the top row of body cells are "open." That is, whether
the top row was started on a previous page and is continuing
on this page. A GridLook may choose to show a visual
indication for cells that were "opened" on previous pages.
int getBodyVerticalSpacing()
int getBodyBottom(boolean footerPresent, boolean open)
footerPresent
- whether a footer is present.open
- whether the bottom row of body cells are "open." That is,
whether the bottom row still has more content to display on
the next page. A GridLook may choose to show a visual
indication for cells that will be "continued" on the next
page.
int getFooterVerticalSpacing()
int getFooterBottom()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |