Should create a new view for the given object and return a handle to it.
Should create a new view for the given object
and return a handle to it. As a side effect should
also memorize the view in a view-tree, if such structure is maintained,
for later retrieval in viewEventAfter
Report the next interesting frame greater than the given frame for which
gridReached
(internal) and processPrepare
will be called.
Report the next interesting frame greater than the given frame for which
gridReached
(internal) and processPrepare
will be called.
If no such event exists, the method must return Long.MaxValue
.
Called during preparation of armed elements.
Called during preparation of armed elements. This
happens either during initial prepare
or during grid-events.
Given the prepareSpan
, the sub-class should
- find the elements using an intersect
- for each build a view and store it somewhere
- for each view call prepareChild
- accumulate the results of prepareChild
into a Map
that is returned.
The map will become part of IPreparing
.
if true
this is an initial preparation which means the method
must include views that start before spanP
if their span
overlaps with spanP
. If false
this is a follow up from
gridReached
and the search must be restricted to views that
start no earlier than spanP
.
Report the next interesting frame greater than the given frame for which
eventReached
(internal) and processEvent
will be called.
Report the next interesting frame greater than the given frame for which
eventReached
(internal) and processEvent
will be called.
If no such event exists, the method must return Long.MaxValue
.