public abstract class ALspStyler extends Object implements ILspStyler
Constructor and Description |
---|
ALspStyler() |
Modifier and Type | Method and Description |
---|---|
void |
addStyleChangeListener(ILspStyleChangeListener aListener)
Registers a style change listener with this styler.
|
void |
fireStyleChangeEvent()
Creates a style change event with empty model, affected objects and styles
and notifies all listeners.
|
void |
fireStyleChangeEvent(ILcdModel aAffectedModel,
Collection<Object> aAffectedObjects,
Collection<ALspStyle> aAffectedStyles)
Creates a style change event and notifies all listeners.
|
void |
removeStyleChangeListener(ILspStyleChangeListener aListener)
Unregisters a style change listener from this styler.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
style
public void addStyleChangeListener(ILspStyleChangeListener aListener)
ILspStyler
addStyleChangeListener
in interface ILspStyler
aListener
- the style change listener to addpublic void removeStyleChangeListener(ILspStyleChangeListener aListener)
ILspStyler
removeStyleChangeListener
in interface ILspStyler
aListener
- the style change listener to removepublic void fireStyleChangeEvent(ILcdModel aAffectedModel, Collection<Object> aAffectedObjects, Collection<ALspStyle> aAffectedStyles)
Creates a style change event and notifies all listeners. This method fires a style change event for the specified model, objects and/or styles.
aAffectedModel
- the model the affected objects belong to. Can be null
.aAffectedObjects
- the list of objects that were affected. Can be null
.aAffectedStyles
- the list of styles that were affected. Can be null
.TLspStyleChangeEvent
public void fireStyleChangeEvent()
fireStyleChangeEvent(com.luciad.model.ILcdModel, java.util.Collection, java.util.Collection)
method if more information is known.TLspStyleChangeEvent