com.ebmwebsourcing.geasytools.geasysvg.core.impl.raphael
Class SVGDocumentJSNI
java.lang.Object
com.ebmwebsourcing.geasytools.geasysvg.core.impl.raphael.SVGDocumentJSNI
- All Implemented Interfaces:
- IContainer, ISVGDocument, ISVGDocumentExt
public class SVGDocumentJSNI
- extends java.lang.Object
- implements ISVGDocumentExt
|
Method Summary |
void |
appendChild(ISVGElement svgElement)
|
void |
appendChildJS(com.google.gwt.core.client.JavaScriptObject doc,
com.google.gwt.core.client.JavaScriptObject child)
|
com.google.gwt.user.client.Element |
createCanvas(com.google.gwt.user.client.Element element,
int width,
int height)
|
ICircle |
createCircle(float cx,
float cy,
float radius)
|
IGroup |
createGroup()
|
IGroup |
createGroup(float x,
float y)
|
ILinearPath |
createLinearPath(float x,
float y)
|
IMarker |
createMarker(java.lang.String id)
|
IPath |
createPath(java.lang.String path,
float x,
float y)
|
IRectangle |
createRectangle(float rx,
float ry,
float width,
float height)
|
IRectangle |
createRectangle(float rx,
float ry,
float width,
float height,
double cornersRadius)
|
IText |
createText(float x,
float y,
java.lang.String text)
|
int |
getAbsoluteLeft()
|
int |
getAbsoluteTop()
|
java.util.HashSet<ISVGElement> |
getChildren()
Getters |
java.lang.String |
getDesc()
|
ISVGElement |
getElementById(java.lang.String id)
|
float |
getHeight()
|
java.lang.String |
getTitle()
|
float |
getWidth()
|
void |
removeChild(ISVGElement svgElement)
Setters |
void |
setDesc(java.lang.String desc)
|
void |
setDescJS(java.lang.String desc)
JSNI IMPL |
void |
setHeight(float height)
|
void |
setHeightJS(com.google.gwt.core.client.JavaScriptObject doc,
float height,
float width)
|
void |
setTitle(java.lang.String title)
|
void |
setTitleJS(java.lang.String title)
|
void |
setWidth(float width)
|
void |
setWidthJS(com.google.gwt.core.client.JavaScriptObject doc,
float width,
float height)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVGDocumentJSNI
public SVGDocumentJSNI()
createCanvas
public com.google.gwt.user.client.Element createCanvas(com.google.gwt.user.client.Element element,
int width,
int height)
createCircle
public ICircle createCircle(float cx,
float cy,
float radius)
- Specified by:
createCircle in interface ISVGDocument
createGroup
public IGroup createGroup()
- Specified by:
createGroup in interface ISVGDocument
createGroup
public IGroup createGroup(float x,
float y)
- Specified by:
createGroup in interface ISVGDocument
createMarker
public IMarker createMarker(java.lang.String id)
- Specified by:
createMarker in interface ISVGDocument
createPath
public IPath createPath(java.lang.String path,
float x,
float y)
- Specified by:
createPath in interface ISVGDocument
createLinearPath
public ILinearPath createLinearPath(float x,
float y)
- Specified by:
createLinearPath in interface ISVGDocumentExt
createRectangle
public IRectangle createRectangle(float rx,
float ry,
float width,
float height)
- Specified by:
createRectangle in interface ISVGDocument
createRectangle
public IRectangle createRectangle(float rx,
float ry,
float width,
float height,
double cornersRadius)
- Specified by:
createRectangle in interface ISVGDocument
createText
public IText createText(float x,
float y,
java.lang.String text)
- Specified by:
createText in interface ISVGDocument
getChildren
public java.util.HashSet<ISVGElement> getChildren()
- Getters
- Specified by:
getChildren in interface IContainer
getDesc
public java.lang.String getDesc()
- Specified by:
getDesc in interface ISVGDocument
getElementById
public ISVGElement getElementById(java.lang.String id)
- Specified by:
getElementById in interface IContainer
getHeight
public float getHeight()
- Specified by:
getHeight in interface ISVGDocument
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle in interface ISVGDocument
getWidth
public float getWidth()
- Specified by:
getWidth in interface ISVGDocument
removeChild
public void removeChild(ISVGElement svgElement)
- Setters
- Specified by:
removeChild in interface IContainer
setDesc
public void setDesc(java.lang.String desc)
- Specified by:
setDesc in interface ISVGDocument
setHeight
public void setHeight(float height)
- Specified by:
setHeight in interface ISVGDocument
setTitle
public void setTitle(java.lang.String title)
- Specified by:
setTitle in interface ISVGDocument
setWidth
public void setWidth(float width)
- Specified by:
setWidth in interface ISVGDocument
appendChild
public void appendChild(ISVGElement svgElement)
- Specified by:
appendChild in interface IContainer
setDescJS
public void setDescJS(java.lang.String desc)
- JSNI IMPL
setHeightJS
public void setHeightJS(com.google.gwt.core.client.JavaScriptObject doc,
float height,
float width)
setTitleJS
public void setTitleJS(java.lang.String title)
setWidthJS
public void setWidthJS(com.google.gwt.core.client.JavaScriptObject doc,
float width,
float height)
appendChildJS
public void appendChildJS(com.google.gwt.core.client.JavaScriptObject doc,
com.google.gwt.core.client.JavaScriptObject child)
getAbsoluteLeft
public int getAbsoluteLeft()
- Specified by:
getAbsoluteLeft in interface IContainer
getAbsoluteTop
public int getAbsoluteTop()
- Specified by:
getAbsoluteTop in interface IContainer
Copyright © 2010-2011 Petals Link. All Rights Reserved.