|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnetcharts.pro.common.page.NFPageParams
netcharts.pro.common.page.svg.NFSVGPageParams
public class NFSVGPageParams
The implementation of NFPageParams to use when generating pages suitable for displaying generated SVG images. Instances of NFSVGPageParams are passed as a parameter when rendering NetCharts Pro chart instances as SVG based graphics. The NFSVGPageParams instance will define parameters of the output such as if and how SVGWeb should be run, the Java Servlet used to display the image to the browser, etc.
| Field Summary | |
|---|---|
static java.lang.String |
MIME_TYPE_SVG
image/svg+xml |
| Constructor Summary | |
|---|---|
NFSVGPageParams()
Constructs a default NFSVGPageParams instance. |
|
NFSVGPageParams(boolean fullPage)
Constructs a NFSVGPageParams instance specifying if the generated page should return all of the required user interactivity code. |
|
NFSVGPageParams(boolean svgWebIncluded,
boolean svgWebForced)
Constructs a NFSVGPageParams instance specifying if SVGWeb should be included in the output, and if SVGWeb should be forced to render all SVG images on the page itself. |
|
NFSVGPageParams(boolean fullPage,
boolean svgWebIncluded,
boolean svgWebForced)
Constructs a NFSVGPageParams instance specifying if the generated page should return all of the required user interactivity code, if SVGWeb should be included in the output, and if SVGWeb should be forced to render all SVG images on the page itself. |
|
NFSVGPageParams(java.lang.String servletName)
Constructs a NFSVGPageParams instance specifying the Java Servlet used to return the generated chart image. |
|
NFSVGPageParams(java.lang.String servletName,
boolean fullPage)
Constructs a NFSVGPageParams instance specifying the Java Servlet used to return the generated chart image and if the generated page should return all of the required user interactivity code. |
|
NFSVGPageParams(java.lang.String servletName,
boolean fullPage,
boolean svgWebIncluded)
Constructs a NFSVGPageParams instance specifying the Java Servlet used to return the generated chart image, if the generated page should return all of the required user interactivity code, and if SVGWeb should be included in the output. |
|
NFSVGPageParams(java.lang.String servletName,
boolean fullPage,
boolean svgWebIncluded,
boolean svgWebForced)
Constructs a NFSVGPageParams instance specifying the Java Servlet used to return the generated chart image, if the generated page should return all of the required user interactivity code, if SVGWeb should be included in the output, and if SVGWeb should be forced to render all SVG images on the page itself. |
|
| Method Summary | |
|---|---|
boolean |
isSVGWebForced()
Sets if SVGWeb should be forced to render all SVG images on the page itself, bypassing any available native renderers. |
boolean |
isSVGWebIncluded()
Returns if SVGWeb should be included in the page. |
void |
setSVGWebForced(boolean svgWebForced)
Sets if SVGWeb should be forced to render all SVG images on the page itself, bypassing any available native renderers. |
void |
setSVGWebIncluded(boolean svgWebIncluded)
Sets if SVGWeb should be included in the page. |
| Methods inherited from class netcharts.pro.common.page.NFPageParams |
|---|
getImageParams, getMimeType, getServletName, isAccessible, isFullPage, setAccessible, setFullPage, setImageParams, setServletName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MIME_TYPE_SVG
| Constructor Detail |
|---|
public NFSVGPageParams()
public NFSVGPageParams(java.lang.String servletName)
servletName - The Java Servlet that will present the generated chart image to the browser.
public NFSVGPageParams(java.lang.String servletName,
boolean fullPage)
servletName - The Java Servlet that will present the generated chart image to the browser.fullPage - Whether the generated page should include the required user interactivity code.
If other page content will be generated and added to the same response, use the getScript(NFPageParams) method
of NFPageOutput to include the user interactivity code in a single location in the response.public NFSVGPageParams(boolean fullPage)
fullPage - Whether the generated page should include the required user interactivity code.
If other page content will be generated and added to the same response, use the getScript(NFPageParams) method
of NFPageOutput to include the user interactivity code in a single location in the response.
public NFSVGPageParams(java.lang.String servletName,
boolean fullPage,
boolean svgWebIncluded)
servletName - The Java Servlet that will present the generated chart image to the browser.fullPage - Whether the generated page should include the required user interactivity code.
If other page content will be generated and added to the same response, use the getScript(NFPageParams) method
of NFPageOutput to include the user interactivity code in a single location in the response.svgWebIncluded - Whether SVGWeb should be included in the page.
public NFSVGPageParams(java.lang.String servletName,
boolean fullPage,
boolean svgWebIncluded,
boolean svgWebForced)
servletName - The Java Servlet that will present the generated chart image to the browser.fullPage - Whether the generated page should include the required user interactivity code.
If other page content will be generated and added to the same response, use the getScript(NFPageParams) method
of NFPageOutput to include the user interactivity code in a single location in the response.svgWebIncluded - Whether SVGWeb should be included in the page.svgWebForced - Whether SVGWeb should be forced to render all SVG images on the page itself.
public NFSVGPageParams(boolean svgWebIncluded,
boolean svgWebForced)
svgWebIncluded - Whether SVGWeb should be included in the page.svgWebForced - Whether SVGWeb should be forced to render all SVG images on the page itself.
public NFSVGPageParams(boolean fullPage,
boolean svgWebIncluded,
boolean svgWebForced)
fullPage - Whether the generated page should include the required user interactivity code.
If other page content will be generated and added to the same response, use the getScript(NFPageParams) method
of NFPageOutput to include the user interactivity code in a single location in the response.svgWebIncluded - Whether SVGWeb should be included in the page.svgWebForced - Whether SVGWeb should be forced to render all SVG images on the page itself.| Method Detail |
|---|
public boolean isSVGWebIncluded()
public void setSVGWebIncluded(boolean svgWebIncluded)
svgWebIncluded - If SVGWeb should be included in the page.public boolean isSVGWebForced()
public void setSVGWebForced(boolean svgWebForced)
svgWebForced - If SVGWeb should be forced to render all SVG images on the page itself.
|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2018 |
Last Modified: Jan 7, 2018 |