public class IlvMapLayerStyleChangeListener extends Object implements StyleListener, NamedPropertyListener
| Constructor and Description |
|---|
IlvMapLayerStyleChangeListener(IlvMapDataSource ds,
IlvMapLayerStyleControl computation)
Creates a listener that will reload the image when some styling parameter or a named property of the data source manager change.
|
| Modifier and Type | Method and Description |
|---|---|
void |
propertyChanged(NamedPropertyEvent event)
This event will reset and start the data source when the image computation estimates that it must reload.
|
void |
styleChanged(StyleEvent event)
This event will reset and start the data source when the image computation estimates that it must reload.
|
public IlvMapLayerStyleChangeListener(IlvMapDataSource ds, IlvMapLayerStyleControl computation)
IlvMapLayerStyleChangeListener.ds - Data source to restart when the style changecomputation - object responsible for detecting when image must be updated.public void styleChanged(StyleEvent event)
styleChanged in interface StyleListenerevent - The event containing informations about the style change.StyleListener.styleChanged(StyleEvent),
IlvMapLayerStyleControl.mustReload(StyleEvent)public void propertyChanged(NamedPropertyEvent event)
propertyChanged in interface NamedPropertyListenerevent - The modification event.NamedPropertyListener.propertyChanged(ilog.views.event.NamedPropertyEvent),
IlvMapLayerStyleControl.mustReload(NamedPropertyEvent)© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.