|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ebmwebsourcing.geasytools.geasysvg.core.impl.raphael.SVGElementJSNI
public class SVGElementJSNI
Getters should only return data stored by respective implementation
| Constructor Summary | |
|---|---|
SVGElementJSNI()
|
|
| Method Summary | |
|---|---|
ISVGDocument |
getCanvas()
|
IContainer |
getContainer()
|
java.lang.String |
getFillColour()
|
float |
getFillOpacity()
|
float |
getHeight()
Returns elements with based on BBox.height |
java.lang.String |
getId()
|
java.lang.String |
getStrokeColour()
|
java.lang.String |
getStrokeDashArray()
|
protected com.google.gwt.core.client.JavaScriptObject |
getSvgElementJsObject()
|
float |
getWidth()
Returns elements with based on BBox.width |
float |
getX()
|
float |
getY()
|
boolean |
isVisible()
|
void |
remove()
|
void |
rotate(float degree,
boolean isAbsolute)
Rotates the element by the given degree from its center point. |
void |
rotate(float degree,
int cx,
int cy)
Rotates the element by the given degree from its center point. |
void |
scale(float xTimes,
float yTimes)
Resizes the element by the given multiplier. |
void |
scale(float xTimes,
float yTimes,
float centerX,
float centerY)
Resizes the element by the given multiplier. |
void |
setCanvas(ISVGDocument canvas)
|
void |
setContainer(IContainer container)
|
void |
setFillColour(java.lang.String colour)
|
void |
setFillOpacity(float fillOpacity)
|
void |
setHeight(float height)
|
void |
setId(java.lang.String id)
|
void |
setStokeColour(java.lang.String colour)
|
void |
setStrokeDashArray(java.lang.String strokeDash)
|
protected void |
setSvgElementJsObject(com.google.gwt.core.client.JavaScriptObject svgElementJsObject)
|
void |
setVisible(boolean visible)
|
void |
setWidth(float width)
|
void |
setX(float x)
|
void |
setY(float y)
|
void |
toBack()
|
void |
toFront()
|
void |
translate(float dx,
float dy)
Moves the element around the canvas by the given distances. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SVGElementJSNI()
| Method Detail |
|---|
protected com.google.gwt.core.client.JavaScriptObject getSvgElementJsObject()
protected void setSvgElementJsObject(com.google.gwt.core.client.JavaScriptObject svgElementJsObject)
public ISVGDocument getCanvas()
getCanvas in interface ISVGElementpublic java.lang.String getFillColour()
getFillColour in interface ISVGElementpublic float getFillOpacity()
getFillOpacity in interface ISVGElementpublic float getHeight()
ISVGElement
getHeight in interface ISVGElementpublic java.lang.String getId()
getId in interface ISVGElementpublic java.lang.String getStrokeColour()
getStrokeColour in interface ISVGElementpublic java.lang.String getStrokeDashArray()
getStrokeDashArray in interface ISVGElementpublic float getWidth()
ISVGElement
getWidth in interface ISVGElementpublic float getX()
getX in interface ISVGElementpublic float getY()
getY in interface ISVGElementpublic IContainer getContainer()
getContainer in interface ISVGElementpublic boolean isVisible()
isVisible in interface ISVGElementpublic void remove()
remove in interface ISVGElement
public void rotate(float degree,
boolean isAbsolute)
ISVGElement
rotate in interface ISVGElement
public void rotate(float degree,
int cx,
int cy)
ISVGElement
rotate in interface ISVGElement
public void scale(float xTimes,
float yTimes)
ISVGElement
scale in interface ISVGElement
public void scale(float xTimes,
float yTimes,
float centerX,
float centerY)
ISVGElement
scale in interface ISVGElementpublic void setCanvas(ISVGDocument canvas)
setCanvas in interface ISVGElementpublic void setFillColour(java.lang.String colour)
setFillColour in interface ISVGElementpublic void setFillOpacity(float fillOpacity)
setFillOpacity in interface ISVGElementpublic void setId(java.lang.String id)
setId in interface ISVGElementpublic void setStokeColour(java.lang.String colour)
setStokeColour in interface ISVGElementpublic void setStrokeDashArray(java.lang.String strokeDash)
setStrokeDashArray in interface ISVGElementpublic void setVisible(boolean visible)
setVisible in interface ISVGElementpublic void setX(float x)
setX in interface ISVGElementpublic void setY(float y)
setY in interface ISVGElementpublic void toBack()
toBack in interface ISVGElementpublic void toFront()
toFront in interface ISVGElement
public void translate(float dx,
float dy)
ISVGElement
translate in interface ISVGElementpublic void setHeight(float height)
setHeight in interface ISVGElementpublic void setWidth(float width)
setWidth in interface ISVGElementpublic void setContainer(IContainer container)
setContainer in interface ISVGElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||