public class TLspPaintedObjectsQuery extends ALspPaintQuery<Collection<Object>>
Constructor and Description |
---|
TLspPaintedObjectsQuery(TLspPaintRepresentationState aPaintRepresentationState,
ILcdBounds aViewBounds)
Creates a new objects query.
|
Modifier and Type | Method and Description |
---|---|
TLspPaintRepresentationState |
getPaintRepresentationState()
Returns the paint representation state that should be queried.
|
Collection<Object> |
getResult()
Returns the objects.
|
ILcdBounds |
getViewBounds()
Returns the view bounds that should be queried or
null if unrestricted. |
boolean |
object(Object aDomainObject)
Called for all domain objects that are included in this query.
|
public TLspPaintedObjectsQuery(TLspPaintRepresentationState aPaintRepresentationState, ILcdBounds aViewBounds)
aPaintRepresentationState
- the paint representation stateaViewBounds
- the view bounds or null
if unrestrictedpublic TLspPaintRepresentationState getPaintRepresentationState()
public ILcdBounds getViewBounds()
null
if unrestricted.null
public Collection<Object> getResult()
getResult
in class ALspPaintQuery<Collection<Object>>
null
.public boolean object(Object aDomainObject)
aDomainObject
- the domain objecttrue
if the query should continue, false
if it should stop