|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.yworks.yfiles.server.svg.SVGRenderContext
Instances of this class contain information required to generate the SVG image.
Constructor Summary | |
SVGRenderContext(javax.servlet.http.HttpServletRequest request,
Graph2DView view)
Creates a new instance of this class. |
Method Summary | |
int |
getBorder()
Returns the value of the "border" parameter from the HTTP request or the SVGServlet.DEFAULT_SVG_BORDER if no or an illegal value is specified. |
String |
getIdPrefix()
Returns the prefix parameter from the HTTP request. |
double |
getPaintDetailThreshold()
|
javax.servlet.http.HttpServletRequest |
getRequest()
Returns the HTTP request. |
Graph2DView |
getView()
Returns the Graph2DView . |
double |
getZoom()
Returns the zoom from the HTTP request or 1.0 if the zoom parameter
is not specified in the request or has an illegal format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SVGRenderContext(javax.servlet.http.HttpServletRequest request, Graph2DView view)
request
- The HTTP requestview
- The view
IllegalArgumentException
- if any one of the provided parameters is null.Method Detail |
public String getIdPrefix()
public Graph2DView getView()
Graph2DView
.
IllegalStateException
- if the view is null.public javax.servlet.http.HttpServletRequest getRequest()
public double getZoom()
1.0
if the zoom parameter
is not specified in the request or has an illegal format.
public int getBorder()
SVGServlet.DEFAULT_SVG_BORDER
if no or an illegal value is specified.
public double getPaintDetailThreshold()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |