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

java.lang.Object
  extended bycom.yworks.yfiles.server.graphml.flexio.data.SimplePortStyle
All Implemented Interfaces:
IPortStyle, ISharedInstanceProvider

public class SimplePortStyle
extends java.lang.Object
implements IPortStyle, ISharedInstanceProvider

The default port style data object, which allows to specify the visual properties of a port.


Constructor Summary
SimplePortStyle()
           
SimplePortStyle(double radius, IStroke stroke)
           
 
Method Summary
 double getRadius()
          Returns the radius of the style.
 java.util.Collection getSharedInstances()
          Returns an Collection for objects that shall be shared.
 IStroke getStroke()
          Returns the stroke of the style.
 void setRadius(double radius)
          Sets the radius of the style.
 void setStroke(IStroke stroke)
          Sets the stroke of the style.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePortStyle

public SimplePortStyle()

SimplePortStyle

public SimplePortStyle(double radius,
                       IStroke stroke)
Method Detail

getRadius

public double getRadius()
Returns the radius of the style.


setRadius

public void setRadius(double radius)
Sets the radius of the style.


getStroke

public IStroke getStroke()
Returns the stroke of the style.


setStroke

public void setStroke(IStroke stroke)
Sets the stroke of the style.


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