|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnetcharts.pro.common.image.NFImageParams
netcharts.pro.common.image.NFZoomableImageParams
netcharts.pro.common.image.svg.NFSVGImageParams
public class NFSVGImageParams
Used to specify the parameters of the image generation when outputting SVG based images.
| Field Summary | |
|---|---|
static java.lang.String |
MIME_TYPE_SVG
image/svg+xml |
| Constructor Summary | |
|---|---|
NFSVGImageParams()
Constructs a default NFSVGImageParams instance. |
|
NFSVGImageParams(boolean embedFonts)
Constructs a NFSVGImageParams instance specifying whether to embed fonts in the rendered image. |
|
NFSVGImageParams(java.lang.String defaultHref)
Constructs a NFSVGImageParams instance specifying the default URL to use for user interactivity actions. |
|
| Method Summary | |
|---|---|
java.lang.String |
getEncoding()
Returns the encoding of the rendered image. |
boolean |
isDoctypeIncluded()
Returns if the DocType should be included in the rendered image. |
boolean |
isEmbeddedFontsEnabled()
Returns if fonts will be embedded in the rendered image. |
boolean |
isInternalZoomEnabled()
Returns if internal zoom will be enabled in the rendered image. |
boolean |
isPrettyPrintEnabled()
Returns if the SVG pretty printer utility will be enabled. |
boolean |
isXMLDeclarationIncluded()
Returns if the XML declaration should be included in the rendered image. |
void |
setDoctypeIncluded(boolean doctypeIncluded)
Sets if the DocType should be included in the rendered image. |
void |
setEmbeddedFontsEnabled(boolean embedFonts)
Sets if fonts should be embedded in the rendered image. |
void |
setEncoding(java.lang.String encoding)
Sets the encoding of the rendered image. |
void |
setInternalZoomEnabled(boolean useSVGZoom)
Sets if internal zoom should be enabled in the rendered image. |
void |
setPrettyPrintEnabled(boolean prettyPrint)
Sets if the SVG pretty printer utility should be enabled. |
void |
setXMLDeclarationIncluded(boolean xmlDeclarationIncluded)
Sets if the XML declaration should be included in the rendered image. |
| Methods inherited from class netcharts.pro.common.image.NFZoomableImageParams |
|---|
getZoomInHandler, getZoomOutHandler, isZoomOutButtonVisible, setZoomInHandler, setZoomOutButtonVisible, setZoomOutHandler |
| Methods inherited from class netcharts.pro.common.image.NFImageParams |
|---|
getAltTemplate, getDefaultHref, getDescription, getInternalParams, getMimeType, setAltTemplate, setDefaultHref, setDescription |
| 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 NFSVGImageParams()
public NFSVGImageParams(java.lang.String defaultHref)
defaultHref - The default URL of the graph image for user interactivity actions.public NFSVGImageParams(boolean embedFonts)
embedFonts - True to embed fonts in the rendered image, false otherwise.| Method Detail |
|---|
public boolean isEmbeddedFontsEnabled()
public void setEmbeddedFontsEnabled(boolean embedFonts)
embedFonts - True to embed fonts in the rendered image, false otherwise.public boolean isInternalZoomEnabled()
public void setInternalZoomEnabled(boolean useSVGZoom)
useSVGZoom - True to enable internal zoom in the rendered image, false otherwise.public boolean isPrettyPrintEnabled()
public void setPrettyPrintEnabled(boolean prettyPrint)
prettyPrint - True to enable the SVG pretty printer utility, false otherwise.public java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
encoding - The encoding of the rendered image.public boolean isXMLDeclarationIncluded()
public void setXMLDeclarationIncluded(boolean xmlDeclarationIncluded)
xmlDeclarationIncluded - True if the XML declaration should be included in the rendered image, false otherwise.public boolean isDoctypeIncluded()
public void setDoctypeIncluded(boolean doctypeIncluded)
doctypeIncluded - True if the DocType should be included in the rendered image, false otherwise.
|
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 |