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

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.Circle
All Implemented Interfaces:
ICircle, ISVGElement, 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 Circle
extends SVGElement
implements ICircle


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
Circle(com.google.gwt.user.client.Element element, float x, float y, float radius)
           
 
Method Summary
 float getHeight()
          Returns elements with based on BBox.height
 float getRadius()
           
 float getWidth()
          Returns elements with based on BBox.width
 void setRadius(float radius)
           
 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

Circle

public Circle(com.google.gwt.user.client.Element element,
              float x,
              float y,
              float radius)
Method Detail

getRadius

public float getRadius()
Specified by:
getRadius in interface ICircle

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

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

setRadius

public void setRadius(float radius)
Specified by:
setRadius in interface ICircle


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