| Package | com.yworks.graph.model |
| Class | public class ConstantLabelCandidateDescriptorProvider |
| Inheritance | ConstantLabelCandidateDescriptorProvider Object |
| Implements | ILabelCandidateDescriptorProvider |
ILabelCandidateDescriptorProvider interface that
always yields a constant ILabelCandidateDescriptor.
| Method | Defined By | ||
|---|---|---|---|
Initializes a new instance of the ConstantLabelCandidateDescriptorProvider class. | ConstantLabelCandidateDescriptorProvider | ||
Always yields the parameter that has been passed to the constructor. | ConstantLabelCandidateDescriptorProvider | ||
| Constant | Defined By | ||
|---|---|---|---|
| externalDescriptorProvider : ILabelCandidateDescriptorProvider [static]
A sharable implementation of the ILabelCandidateDescriptorProvider
interface that always yields LabelCandidateDescriptor.externalDescriptor. | ConstantLabelCandidateDescriptorProvider | ||
| internalDescriptorProvider : ILabelCandidateDescriptorProvider [static]
A sharable implementation of the ILabelCandidateDescriptorProvider
interface that always yields LabelCandidateDescriptor.internalDescriptor. | ConstantLabelCandidateDescriptorProvider | ||
| ConstantLabelCandidateDescriptorProvider | () | Constructor |
public function ConstantLabelCandidateDescriptorProvider(descriptor:ILabelCandidateDescriptor)
Initializes a new instance of the ConstantLabelCandidateDescriptorProvider class.
that always yields descriptor in getDescriptor.
descriptor:ILabelCandidateDescriptor — The descriptor to yield in getDescriptor.
|
| getDescriptor | () | method |
public function getDescriptor(label:ILabel, parameter:ILabelModelParameter):ILabelCandidateDescriptorAlways yields the parameter that has been passed to the constructor.
Parameters
label:ILabel | |
parameter:ILabelModelParameter |
ILabelCandidateDescriptor |
| externalDescriptorProvider | Constant |
public static const externalDescriptorProvider:ILabelCandidateDescriptorProvider
A sharable implementation of the ILabelCandidateDescriptorProvider
interface that always yields LabelCandidateDescriptor.externalDescriptor.
See also
| internalDescriptorProvider | Constant |
public static const internalDescriptorProvider:ILabelCandidateDescriptorProvider
A sharable implementation of the ILabelCandidateDescriptorProvider
interface that always yields LabelCandidateDescriptor.internalDescriptor.
See also