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

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.Rectangle
All Implemented Interfaces:
IRectangle, 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 Rectangle
extends SVGElement
implements IRectangle


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
Rectangle(com.google.gwt.user.client.Element element, float x, float y, float width, float height)
           
Rectangle(com.google.gwt.user.client.Element element, float x, float y, float width, float height, double roundedCornerRadius)
           
 
Method Summary
 double getRoundedCornesRadius()
           
 void setRoundedCornersRadius(double 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, getHeight, getId, getImpl, getStrokeColour, getStrokeDashArray, getWidth, 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, 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
 

Constructor Detail

Rectangle

public Rectangle(com.google.gwt.user.client.Element element,
                 float x,
                 float y,
                 float width,
                 float height)

Rectangle

public Rectangle(com.google.gwt.user.client.Element element,
                 float x,
                 float y,
                 float width,
                 float height,
                 double roundedCornerRadius)
Method Detail

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

setRoundedCornersRadius

public void setRoundedCornersRadius(double radius)
Specified by:
setRoundedCornersRadius in interface IRectangle

getRoundedCornesRadius

public double getRoundedCornesRadius()
Specified by:
getRoundedCornesRadius in interface IRectangle


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