|
||||||||||
| 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.LabelCandidateDescriptor.ConstantDescriptor
| Constructor Summary | |
LabelCandidateDescriptor.ConstantDescriptor(boolean isExternal)
|
|
| Method Summary | |
MarkupExtension |
createMarkupExtension(Lookup lookup)
Creates a markup extension that can be used instead of the original class. |
double |
getProfit()
Gets the profit to weigh in if this candidate is chosen. |
boolean |
isExternalCandidate()
Gets a value indicating whether this candidate is deemed an external candidate. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LabelCandidateDescriptor.ConstantDescriptor(boolean isExternal)
| Method Detail |
public boolean isExternalCandidate()
This is mainly for node labels, where the label may be a visual part of the node's internals, but could be used for edge labels, too, if the edge occupies significant amounts of space, visually.
isExternalCandidate in interface ILabelCandidateDescriptorpublic double getProfit()
getProfit in interface ILabelCandidateDescriptorpublic MarkupExtension createMarkupExtension(Lookup lookup)
createMarkupExtension in interface IMarkupExtensionFactorylookup - The lookup that shall be considered when creating the markup extension.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||