public class IlvMapLabelerProperty extends IlvNamedProperty
IlvMapLabelerProperty represents a named property that holds
a IlvMapLabeler.
IlvManager manager = ...; IlvMapLabeler model = IlvMapLabelerProperty.GetMapLabeler(manager);
GetMapLabeler method being called, a new instance is created
and attached.| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
The name of the property.
|
| Constructor and Description |
|---|
IlvMapLabelerProperty(IlvInputStream stream)
Reads an
IlvMapLabelerProperty from an
IlvInputStream. |
IlvMapLabelerProperty(IlvMapLabeler labeler)
Creates an
IlvMapLabelerProperty instance from an
IlvMapLabeler object. |
IlvMapLabelerProperty(IlvMapLabelerProperty source)
Creates an
IlvMapLabelerProperty instance by copying
an existing one. |
| Modifier and Type | Method and Description |
|---|---|
IlvNamedProperty |
copy()
Returns a copy of this
IlvMapLabelerProperty instance. |
IlvMapLabeler |
getMapLabeler()
Retrieves the value of this property.
|
static IlvMapLabeler |
GetMapLabeler(IlvManager manager)
Retrieves the value of the
IlvMapLayerTreeProperty attached
to an IlvManager instance. |
boolean |
isPersistent()
Tests if the property may be saved to an IVL file.
|
void |
write(IlvOutputStream stream)
Writes this
IlvMapLabelerProperty instance to an output
stream. |
getNamepublic static final String NAME
public IlvMapLabelerProperty(IlvMapLabeler labeler)
IlvMapLabelerProperty instance from an
IlvMapLabeler object.labeler - The value of this property.public IlvMapLabelerProperty(IlvMapLabelerProperty source)
IlvMapLabelerProperty instance by copying
an existing one.source - The property to copy.public IlvMapLabelerProperty(IlvInputStream stream) throws IlvReadFileException
IlvMapLabelerProperty from an
IlvInputStream.stream - The stream to read from.IlvReadFileException - if there is a problem reading
stream.public IlvNamedProperty copy()
IlvMapLabelerProperty instance.copy in class IlvNamedPropertyIlvMapLabelerProperty instance.IlvNamedProperty.copy()public void write(IlvOutputStream stream) throws IOException
IlvMapLabelerProperty instance to an output
stream.write in interface IlvPersistentObjectwrite in class IlvNamedPropertystream - The stream to write to.IOException - if there is a problem writing to stream.IlvNamedProperty.write(ilog.views.io.IlvOutputStream)public IlvMapLabeler getMapLabeler()
IlvMapLabeler value of this property.public boolean isPersistent()
isPersistent in class IlvNamedPropertytrue, the property is saved.IlvNamedProperty.isPersistent()public static IlvMapLabeler GetMapLabeler(IlvManager manager)
IlvMapLayerTreeProperty attached
to an IlvManager instance.manager - The IlvManager to retrieve the property from.IlvMapLayerTreeModel. If no labeler has
been attached, a new IlvMapDefaultLabeler instance is created
and attached to manager.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.