Class TLspMS2525bSymbolStyler
java.lang.Object
com.luciad.symbology.milstd2525b.view.lightspeed.TLspMS2525bSymbolStyler
- All Implemented Interfaces:
ILspStyler
Default styler used by TLspMS2525bLayerBuilder. This styler
supports objects which implement ILcdMS2525bCoded and (optionally)
ILcdStyledMilitarySymbol. It produces a TLspMS2525bSymbolStyle
for every supported input object.- Since:
- 2013.1
-
Constructor Summary
ConstructorsConstructorDescriptionTLspMS2525bSymbolStyler(ILcdMS2525bStyle aDefaultStyle) Deprecated.TLspMS2525bSymbolStyler(TLcdMilitarySymbolStyle aDefaultStyle) Creates a newTLspMS2525bSymbolStylerwith the givenTLcdMilitarySymbolStyleas default style. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStyleChangeListener(ILspStyleChangeListener aListener) Registers a style change listener with this styler.voidvoidfireStyleChangeEvent(ILcdModel aAffectedModel, Collection<Object> aAffectedObjects, Collection<ALspStyle> aAffectedStyles) voidremoveStyleChangeListener(ILspStyleChangeListener aListener) Unregisters a style change listener from this styler.voidstyle(Collection<?> aObjects, ALspStyleCollector aStyleCollector, TLspContext aContext) Submits an appropriate TLspMS2525bSymbolStyle for every incoming object which implements ILcdMS2525bCoded and (optionally)ILcdStyledMilitarySymbol.
-
Constructor Details
-
TLspMS2525bSymbolStyler
Deprecated.useTLspMS2525bSymbolStyler(TLcdMilitarySymbolStyle)instead. -
TLspMS2525bSymbolStyler
Creates a newTLspMS2525bSymbolStylerwith the givenTLcdMilitarySymbolStyleas default style. This style will be used as style configuration forILcdMS2525bCodedobjects that do not implementILcdStyledMilitarySymbol.- Parameters:
aDefaultStyle- theTLcdMilitarySymbolStylewill be used as style configuration forILcdAPP6ACodedobjects that do not implementILcdStyledMilitarySymbol.- Since:
- 2024.0
-
-
Method Details
-
style
Submits an appropriate TLspMS2525bSymbolStyle for every incoming object which implements ILcdMS2525bCoded and (optionally)ILcdStyledMilitarySymbol.- Specified by:
stylein interfaceILspStyler- Parameters:
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.
-
addStyleChangeListener
Description copied from interface:ILspStylerRegisters a style change listener with this styler. Appropriate events will be passed to this listener whenever a style changes.- Specified by:
addStyleChangeListenerin interfaceILspStyler- Parameters:
aListener- the style change listener to add
-
removeStyleChangeListener
Description copied from interface:ILspStylerUnregisters a style change listener from this styler.- Specified by:
removeStyleChangeListenerin interfaceILspStyler- Parameters:
aListener- the style change listener to remove
-
fireStyleChangeEvent
public void fireStyleChangeEvent(ILcdModel aAffectedModel, Collection<Object> aAffectedObjects, Collection<ALspStyle> aAffectedStyles) -
fireStyleChangeEvent
public void fireStyleChangeEvent()
-
TLspMS2525bSymbolStyler(TLcdMilitarySymbolStyle)instead.