com.yworks.yfiles.server.graphml.flexio.data
Interface ILabelCandidateDescriptorProvider

All Known Implementing Classes:
ConstantLabelCandidateDescriptorProvider, DescriptorWrapperLabelModel, ExteriorLabelModel, GenericLabelModel, InteriorLabelModel, InteriorStretchLabelModel

public interface ILabelCandidateDescriptorProvider

An interface that can be used to retrieve ILabelCandidateDescriptor instances for a given combination of Labels and ILabelModelParameter candidates.

This interface can be used by automatic labeling algorithms to help decide which labels candidate positions should be used.


Method Summary
 ILabelCandidateDescriptor getDescriptor(Label label, ILabelModelParameter parameter)
          Gets the descriptor for a given combination of label and ILabelModelParameter.
 

Method Detail

getDescriptor

public ILabelCandidateDescriptor getDescriptor(Label label,
                                               ILabelModelParameter parameter)
Gets the descriptor for a given combination of label and ILabelModelParameter.

Parameters:
label - The label to possibly assign the parameter.
parameter - The parameter to provide a descriptor for if applied to the given label
Returns:
A descriptor or null.


Copyright © 2000-2013 yWorks GmbH. All rights reserved