Package com.luciad.view.lightspeed.layer
Class TLspDomainObjectContext
java.lang.Object
com.luciad.view.TLcdDomainObjectContext
com.luciad.view.lightspeed.layer.TLspDomainObjectContext
An extension of
TLcdDomainObjectContext
which includes a certain paint representation
state as well.- Since:
- 2012.0
-
Constructor Summary
ConstructorDescriptionTLspDomainObjectContext
(Object aObject, ILspView aView, ILspInteractivePaintableLayer aLayer, TLspPaintRepresentationState aPRS) Creates a new TLspDomainObjectContext based on the provided object, view, layer and paint representation state. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getLayer()
Returns theILcdLayer
in which the domain object is displayed.Equivalent ofTLcdDomainObjectContext.getDomainObject()
Returns the paint representation state associated with the domain objectgetView()
Returns theILcdView
in which the domain object is displayed.int
hashCode()
Methods inherited from class com.luciad.view.TLcdDomainObjectContext
getDomainObject, getModel, toString
-
Constructor Details
-
TLspDomainObjectContext
public TLspDomainObjectContext(Object aObject, ILspView aView, ILspInteractivePaintableLayer aLayer, TLspPaintRepresentationState aPRS) Creates a new TLspDomainObjectContext based on the provided object, view, layer and paint representation state.- Parameters:
aObject
- the domain object represented by this domain object context. Must not benull
aView
- the view.aLayer
- the layer.aPRS
- the paint representation state.
-
-
Method Details
-
getView
Returns theILcdView
in which the domain object is displayed.- Overrides:
getView
in classTLcdDomainObjectContext
- Returns:
- The
ILcdView
in which the domain object is displayed. This may benull
.
-
getLayer
Returns theILcdLayer
in which the domain object is displayed.- Overrides:
getLayer
in classTLcdDomainObjectContext
- Returns:
- The
ILcdLayer
in which the domain object is displayed. This may benull
.
-
getPaintRepresentationState
Returns the paint representation state associated with the domain object- Returns:
- the paint representation state associated with the domain object
-
equals
- Overrides:
equals
in classTLcdDomainObjectContext
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTLcdDomainObjectContext
-
getObject
Equivalent of
TLcdDomainObjectContext.getDomainObject()
- Returns:
- The domain object
-