com.yworks.yfiles.server.graphml.flexio.data.markup
Class LabelCandidateDescriptorExtension
java.lang.Object
com.yworks.yfiles.server.graphml.flexio.MarkupExtension
com.yworks.yfiles.server.graphml.flexio.data.markup.LabelCandidateDescriptorExtension
- public class LabelCandidateDescriptorExtension
- extends MarkupExtension
MarkupExtension for LabelCandidateDescriptor.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LabelCandidateDescriptorExtension
public LabelCandidateDescriptorExtension()
LabelCandidateDescriptorExtension
public LabelCandidateDescriptorExtension(boolean externalCandidate,
double profit)
- Creates a new instance of
LabelCandidateDescriptor
.
- Parameters:
externalCandidate
- Indicating whether this candidate is deemed an external candidate.profit
- The profit to weigh in if this candidate is chosen.
isExternalCandidate
public boolean isExternalCandidate()
setExternalCandidate
public void setExternalCandidate(boolean externalCandidate)
getProfit
public double getProfit()
setProfit
public void setProfit(double profit)
provideValue
public java.lang.Object provideValue(Lookup lookup)
- Implementations of subclasses return an object that had been specified as target
attribute of the markup extension.
- Specified by:
provideValue
in class MarkupExtension
- Parameters:
lookup
- An object that can provide additional functionality for the markup extension.
- Returns:
- The object value to set on the property where the extension is applied.
Copyright © 2000-2013 yWorks GmbH. All
rights reserved