Class TLspAPP6ASymbolStyler
java.lang.Object
com.luciad.symbology.app6a.view.lightspeed.TLspAPP6ASymbolStyler
- All Implemented Interfaces:
ILspStyler
Default styler used by TLspAPP6ALayerBuilder. This styler
supports objects which implement ILcdAPP6ACoded and (optionally)
ILcdStyledMilitarySymbol. It produces a TLspAPP6ASymbolStyle
for every supported input object.- Since:
- 2013.1
-
Constructor Summary
ConstructorsConstructorDescriptionTLspAPP6ASymbolStyler(ILcdAPP6AStyle aDefaultStyle) Deprecated.TLspAPP6ASymbolStyler(TLcdMilitarySymbolStyle aDefaultStyle) Creates a newTLspAPP6ASymbolStylerwith 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 TLspAPP6ASymbolStyle for every incoming object which implements ILcdAPP6ACoded and (optionally)ILcdStyledMilitarySymbol.
-
Constructor Details
-
TLspAPP6ASymbolStyler
Deprecated.useTLspAPP6ASymbolStyler(TLcdMilitarySymbolStyle)instead. -
TLspAPP6ASymbolStyler
Creates a newTLspAPP6ASymbolStylerwith the givenTLcdMilitarySymbolStyleas default style. This style will be used as style configuration forILcdAPP6ACodedobjects 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 TLspAPP6ASymbolStyle for every incoming object which implements ILcdAPP6ACoded 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 afterward.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()
-
TLspAPP6ASymbolStyler(TLcdMilitarySymbolStyle)instead.