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

java.lang.Object
  extended bycom.yworks.yfiles.server.graphml.flexio.data.StripeLabelModelParameter
All Implemented Interfaces:
java.lang.Cloneable, ILabelModelParameter, IMarkupExtensionFactory

public class StripeLabelModelParameter
extends java.lang.Object
implements ILabelModelParameter, IMarkupExtensionFactory

A label model parameter for Columns and Rows.


Constructor Summary
StripeLabelModelParameter()
          Creates a new instance.
StripeLabelModelParameter(java.lang.String position)
          Creates a new instance.
 
Method Summary
 java.lang.Object clone()
           
 MarkupExtension createMarkupExtension(Lookup lookup)
          Creates a markup extension that can be used instead of the original class.
 ILabelModel getModel()
          The model for this parameter.
 java.lang.String getPosition()
          A String which encodes this position
 void setModel(ILabelModel model)
          Sets the model for this parameter.
 void setPosition(java.lang.String position)
          A String which encodes this position
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StripeLabelModelParameter

public StripeLabelModelParameter()
Creates a new instance.

Developers should not create instances of this class but use the constants defined in StripeLabelModel: one of StripeLabelModel.NORTH, StripeLabelModel.SOUTH, StripeLabelModel.EAST, and StripeLabelModel.WEST


StripeLabelModelParameter

public StripeLabelModelParameter(java.lang.String position)
Creates a new instance.

Developers should not create instances of this class but use the constants defined in StripeLabelModel: one of StripeLabelModel.NORTH, StripeLabelModel.SOUTH, StripeLabelModel.EAST, and StripeLabelModel.WEST

Parameters:
position - A String which encodes the position of the label.
Method Detail

getModel

public ILabelModel getModel()
The model for this parameter.

Specified by:
getModel in interface ILabelModelParameter
Returns:
The model for this parameter.

setModel

public void setModel(ILabelModel model)
Sets the model for this parameter.

Returns:
The model for this parameter.

clone

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

getPosition

public java.lang.String getPosition()
A String which encodes this position

Returns:

setPosition

public void setPosition(java.lang.String position)
A String which encodes this position


createMarkupExtension

public MarkupExtension createMarkupExtension(Lookup lookup)
Description copied from interface: IMarkupExtensionFactory
Creates a markup extension that can be used instead of the original class.

Specified by:
createMarkupExtension in interface IMarkupExtensionFactory
Parameters:
lookup - The lookup that shall be considered when creating the markup extension.


Copyright © 2000-2013 yWorks GmbH. All rights reserved