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
Enclosing class:
RotatingEdgeLabelModel

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


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
 
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


Copyright © 2000-2007 yWorks GmbH. All rights reserved