|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ebmwebsourcing.gwt.raphael.client.core.jsniimpl.SVGElementJSNIImpl
public class SVGElementJSNIImpl
| Constructor Summary | |
|---|---|
SVGElementJSNIImpl(SVGElement svgelement)
|
|
| Method Summary | |
|---|---|
void |
animate(com.google.gwt.core.client.JavaScriptObject newAttrs,
int ms)
Changes an attribute from its current value to its specified value in the given amount of milliseconds |
void |
animateWith(com.google.gwt.core.client.JavaScriptObject svgElement,
com.google.gwt.json.client.JSONObject newAttrs,
int ms)
The same as animate method, but synchronise animation with another element. |
java.lang.String |
attr(java.lang.String attributeName)
|
void |
attr(java.lang.String attributeName,
java.lang.String value)
|
double |
getHeight()
Returns elements with based on BBox.height |
com.google.gwt.core.client.JavaScriptObject |
getJsRef()
|
double |
getWidth()
Returns elements with based on BBox.width |
void |
hide()
Make element invisible. |
void |
insertAfter(com.google.gwt.core.client.JavaScriptObject jsElement)
Inserts current object after the given one. |
void |
insertBefore(com.google.gwt.core.client.JavaScriptObject jsElement)
Inserts current object before the given one. |
com.google.gwt.user.client.Element |
node()
|
void |
remove()
Removes element from the DOM. |
void |
rotate(int degree,
boolean isAbsolute)
Rotates the element by the given degree from its center point. |
void |
rotate(int degree,
int cx,
int cy)
Rotates the element by the given degree from its center point. |
void |
scale(double Xtimes,
double Ytimes)
Resizes the element by the given multiplier. |
void |
scale(double Xtimes,
double Ytimes,
double centerX,
double centerY)
Resizes the element by the given multiplier. |
void |
show()
Makes element visible. |
void |
toBack()
|
void |
toFront()
|
void |
translate(int dx,
int 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 SVGElementJSNIImpl(SVGElement svgelement)
| Method Detail |
|---|
public com.google.gwt.core.client.JavaScriptObject getJsRef()
public void attr(java.lang.String attributeName,
java.lang.String value)
attr in interface SVGElementInterfacepublic java.lang.String attr(java.lang.String attributeName)
attr in interface SVGElementInterfacepublic void hide()
SVGElementInterface
hide in interface SVGElementInterfacepublic void remove()
SVGElementInterface
remove in interface SVGElementInterface
public void rotate(int degree,
boolean isAbsolute)
SVGElementInterface
rotate in interface SVGElementInterface
public void rotate(int degree,
int cx,
int cy)
SVGElementInterface
rotate in interface SVGElementInterfacepublic void show()
SVGElementInterface
show in interface SVGElementInterface
public void translate(int dx,
int dy)
SVGElementInterface
translate in interface SVGElementInterfacepublic double getHeight()
SVGElementInterface
getHeight in interface SVGElementInterfacepublic double getWidth()
SVGElementInterface
getWidth in interface SVGElementInterface
public void animate(com.google.gwt.core.client.JavaScriptObject newAttrs,
int ms)
SVGElementInterface
animate in interface SVGElementInterface
public void animateWith(com.google.gwt.core.client.JavaScriptObject svgElement,
com.google.gwt.json.client.JSONObject newAttrs,
int ms)
SVGElementInterface
animateWith in interface SVGElementInterfacepublic void insertAfter(com.google.gwt.core.client.JavaScriptObject jsElement)
SVGElementInterface
insertAfter in interface SVGElementInterfacepublic void insertBefore(com.google.gwt.core.client.JavaScriptObject jsElement)
SVGElementInterface
insertBefore in interface SVGElementInterface
public void scale(double Xtimes,
double Ytimes)
SVGElementInterface
scale in interface SVGElementInterface
public void scale(double Xtimes,
double Ytimes,
double centerX,
double centerY)
SVGElementInterface
scale in interface SVGElementInterfacepublic void toBack()
toBack in interface SVGElementInterfacepublic void toFront()
toFront in interface SVGElementInterfacepublic com.google.gwt.user.client.Element node()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||