com.ebmwebsourcing.geasytools.geasysvg.core.impl.raphael
Class TextJSNI
java.lang.Object
com.ebmwebsourcing.geasytools.geasysvg.core.impl.raphael.SVGElementJSNI
com.ebmwebsourcing.geasytools.geasysvg.core.impl.raphael.TextJSNI
- All Implemented Interfaces:
- ISVGElement, IText
public class TextJSNI
- extends SVGElementJSNI
- implements IText
|
Method Summary |
protected com.google.gwt.user.client.Element |
createTextJS(com.google.gwt.core.client.JavaScriptObject raphaelPaper,
float x,
float y,
java.lang.String txt)
|
java.lang.String |
getFont()
Getters |
java.lang.String |
getFontFamily()
|
int |
getFontsize()
|
java.lang.String |
getText()
|
void |
setFont(java.lang.String font)
Setters |
void |
setFontFamily(java.lang.String fontFamily)
|
void |
setFontFamilyJS(com.google.gwt.core.client.JavaScriptObject svgElement,
java.lang.String fontFamily)
|
void |
setFontJS(com.google.gwt.core.client.JavaScriptObject svgElement,
java.lang.String font)
|
void |
setFontSize(int size)
|
void |
setFontSizeJS(com.google.gwt.core.client.JavaScriptObject svgElement,
int size)
|
void |
setText(java.lang.String text)
|
void |
setTextJS(com.google.gwt.core.client.JavaScriptObject svgElement,
java.lang.String text)
|
void |
setX(float x)
|
void |
setXJS(com.google.gwt.core.client.JavaScriptObject svgElement,
float x)
JSNI IMPL |
void |
setY(float y)
|
void |
setYJS(com.google.gwt.core.client.JavaScriptObject svgElement,
float y)
|
| Methods inherited from class com.ebmwebsourcing.geasytools.geasysvg.core.impl.raphael.SVGElementJSNI |
getCanvas, getContainer, getFillColour, getFillOpacity, getHeight, getId, getStrokeColour, getStrokeDashArray, getSvgElementJsObject, getWidth, getX, getY, isVisible, remove, rotate, rotate, scale, scale, setCanvas, setContainer, setFillColour, setFillOpacity, setHeight, setId, setStokeColour, setStrokeDashArray, setSvgElementJsObject, setVisible, setWidth, toBack, toFront, translate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ebmwebsourcing.geasytools.geasysvg.core.api.ISVGElement |
getCanvas, getContainer, getFillColour, getFillOpacity, getHeight, getId, getStrokeColour, getStrokeDashArray, getWidth, getX, getY, isVisible, remove, rotate, rotate, scale, scale, setCanvas, setContainer, setFillColour, setFillOpacity, setHeight, setId, setStokeColour, setStrokeDashArray, setVisible, setWidth, toBack, toFront, translate |
TextJSNI
public TextJSNI()
createTextJS
protected com.google.gwt.user.client.Element createTextJS(com.google.gwt.core.client.JavaScriptObject raphaelPaper,
float x,
float y,
java.lang.String txt)
getFont
public java.lang.String getFont()
- Getters
- Specified by:
getFont in interface IText
getFontFamily
public java.lang.String getFontFamily()
- Specified by:
getFontFamily in interface IText
getFontsize
public int getFontsize()
- Specified by:
getFontsize in interface IText
getText
public java.lang.String getText()
- Specified by:
getText in interface IText
setFont
public void setFont(java.lang.String font)
- Setters
- Specified by:
setFont in interface IText
setFontFamily
public void setFontFamily(java.lang.String fontFamily)
- Specified by:
setFontFamily in interface IText
setFontSize
public void setFontSize(int size)
- Specified by:
setFontSize in interface IText
setText
public void setText(java.lang.String text)
- Specified by:
setText in interface IText
setX
public void setX(float x)
- Specified by:
setX in interface ISVGElement- Overrides:
setX in class SVGElementJSNI
setY
public void setY(float y)
- Specified by:
setY in interface ISVGElement- Overrides:
setY in class SVGElementJSNI
setXJS
public void setXJS(com.google.gwt.core.client.JavaScriptObject svgElement,
float x)
- JSNI IMPL
setYJS
public void setYJS(com.google.gwt.core.client.JavaScriptObject svgElement,
float y)
setFontJS
public void setFontJS(com.google.gwt.core.client.JavaScriptObject svgElement,
java.lang.String font)
setFontFamilyJS
public void setFontFamilyJS(com.google.gwt.core.client.JavaScriptObject svgElement,
java.lang.String fontFamily)
setFontSizeJS
public void setFontSizeJS(com.google.gwt.core.client.JavaScriptObject svgElement,
int size)
setTextJS
public void setTextJS(com.google.gwt.core.client.JavaScriptObject svgElement,
java.lang.String text)
Copyright © 2010-2011 Petals Link. All Rights Reserved.