Class RenderParameters
java.lang.Object
com.levigo.jadice.web.client.tool.BasicRenderParameters
com.levigo.jadice.web.client.tool.RenderParameters
This is a parameter object class used for calls to
Tool.render(RenderParameters,boolean)
.
By using a parameter object instead of immediate method parameters, we can keep the API stable
while allowing future extensibility.-
Field Summary
Fields inherited from class com.levigo.jadice.web.client.tool.BasicRenderParameters
graphics, page, pageIndex, renderControls, renderedPageBounds
-
Constructor Summary
ConstructorsConstructorDescriptionRenderParameters
(PageView viewComponent, Page page, int pageIndex, Rectangle renderedPageBounds, com.levigo.jadice.web.client.util.internal.graphics.JadiceGraphics g, RenderControls renderControls) -
Method Summary
Modifier and TypeMethodDescriptionGet the view component triggering the render cycle.Methods inherited from class com.levigo.jadice.web.client.tool.BasicRenderParameters
getContext2D, getGraphics, getPage, getPageIndex, getRenderControls, getRenderedPageBounds, getRenderSize
-
Constructor Details
-
Method Details
-
getViewComponent
Get the view component triggering the render cycle.- Returns:
- the viewComponent
-