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
ConstructorsConstructorDescriptionTLcyLspCustomizableStyleContext(TLspCustomizableStyle aStyle, TLspPaintRepresentation aPaintRepresentation, TLspPaintState aPaintState, ILspLayer aLayer) Create a newTLcyLspCustomizableStyleContextinstance -
Method Summary
-
Constructor Details
-
TLcyLspCustomizableStyleContext
public TLcyLspCustomizableStyleContext(TLspCustomizableStyle aStyle, TLspPaintRepresentation aPaintRepresentation, TLspPaintState aPaintState, ILspLayer aLayer) Create a newTLcyLspCustomizableStyleContextinstance- Parameters:
aStyle- The customizable style. Must not benullaPaintRepresentation- The paint representation for whichaStyleis used. May benullwhen unknownaPaintState- The paint state for whichaStyleis used. May benullwhen unknownaLayer- The layer from which the style is retrieved. May benullwhen unknown
-
-
Method Details
-
getStyle
Returns the customizable style instance. Will not benull- Returns:
- the customizable style
-
getPaintRepresentation
Returns thePaintRepresentationfor which the style is used- Returns:
- the
PaintRepresentationfor which the style is used. May benullwhen unknown
-
getPaintState
Returns thePaintStatefor which the style is used- Returns:
- the
PaintStatefor which the style is used. May benullwhen unknown
-
getLayer
Returns the layer using the style- Returns:
- the layer using the style. May be
nullwhen unknown
-
toString
-