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
ConstructorDescriptionTLspAPP6ASymbolStyler
(ILcdAPP6AStyle aDefaultStyle) Deprecated.TLspAPP6ASymbolStyler
(TLcdMilitarySymbolStyle aDefaultStyle) Creates a newTLspAPP6ASymbolStyler
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 TLspAPP6ASymbolStyle for every incoming object which implements ILcdAPP6ACoded and (optionally)ILcdStyledMilitarySymbol
.
-
Constructor Details
-
TLspAPP6ASymbolStyler
Deprecated.useTLspAPP6ASymbolStyler(TLcdMilitarySymbolStyle)
instead. -
TLspAPP6ASymbolStyler
Creates a newTLspAPP6ASymbolStyler
with the givenTLcdMilitarySymbolStyle
as default style. This style will be used as style configuration forILcdAPP6ACoded
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 TLspAPP6ASymbolStyle for every incoming object which implements ILcdAPP6ACoded 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 afterward.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()
-
TLspAPP6ASymbolStyler(TLcdMilitarySymbolStyle)
instead.