Class TLspRegularOrExtrudedStyler
java.lang.Object
com.luciad.view.lightspeed.style.styler.ALspStyler
com.luciad.view.lightspeed.style.styler.ALspToggleStyler
com.luciad.view.lightspeed.style.styler.TLspRegularOrExtrudedStyler
- All Implemented Interfaces:
ILspStyler
Styler that delegates to one of two wrapped stylers depending on whether the
object is an
ILcdExtrudedShape
or not.- Since:
- 2012.0
-
Constructor Summary
ConstructorDescriptionTLspRegularOrExtrudedStyler
(ILspStyler aRegularStyler, ILspStyler aExtrudedStyler) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isUseSpecialStyler
(Object aObject, TLspContext aContext) Determines whether the special styler should be used.Methods inherited from class com.luciad.view.lightspeed.style.styler.ALspToggleStyler
addStyleChangeListener, getRegularStyler, getSpecialStyler, removeStyleChangeListener, style
Methods inherited from class com.luciad.view.lightspeed.style.styler.ALspStyler
fireStyleChangeEvent, fireStyleChangeEvent
-
Constructor Details
-
TLspRegularOrExtrudedStyler
Default constructor- Parameters:
aRegularStyler
- The styler that will be applied to non ILcdExtrudedShape objects.aExtrudedStyler
- The styler that will be used forILcdExtrudedShape
objects.
-
-
Method Details
-
isUseSpecialStyler
Description copied from class:ALspToggleStyler
Determines whether the special styler should be used.- Specified by:
isUseSpecialStyler
in classALspToggleStyler
- Parameters:
aObject
- the objectaContext
- provides context information- Returns:
- whether or not the special styler should be used
-