Package com.luciad.view.lightspeed.query
Class TLspPaintedObjectsQuery
java.lang.Object
com.luciad.view.lightspeed.query.ALspPaintQuery<Collection<Object>>
com.luciad.view.lightspeed.query.TLspPaintedObjectsQuery
Query to retrieve all objects that are painted and overlap with a certain view region.
This query only takes the objects that are currently painted into account.
- Since:
- 2012.0
- See Also:
-
Constructor Summary
ConstructorDescriptionTLspPaintedObjectsQuery
(TLspPaintRepresentationState aPaintRepresentationState, ILcdBounds aViewBounds) Creates a new objects query. -
Method Summary
Modifier and TypeMethodDescriptionReturns the paint representation state that should be queried.Returns the objects.Returns the view bounds that should be queried ornull
if unrestricted.boolean
Called for all domain objects that are included in this query.
-
Constructor Details
-
TLspPaintedObjectsQuery
public TLspPaintedObjectsQuery(TLspPaintRepresentationState aPaintRepresentationState, ILcdBounds aViewBounds) Creates a new objects query.- Parameters:
aPaintRepresentationState
- the paint representation stateaViewBounds
- the view bounds ornull
if unrestricted
-
-
Method Details
-
getPaintRepresentationState
Returns the paint representation state that should be queried.- Returns:
- the paint representation state
-
getViewBounds
Returns the view bounds that should be queried ornull
if unrestricted.- Returns:
- the view bounds or
null
-
getResult
Returns the objects.- Specified by:
getResult
in classALspPaintQuery<Collection<Object>>
- Returns:
- the objects, never
null
.
-
object
Called for all domain objects that are included in this query.- Parameters:
aDomainObject
- the domain object- Returns:
true
if the query should continue,false
if it should stop
-