|
||||||||||
| 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.RotatedSideSliderEdgeLabelModel.ModelParameter
Model parameter for the rotated side slider edge label model.
| Constructor Summary | |
RotatedSideSliderEdgeLabelModel.ModelParameter(ILabelModel model)
|
|
RotatedSideSliderEdgeLabelModel.ModelParameter(ILabelModel model,
int location,
int segmentIndex,
double ratio)
|
|
| Method Summary | |
java.lang.Object |
clone()
|
MarkupExtension |
createMarkupExtension(Lookup lookup)
Creates a markup extension that can be used instead of the original class. |
int |
getLocation()
One of SliderParameterLocation.LEFT or SliderParameterLocation.RIGHT determining on
which side of the edge the label shall be placed. |
ILabelModel |
getModel()
Gets the model that is associated with this parameter. |
double |
getRatio()
The ratio at which to place the label at the segment. |
int |
getSegmentIndex()
The zero-based index of the segment beginning from the source side. |
java.util.Collection |
getSharedInstances()
Returns an Collection for objects that shall be shared. |
void |
setLocation(int location)
One of SliderParameterLocation.LEFT or SliderParameterLocation.RIGHT determining on
which side of the edge the label shall be placed. |
void |
setRatio(double ratio)
The ratio at which to place the label at the segment. |
void |
setSegmentIndex(int segmentIndex)
The zero-based index of the segment beginning from the source side. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RotatedSideSliderEdgeLabelModel.ModelParameter(ILabelModel model)
public RotatedSideSliderEdgeLabelModel.ModelParameter(ILabelModel model,
int location,
int segmentIndex,
double ratio)
| Method Detail |
public int getLocation()
SliderParameterLocation.LEFT or SliderParameterLocation.RIGHT determining on
which side of the edge the label shall be placed.
public void setLocation(int location)
SliderParameterLocation.LEFT or SliderParameterLocation.RIGHT determining on
which side of the edge the label shall be placed.
public int getSegmentIndex()
public void setSegmentIndex(int segmentIndex)
public double getRatio()
public void setRatio(double ratio)
public ILabelModel getModel()
ILabelModelParameter
getModel in interface ILabelModelParameterpublic java.lang.Object clone()
clone in interface ILabelModelParameterpublic java.util.Collection getSharedInstances()
ISharedInstanceProviderCollection for objects that shall be shared.
getSharedInstances in interface ISharedInstanceProviderpublic 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 | |||||||||