com.ebmwebsourcing.geasytools.geasysvg.ext.impl
Class LinearPath

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
                  extended by com.ebmwebsourcing.geasytools.geasysvg.ext.impl.LinearPath
All Implemented Interfaces:
IPath, ISVGElement, ILinearPath, 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 LinearPath
extends Path
implements ILinearPath


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
LinearPath(com.google.gwt.user.client.Element element, float x, float y)
           
LinearPath(com.google.gwt.user.client.Element element, java.util.LinkedHashSet<IPoint> points, float x, float y)
           
 
Method Summary
 void addPoint(IPoint point)
           
 void connectAllPoints()
           
 IPoint getEndPoint()
           
 java.util.LinkedHashSet<IPoint> getPoints()
           
 IPoint getStartPoint()
           
 boolean isSmoothCurve()
           
 void setSmoothCurve(boolean isSmooth)
           
 
Methods inherited from class com.ebmwebsourcing.geasytools.geasysvg.core.impl.Path
getHeight, getMarkerEnd, getMarkerMid, getMarkerStart, getPath, getWidth, setMarkerEnd, setMarkerMid, setMarkerStart, setPath, setX, setY
 
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.IPath
getMarkerEnd, getMarkerMid, getMarkerStart, getPath, setMarkerEnd, setMarkerMid, setMarkerStart, setPath
 
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, setX, setY, toBack, toFront, translate
 

Constructor Detail

LinearPath

public LinearPath(com.google.gwt.user.client.Element element,
                  float x,
                  float y)

LinearPath

public LinearPath(com.google.gwt.user.client.Element element,
                  java.util.LinkedHashSet<IPoint> points,
                  float x,
                  float y)
Method Detail

addPoint

public void addPoint(IPoint point)
Specified by:
addPoint in interface ILinearPath

connectAllPoints

public void connectAllPoints()
Specified by:
connectAllPoints in interface ILinearPath

getPoints

public java.util.LinkedHashSet<IPoint> getPoints()
Specified by:
getPoints in interface ILinearPath

isSmoothCurve

public boolean isSmoothCurve()
Specified by:
isSmoothCurve in interface ILinearPath

getEndPoint

public IPoint getEndPoint()
Specified by:
getEndPoint in interface ILinearPath

getStartPoint

public IPoint getStartPoint()
Specified by:
getStartPoint in interface ILinearPath

setSmoothCurve

public void setSmoothCurve(boolean isSmooth)
Specified by:
setSmoothCurve in interface ILinearPath


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