|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvNamedProperty
ilog.views.graphlayout.labellayout.IlvLabelLayoutManagerProperty
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingLabelLayoutManagerProperty
public class IlvAnnealingLabelLayoutManagerProperty
The class IlvAnnealingLabelLayoutManagerProperty
allows you to store the global settings of an instance
of IlvAnnealingLabelLayout
as a named property in the manager. This is used by
IlvDefaultLabelingModel.saveParametersToNamedProperties(IlvLabelLayout, boolean)
which is an auxiliary to be used before
IlvManager.write(IlvOutputStream) if you
want to store layout parameter settings in .ivl files.
IlvDefaultLabelingModel.saveParametersToNamedProperties(IlvLabelLayout, boolean),
IlvDefaultLabelingModel.loadParametersFromNamedProperties(IlvLabelLayout),
IlvDefaultLabelingModel.removeParametersFromNamedProperties(),
IlvLabelLayout.createLayoutManagerProperty(String, boolean),
Serialized Form| Constructor Summary | |
|---|---|
IlvAnnealingLabelLayoutManagerProperty(IlvAnnealingLabelLayoutManagerProperty source)
Creates a new IlvAnnealingLabelLayoutManagerProperty by copying an
existing one. |
|
IlvAnnealingLabelLayoutManagerProperty(IlvInputStream stream)
Creates a new IlvAnnealingLabelLayoutManagerProperty from
an IlvInputStream. |
|
IlvAnnealingLabelLayoutManagerProperty(String name,
IlvAnnealingLabelLayout layout,
boolean withDefaults)
Creates a new IlvAnnealingLabelLayoutManagerProperty that stores
layout parameter settings of the layout. |
|
| Method Summary | |
|---|---|
IlvNamedProperty |
copy()
Copies the named property. |
void |
dispose(IlvDefaultLabelingModel model)
Disposes of the property and releases any resources that it is using. |
boolean |
isPersistent()
Returns true if the property must be saved to an .ivl file. |
void |
transfer(IlvLabelLayout labelLayout)
Transfers the layout parameter settings stored in this named property back to the input layout. |
void |
write(IlvOutputStream stream)
Writes the property to the output stream. |
| Methods inherited from class ilog.views.graphlayout.labellayout.IlvLabelLayoutManagerProperty |
|---|
getLayout, omitDefaults |
| Methods inherited from class ilog.views.IlvNamedProperty |
|---|
getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvAnnealingLabelLayoutManagerProperty(String name,
IlvAnnealingLabelLayout layout,
boolean withDefaults)
IlvAnnealingLabelLayoutManagerProperty that stores
layout parameter settings of the layout.
name - The name of the property.layout - The layout instance to be stored.withDefaults - If true, the layout property is always
persistent. If false, it is persistent only if
nondefault parameter settings exist (that is, if the
the property is saved to an .ivl file, the default
parameter settings are not saved).public IlvAnnealingLabelLayoutManagerProperty(IlvAnnealingLabelLayoutManagerProperty source)
IlvAnnealingLabelLayoutManagerProperty by copying an
existing one.
source - The origin of the copy.
public IlvAnnealingLabelLayoutManagerProperty(IlvInputStream stream)
throws IOException,
IlvReadFileException
IlvAnnealingLabelLayoutManagerProperty from
an IlvInputStream.
stream - The input stream from which the property must be read.
IlvReadFileException - if an error occurs while reading.
IOException| Method Detail |
|---|
public IlvNamedProperty copy()
copy in class IlvLabelLayoutManagerPropertypublic boolean isPersistent()
true if the property must be saved to an .ivl file.
isPersistent in class IlvLabelLayoutManagerProperty
public void write(IlvOutputStream stream)
throws IOException
write in interface IlvPersistentObjectwrite in class IlvLabelLayoutManagerPropertystream - The output stream.
IOException - standard IO error.public void transfer(IlvLabelLayout labelLayout)
transfer in class IlvLabelLayoutManagerPropertylabelLayout - The layout instance whose parameters are to be
recovered from this instance.public void dispose(IlvDefaultLabelingModel model)
dispose in class IlvLabelLayoutManagerPropertymodel - The labeling model.IlvDefaultLabelingModel.loadParametersFromNamedProperties(IlvLabelLayout),
IlvDefaultLabelingModel.removeParametersFromNamedProperties()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||