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
ConstructorsConstructorDescriptionTLspPaintedObjectsQuery(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 ornullif unrestricted.booleanCalled 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 ornullif 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 ornullif unrestricted.- Returns:
- the view bounds or
null
-
getResult
Returns the objects.- Specified by:
getResultin 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:
trueif the query should continue,falseif it should stop
-