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
ConstructorsConstructorDescriptionTLspDomainObjectContext(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 TypeMethodDescriptionbooleangetLayer()Returns theILcdLayerin which the domain object is displayed.Equivalent ofTLcdDomainObjectContext.getDomainObject()Returns the paint representation state associated with the domain objectgetView()Returns theILcdViewin which the domain object is displayed.inthashCode()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 benullaView- the view.aLayer- the layer.aPRS- the paint representation state.
-
-
Method Details
-
getView
Returns theILcdViewin which the domain object is displayed.- Overrides:
getViewin classTLcdDomainObjectContext- Returns:
- The
ILcdViewin which the domain object is displayed. This may benull.
-
getLayer
Returns theILcdLayerin which the domain object is displayed.- Overrides:
getLayerin classTLcdDomainObjectContext- Returns:
- The
ILcdLayerin 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:
equalsin classTLcdDomainObjectContext
-
hashCode
public int hashCode()- Overrides:
hashCodein classTLcdDomainObjectContext
-
getObject
Equivalent of
TLcdDomainObjectContext.getDomainObject()- Returns:
- The domain object
-