|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.yworks.yfiles.server.graphml.flexio.data.DescriptorWrapperLabelModel
A label model that wraps an existing label model and decorates it with an ILabelCandidateDescriptor.
| Nested Class Summary | |
static class |
DescriptorWrapperLabelModel.DescriptorWrapperLabelModelParameter
The label model parameter used by DescriptorWrapperLabelModel.
|
| Constructor Summary | |
DescriptorWrapperLabelModel(ILabelModel innerModel,
ILabelCandidateDescriptor descriptor)
Initializes a new instance of the DescriptorWrapperLabelModel class. |
|
| Method Summary | |
ILabelModelParameter |
createDefaultParameter()
Creates a default parameter that can be used for this model. |
MarkupExtension |
createMarkupExtension(Lookup lookup)
Creates a markup extension that can be used instead of the original class. |
ILabelCandidateDescriptor |
getDescriptor()
Gets the descriptor. |
ILabelCandidateDescriptor |
getDescriptor(Label label,
ILabelModelParameter parameter)
Gets the descriptor for a given combination of label and ILabelModelParameter. |
ILabelModel |
getInnerModel()
Gets the wrapped label model. |
java.util.Collection |
getSharedInstances()
Returns an Collection for objects that shall be shared. |
void |
setDescriptor(ILabelCandidateDescriptor descriptor)
Sets the descriptor. |
void |
setInnerModel(ILabelModel innerModel)
Sets the wrapped label model. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DescriptorWrapperLabelModel(ILabelModel innerModel,
ILabelCandidateDescriptor descriptor)
DescriptorWrapperLabelModel class.
innerModel - The wrapped label model.descriptor - The descriptor to decorate the label model with.| Method Detail |
public ILabelCandidateDescriptor getDescriptor()
public void setDescriptor(ILabelCandidateDescriptor descriptor)
public ILabelModel getInnerModel()
public void setInnerModel(ILabelModel innerModel)
public ILabelModelParameter createDefaultParameter()
createDefaultParameter in interface ILabelModel
public ILabelCandidateDescriptor getDescriptor(Label label,
ILabelModelParameter parameter)
ILabelModelParameter.
getDescriptor in interface ILabelCandidateDescriptorProviderlabel - The label to possibly assign the parameter.parameter - The parameter to provide a descriptor for if applied to the given label
null.public MarkupExtension createMarkupExtension(Lookup lookup)
createMarkupExtension in interface IMarkupExtensionFactorylookup - The lookup that shall be considered when creating the markup extension.public java.util.Collection getSharedInstances()
ISharedInstanceProviderCollection for objects that shall be shared.
getSharedInstances in interface ISharedInstanceProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||