com.yworks.yfiles.server.graphml.flexio.data
Class RotatingEdgeLabelModel.ModelParameter

java.lang.Object
  extended bycom.yworks.yfiles.server.graphml.flexio.data.RotatingEdgeLabelModel.ModelParameter
All Implemented Interfaces:
java.lang.Cloneable, ILabelModelParameter, ISharedInstanceProvider
Enclosing class:
RotatingEdgeLabelModel

public static class RotatingEdgeLabelModel.ModelParameter
extends java.lang.Object
implements ILabelModelParameter, ISharedInstanceProvider


Constructor Summary
RotatingEdgeLabelModel.ModelParameter(RotatingEdgeLabelModel model, double ratio)
          Creates a new parameter instance.
 
Method Summary
 java.lang.Object clone()
           
 ILabelModel getModel()
          Gets the model that is associated with this parameter.
 double getRatio()
          The ratio where the label should be placed along the edge's path
 java.util.Collection getSharedInstances()
          Returns an Collection for objects that shall be shared.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RotatingEdgeLabelModel.ModelParameter

public RotatingEdgeLabelModel.ModelParameter(RotatingEdgeLabelModel model,
                                             double ratio)
Creates a new parameter instance.

Parameters:
model - The rotating edge label model
ratio - The ratio where the label should be placed along the edge's path
Method Detail

getRatio

public double getRatio()
The ratio where the label should be placed along the edge's path


getModel

public ILabelModel getModel()
Description copied from interface: ILabelModelParameter
Gets the model that is associated with this parameter.

Specified by:
getModel in interface ILabelModelParameter

clone

public java.lang.Object clone()
Specified by:
clone in interface ILabelModelParameter

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