Package com.luciad.view.lightspeed.layer
Class TLspViewTouchInfo
java.lang.Object
com.luciad.view.lightspeed.layer.ALspTouchInfo
com.luciad.view.lightspeed.layer.ALspViewTouchInfo
com.luciad.view.lightspeed.layer.TLspViewTouchInfo
- All Implemented Interfaces:
ILcdCloneable
,Cloneable
Default implementation of
ALspViewTouchInfo
.- Since:
- 2012.0
-
Constructor Summary
ConstructorDescriptionTLspViewTouchInfo
(Object aDomainObject, ILcdPoint aTouchedPoint, boolean aHasDepth) Constructs a new view touch info. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns a clone of this object.Returns the domain object.Returns the point in view coordinates that was touched.boolean
hasDepth()
Method indicating whether or not the touched geometry is painted with or without depth testing.void
Sets the view touch info.toString()
-
Constructor Details
-
TLspViewTouchInfo
Constructs a new view touch info.- Parameters:
aDomainObject
- the touched domain objectaTouchedPoint
- the point in view coordinates of the label that was touchedaHasDepth
- a boolean indicating if the touched label is painted with or without depth testing
-
-
Method Details
-
set
Sets the view touch info.- Parameters:
aDomainObject
- the touched domain objectaTouchedPoint
- the point in view coordinates of the label that was touchedaHasDepth
- a boolean indicating if the touched label is painted with or without depth testing
-
getDomainObject
Description copied from class:ALspTouchInfo
Returns the domain object.- Specified by:
getDomainObject
in classALspTouchInfo
- Returns:
- the domain object
-
getTouchedViewPoint
Description copied from class:ALspViewTouchInfo
Returns the point in view coordinates that was touched.- Specified by:
getTouchedViewPoint
in classALspViewTouchInfo
- Returns:
- the point in view coordinates of the label that was touched
-
hasDepth
public boolean hasDepth()Description copied from class:ALspViewTouchInfo
Method indicating whether or not the touched geometry is painted with or without depth testing.- Specified by:
hasDepth
in classALspViewTouchInfo
- Returns:
- a flag indicating the touched label was painted with or without depth testing.
-
clone
Description copied from class:ALspTouchInfo
Returns a clone of this object. The default implementation delegates toObject.clone()
.- Specified by:
clone
in interfaceILcdCloneable
- Overrides:
clone
in classALspViewTouchInfo
- Returns:
- a clone of this object.
- See Also:
-
toString
-