Class TLcyLspCustomizableStyleContext
java.lang.Object
com.luciad.lucy.map.style.lightspeed.TLcyLspCustomizableStyleContext
Container object around a TLspCustomizableStyle
,
which provides some extra contextual information.
An example use-case of this contextual information is an ILcyCustomizerPanel
allowing to modify the contained TLspCustomizableStyle
. It might be important for
the customizer panel to know whether the style is used for the BODY or for the
LABEL
to adjust its title accordingly.
- Since:
- 2012.0
-
Constructor Summary
ConstructorDescriptionTLcyLspCustomizableStyleContext
(TLspCustomizableStyle aStyle, TLspPaintRepresentation aPaintRepresentation, TLspPaintState aPaintState, ILspLayer aLayer) Create a newTLcyLspCustomizableStyleContext
instance -
Method Summary
-
Constructor Details
-
TLcyLspCustomizableStyleContext
public TLcyLspCustomizableStyleContext(TLspCustomizableStyle aStyle, TLspPaintRepresentation aPaintRepresentation, TLspPaintState aPaintState, ILspLayer aLayer) Create a newTLcyLspCustomizableStyleContext
instance- Parameters:
aStyle
- The customizable style. Must not benull
aPaintRepresentation
- The paint representation for whichaStyle
is used. May benull
when unknownaPaintState
- The paint state for whichaStyle
is used. May benull
when unknownaLayer
- The layer from which the style is retrieved. May benull
when unknown
-
-
Method Details
-
getStyle
Returns the customizable style instance. Will not benull
- Returns:
- the customizable style
-
getPaintRepresentation
Returns thePaintRepresentation
for which the style is used- Returns:
- the
PaintRepresentation
for which the style is used. May benull
when unknown
-
getPaintState
Returns thePaintState
for which the style is used- Returns:
- the
PaintState
for which the style is used. May benull
when unknown
-
getLayer
Returns the layer using the style- Returns:
- the layer using the style. May be
null
when unknown
-
toString
-