|
||||||||||
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.InteriorStretchLabelModel.ModelParameter
Parameter for the interior stretch label model that defines the position of the label using one of the position
constants defined in class InteriorStretchLabelModel
.
Constructor Summary | |
InteriorStretchLabelModel.ModelParameter(ILabelModel model)
Creates a new parameter instance for the provided label model with the position set to InteriorStretchLabelModel.POSITION_CENTER . |
|
InteriorStretchLabelModel.ModelParameter(ILabelModel model,
java.lang.String position)
Creates a new parameter instance for the provided label model using the given position. |
Method Summary | |
java.lang.Object |
clone()
|
ILabelModel |
getModel()
Gets the model that is associated with this parameter. |
java.lang.String |
getPosition()
The label position. |
java.util.Collection |
getSharedInstances()
Returns an Collection for objects that shall be shared. |
void |
setPosition(java.lang.String position)
The label position. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InteriorStretchLabelModel.ModelParameter(ILabelModel model)
InteriorStretchLabelModel.POSITION_CENTER
.
public InteriorStretchLabelModel.ModelParameter(ILabelModel model, java.lang.String position)
model
- The model for this parameter instance.position
- One of the position constants defined in class
InteriorStretchLabelModel
.Method Detail |
public java.lang.String getPosition()
InteriorStretchLabelModel
.
public void setPosition(java.lang.String position)
InteriorStretchLabelModel
.
position
- public ILabelModel getModel()
ILabelModelParameter
getModel
in interface ILabelModelParameter
public java.lang.Object clone()
clone
in interface ILabelModelParameter
public java.util.Collection getSharedInstances()
ISharedInstanceProvider
Collection
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 |