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
ConstructorDescriptionTLspMS2525bSymbolStyler
(ILcdMS2525bStyle aDefaultStyle) Deprecated.TLspMS2525bSymbolStyler
(TLcdMilitarySymbolStyle aDefaultStyle) Creates a newTLspMS2525bSymbolStyler
with the givenTLcdMilitarySymbolStyle
as default style. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addStyleChangeListener
(ILspStyleChangeListener aListener) Registers a style change listener with this styler.void
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)ILcdStyledMilitarySymbol
.
-
Constructor Details
-
TLspMS2525bSymbolStyler
Deprecated.useTLspMS2525bSymbolStyler(TLcdMilitarySymbolStyle)
instead. -
TLspMS2525bSymbolStyler
Creates a newTLspMS2525bSymbolStyler
with the givenTLcdMilitarySymbolStyle
as default style. This style will be used as style configuration forILcdMS2525bCoded
objects that do not implementILcdStyledMilitarySymbol
.- Parameters:
aDefaultStyle
- theTLcdMilitarySymbolStyle
will be used as style configuration forILcdAPP6ACoded
objects 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:
style
in 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:ILspStyler
Registers a style change listener with this styler. Appropriate events will be passed to this listener whenever a style changes.- Specified by:
addStyleChangeListener
in interfaceILspStyler
- Parameters:
aListener
- the style change listener to add
-
removeStyleChangeListener
Description copied from interface:ILspStyler
Unregisters a style change listener from this styler.- Specified by:
removeStyleChangeListener
in 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.