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

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

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

Model parameter for the interior label model


Constructor Summary
InteriorLabelModel.ModelParameter(InteriorLabelModel model, java.lang.String position)
           
 
Method Summary
 java.lang.Object clone()
           
 ILabelModel getModel()
          Gets the model that is associated with this parameter.
 java.lang.String getPosition()
          The label position, specified as one of the position constants defined by class InteriorLabelModel.
 java.util.Collection getSharedInstances()
          Returns an Collection for objects that shall be shared.
 void setPosition(java.lang.String position)
          The label position, specified as one of the position constants defined by class InteriorLabelModel.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteriorLabelModel.ModelParameter

public InteriorLabelModel.ModelParameter(InteriorLabelModel model,
                                         java.lang.String position)
Method Detail

getPosition

public java.lang.String getPosition()
The label position, specified as one of the position constants defined by class InteriorLabelModel.


setPosition

public void setPosition(java.lang.String position)
The label position, specified as one of the position constants defined by class InteriorLabelModel.


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