public class IlvMapStyleControllerProperty extends IlvNamedProperty
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
The name of the property.
|
| Constructor and Description |
|---|
IlvMapStyleControllerProperty(IlvInputStream stream)
Reads an
IlvMapStyleProperty object from an
IlvInputStream. |
IlvMapStyleControllerProperty(IlvMapStyleController model)
Creates an
IlvMapStyleProperty instance from an
IlvMapStyleController object. |
IlvMapStyleControllerProperty(IlvMapStyleControllerProperty source)
Creates a
IlvMapStyleProperty by copying an existing one. |
| Modifier and Type | Method and Description |
|---|---|
IlvNamedProperty |
copy()
Returns a copy of this property.
|
IlvMapStyleController |
getMapStyleController()
Retrieves the value of this property.
|
static IlvMapStyleController |
GetMapStyleController(IlvManager manager)
Retrieves the value of an
IlvMapStyleProperty instance
attached to an IlvManager object. |
boolean |
isPersistent()
Tests if this property is persistent.
|
void |
write(IlvOutputStream stream)
Write this property to an
IlvMapOutputStream. |
getNamepublic static final String NAME
public IlvMapStyleControllerProperty(IlvMapStyleController model)
IlvMapStyleProperty instance from an
IlvMapStyleController object.model - The value of this property.public IlvMapStyleControllerProperty(IlvMapStyleControllerProperty source)
IlvMapStyleProperty by copying an existing one.source - The property to copy.public IlvMapStyleControllerProperty(IlvInputStream stream) throws IlvReadFileException
IlvMapStyleProperty object from an
IlvInputStream.stream - The stream to read from.IlvReadFileException - if there is a problem reading from
stream.public IlvNamedProperty copy()
copy in class IlvNamedPropertypublic boolean isPersistent()
isPersistent in class IlvNamedPropertytrue is returned.public void write(IlvOutputStream stream) throws IOException
IlvMapOutputStream.write in interface IlvPersistentObjectwrite in class IlvNamedPropertystream - The stream to write to.IOException - if there is a problem writing to stream.public IlvMapStyleController getMapStyleController()
public static IlvMapStyleController GetMapStyleController(IlvManager manager)
IlvMapStyleProperty instance
attached to an IlvManager object. If no property has been
set, a new one is created and attached to the manager.manager - The IlvManager to retrieve the property from.IlvMapStyleController.
You may need to connect the style controller to your view if you want it to react to scale changes automatically.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.