public class TLspMS2525bSymbolStyler extends Object implements ILspStyler
ILcdMS2525bStyled
. It produces a TLspMS2525bSymbolStyle
for every supported input object.Constructor and Description |
---|
TLspMS2525bSymbolStyler(ILcdMS2525bStyle aDefaultStyle) |
Modifier and Type | Method and Description |
---|---|
void |
addStyleChangeListener(ILspStyleChangeListener aListener)
Registers a style change listener with this styler.
|
void |
fireStyleChangeEvent() |
void |
fireStyleChangeEvent(ILcdModel aAffectedModel,
Collection<Object> aAffectedObjects,
Collection<ALspStyle> aAffectedStyles) |
void |
removeStyleChangeListener(ILspStyleChangeListener aListener)
Unregisters a style change listener from this styler.
|
void |
style(Collection<?> aObjects,
ALspStyleCollector aStyleCollector,
TLspContext aContext)
Submits an appropriate TLspMS2525bSymbolStyle for every incoming
object which implements ILcdMS2525bCoded and (optionally)
ILcdMS2525bStyled . |
public TLspMS2525bSymbolStyler(ILcdMS2525bStyle aDefaultStyle)
public void style(Collection<?> aObjects, ALspStyleCollector aStyleCollector, TLspContext aContext)
ILcdMS2525bStyled
.style
in interface ILspStyler
aObjects
- The objects to be styled.aStyleCollector
- A style collector to which all styling information
should be passed, this collector is only valid within this method
call, and can no longer be used afterwards.aContext
- Provides context information that may affect styling, such as view specific properties.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)
public void fireStyleChangeEvent()