Package com.luciad.view
Class TLcdDomainObjectContext
java.lang.Object
com.luciad.view.TLcdDomainObjectContext
- Direct Known Subclasses:
TLcyDomainObjectContext
,TLspDomainObjectContext
This context object defines everything related to a domain object: the
ILcdModel
in
which it is contained, and the ILcdLayer
and the ILcdView
in which it
is displayed.- Since:
- 2012.1
-
Constructor Summary
ConstructorDescriptionTLcdDomainObjectContext
(Object aDomainObject, ILcdModel aModel, ILcdLayer aLayer, ILcdView aView) Creates a new context instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the domain object for which this object provides the context.getLayer()
Returns theILcdLayer
in which the domain object is displayed.getModel()
Returns the model in which the domain object is contained.getView()
Returns theILcdView
in which the domain object is displayed.int
hashCode()
toString()
-
Constructor Details
-
TLcdDomainObjectContext
public TLcdDomainObjectContext(Object aDomainObject, ILcdModel aModel, ILcdLayer aLayer, ILcdView aView) Creates a new context instance.- Parameters:
aDomainObject
- The domain object for which this object provides the context. This must not benull
.aModel
- TheILcdModel
that contains theaDomainObject
. This may benull
if this information is not available.aLayer
- TheILcdLayer
in whichaModel
is displayed. This may benull
if this information is not available.aView
- TheILcdView
in whichaLayer
is displayed. This may benull
if this information is not available.
-
-
Method Details
-
getModel
Returns the model in which the domain object is contained.- Returns:
- The model in which the domain object is contained. This may be
null
.
-
getDomainObject
Returns the domain object for which this object provides the context.- Returns:
- The domain object for which this object provides the context. This will never be
null
.
-
getLayer
Returns theILcdLayer
in which the domain object is displayed.- Returns:
- The
ILcdLayer
in which the domain object is displayed. This may benull
.
-
getView
Returns theILcdView
in which the domain object is displayed.- Returns:
- The
ILcdView
in which the domain object is displayed. This may benull
.
-
toString
-
hashCode
public int hashCode() -
equals
-