com.yworks.yfiles.server.graphml.flexio.data
Class AbstractEdgeStyle

java.lang.Object
  extended bycom.yworks.yfiles.server.graphml.flexio.data.AbstractEdgeStyle
All Implemented Interfaces:
IEdgeStyle, ISharedInstanceProvider
Direct Known Subclasses:
PolylineEdgeStyle

public class AbstractEdgeStyle
extends java.lang.Object
implements IEdgeStyle, ISharedInstanceProvider

Abstract base class for yFiles FLEX IEdgeStyle data objects.


Constructor Summary
AbstractEdgeStyle()
           
 
Method Summary
 java.util.Collection getSharedInstances()
          Returns an Collection for objects that shall be shared.
 IArrow getSourceArrow()
          Gets the visual arrow at the target end of edges that use this style.
 IArrow getTargetArrow()
          Gets the visual arrow at the target end of edges that use this style.
 void setSourceArrow(IArrow sourceArrow)
          Sets the visual arrow at the target end of edges that use this style.
 void setTargetArrow(IArrow targetArrow)
          Sets the visual arrow at the target end of edges that use this style.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEdgeStyle

public AbstractEdgeStyle()
Method Detail

getSourceArrow

public IArrow getSourceArrow()
Gets the visual arrow at the target end of edges that use this style.

Specified by:
getSourceArrow in interface IEdgeStyle

getTargetArrow

public IArrow getTargetArrow()
Gets the visual arrow at the target end of edges that use this style.

Specified by:
getTargetArrow in interface IEdgeStyle

setSourceArrow

public void setSourceArrow(IArrow sourceArrow)
Sets the visual arrow at the target end of edges that use this style.

Parameters:
sourceArrow -

setTargetArrow

public void setTargetArrow(IArrow targetArrow)
Sets the visual arrow at the target end of edges that use this style.

Parameters:
targetArrow -

getSharedInstances

public java.util.Collection getSharedInstances()
Description copied from interface: ISharedInstanceProvider
Returns an Collection for objects that shall be shared.

Specified by:
getSharedInstances in interface ISharedInstanceProvider
Returns:


Copyright © 2000-2013 yWorks GmbH. All rights reserved