public class TLspAPP6ASymbolStyler extends Object implements ILspStyler
ILcdAPP6AStyled
. It produces a TLspAPP6ASymbolStyle
for every supported input object.Constructor and Description |
---|
TLspAPP6ASymbolStyler(ILcdAPP6AStyle 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 TLspAPP6ASymbolStyle for every incoming
object which implements ILcdAPP6ACoded and (optionally)
ILcdAPP6AStyled . |
public TLspAPP6ASymbolStyler(ILcdAPP6AStyle aDefaultStyle)
public void style(Collection<?> aObjects, ALspStyleCollector aStyleCollector, TLspContext aContext)
ILcdAPP6AStyled
.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()