com.ebmwebsourcing.geasytools.geasysvg.core.impl
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.geasytools.geasysvg.core.impl.SVGElement
              extended by com.ebmwebsourcing.geasytools.geasysvg.core.impl.Path
All Implemented Interfaces:
IPath, 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
Direct Known Subclasses:
LinearPath

public class Path
extends SVGElement
implements IPath


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
Path(com.google.gwt.user.client.Element element, java.lang.String path, float x, float y)
           
 
Method Summary
 float getHeight()
          Returns elements with based on BBox.height
 IMarker getMarkerEnd()
           
 IMarker getMarkerMid()
           
 IMarker getMarkerStart()
           
 java.lang.String getPath()
           
 float getWidth()
          Returns elements with based on BBox.width
 void setMarkerEnd(IMarker marker)
           
 void setMarkerMid(IMarker marker)
           
 void setMarkerStart(IMarker marker)
           
 void setPath(java.lang.String path)
           
 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

Path

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

getPath

public java.lang.String getPath()
Specified by:
getPath in interface IPath

getMarkerEnd

public IMarker getMarkerEnd()
Specified by:
getMarkerEnd in interface IPath

getMarkerMid

public IMarker getMarkerMid()
Specified by:
getMarkerMid in interface IPath

getMarkerStart

public IMarker getMarkerStart()
Specified by:
getMarkerStart in interface IPath

setMarkerEnd

public void setMarkerEnd(IMarker marker)
Specified by:
setMarkerEnd in interface IPath

setMarkerMid

public void setMarkerMid(IMarker marker)
Specified by:
setMarkerMid in interface IPath

setMarkerStart

public void setMarkerStart(IMarker marker)
Specified by:
setMarkerStart in interface IPath

setPath

public void setPath(java.lang.String path)
Specified by:
setPath in interface IPath

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


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