com.ebmwebsourcing.geasytools.geasysvg.core.impl
Class Text

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.ebmwebsourcing.geasytools.geasysvg.core.impl.SVGElement
              extended by com.ebmwebsourcing.geasytools.geasysvg.core.impl.Text
All Implemented Interfaces:
ISVGElement, IText, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget

public class Text
extends SVGElement
implements IText


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.ebmwebsourcing.geasytools.geasysvg.core.impl.SVGElement
id, impl, x, y
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
Text(com.google.gwt.user.client.Element element, java.lang.String text, float x, float y)
           
 
Method Summary
 java.lang.String getFont()
           
 java.lang.String getFontFamily()
           
 int getFontsize()
           
 float getHeight()
          Returns elements with based on BBox.height
 java.lang.String getText()
           
 float getWidth()
          Returns elements with based on BBox.width
 void setFont(java.lang.String font)
           
 void setFontFamily(java.lang.String fontFamily)
           
 void setFontSize(int size)
           
 void setText(java.lang.String text)
           
 void setX(float x)
           
 void setY(float y)
           
 
Methods inherited from class com.ebmwebsourcing.geasytools.geasysvg.core.impl.SVGElement
getAbsoluteLeft, getAbsoluteTop, getCanvas, getContainer, getFillColour, getFillOpacity, getId, getImpl, getStrokeColour, getStrokeDashArray, getX, getY, isVisible, remove, rotate, rotate, scale, scale, setCanvas, setContainer, setFillColour, setFillOpacity, setHeight, setId, setImpl, setStokeColour, setStrokeDashArray, setVisible, setWidth, toBack, toFront, translate
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasysvg.core.api.ISVGElement
getCanvas, getContainer, getFillColour, getFillOpacity, getId, getStrokeColour, getStrokeDashArray, getX, getY, isVisible, remove, rotate, rotate, scale, scale, setCanvas, setContainer, setFillColour, setFillOpacity, setHeight, setId, setStokeColour, setStrokeDashArray, setVisible, setWidth, toBack, toFront, translate
 

Constructor Detail

Text

public Text(com.google.gwt.user.client.Element element,
            java.lang.String text,
            float x,
            float y)
Method Detail

getFont

public java.lang.String getFont()
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)
Specified by:
setFont in interface IText

getWidth

public float getWidth()
Description copied from interface: ISVGElement
Returns elements with based on BBox.width

Specified by:
getWidth in interface ISVGElement
Overrides:
getWidth in class SVGElement
Returns:
float Element Width

getHeight

public float getHeight()
Description copied from interface: ISVGElement
Returns elements with based on BBox.height

Specified by:
getHeight in interface ISVGElement
Overrides:
getHeight in class SVGElement
Returns:
float Element Height

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 SVGElement

setY

public void setY(float y)
Specified by:
setY in interface ISVGElement
Overrides:
setY in class SVGElement


Copyright © 2010-2011 Petals Link. All Rights Reserved.