com.ebmwebsourcing.gwt.raphael.client.core
Class Path

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.gwt.raphael.client.core.SVGElement
              extended by com.ebmwebsourcing.gwt.raphael.client.core.Path
All Implemented Interfaces:
com.google.gwt.event.dom.client.HasClickHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener
Direct Known Subclasses:
Line

public class Path
extends SVGElement


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.gwt.raphael.client.core.SVGElement
height, width, x, y
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
Path(java.lang.String id, java.lang.String pathString, int currentXPosition, int currentYPosition)
          TODO: Width and height in constructor
 
Method Summary
protected  com.google.gwt.core.client.JavaScriptObject addConcreteJavascriptElementToCanvas()
           
protected  void addJsElementToCanvas()
           
protected  com.google.gwt.core.client.JavaScriptObject addPathToCanvas(com.google.gwt.core.client.JavaScriptObject jsObj, java.lang.String pathString, int x, int y)
           
protected  void setJSHeight(com.google.gwt.core.client.JavaScriptObject jsObj, int x)
           
protected  void setJSWidth(com.google.gwt.core.client.JavaScriptObject jsObj, int x)
           
protected  void setJSX(com.google.gwt.core.client.JavaScriptObject jsObj, int dx)
           
protected  void setJSY(com.google.gwt.core.client.JavaScriptObject jsObj, int dy)
           
 void setX(int x)
           
 void setY(int y)
           
 
Methods inherited from class com.ebmwebsourcing.gwt.raphael.client.core.SVGElement
addClickHandler, animate, attr, attr, equals, getCanvas, getHeight, getId, getJsniImpl, getJsref, getWidth, getX, getY, hashCode, hide, isLoaded, remove, rotate, rotate, scale, scale, setCanvas, setHeight, setJsref, setWidth, show, toBack, toFront, translate
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addDomHandler, addHandler, 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, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

Path

public Path(java.lang.String id,
            java.lang.String pathString,
            int currentXPosition,
            int currentYPosition)
TODO: Width and height in constructor

Parameters:
id -
pathString -
currentXPosition -
currentYPosition -
Method Detail

addConcreteJavascriptElementToCanvas

protected com.google.gwt.core.client.JavaScriptObject addConcreteJavascriptElementToCanvas()
Specified by:
addConcreteJavascriptElementToCanvas in class SVGElement

addJsElementToCanvas

protected void addJsElementToCanvas()
Overrides:
addJsElementToCanvas in class SVGElement

setX

public void setX(int x)
Overrides:
setX in class SVGElement

setY

public void setY(int y)
Overrides:
setY in class SVGElement

setJSX

protected void setJSX(com.google.gwt.core.client.JavaScriptObject jsObj,
                      int dx)
Specified by:
setJSX in class SVGElement

setJSY

protected void setJSY(com.google.gwt.core.client.JavaScriptObject jsObj,
                      int dy)
Specified by:
setJSY in class SVGElement

addPathToCanvas

protected com.google.gwt.core.client.JavaScriptObject addPathToCanvas(com.google.gwt.core.client.JavaScriptObject jsObj,
                                                                      java.lang.String pathString,
                                                                      int x,
                                                                      int y)

setJSHeight

protected void setJSHeight(com.google.gwt.core.client.JavaScriptObject jsObj,
                           int x)
Specified by:
setJSHeight in class SVGElement

setJSWidth

protected void setJSWidth(com.google.gwt.core.client.JavaScriptObject jsObj,
                          int x)
Specified by:
setJSWidth in class SVGElement


Copyright © 2010 eBM WebSourcing. All Rights Reserved.