Interface IRefresher
-
- All Known Implementing Classes:
AbstractBmRefresher
,AbstractRefresher
,MdAdoptedPropertyChangeRefresher
,ModelDrivenRefresher
public interface IRefresher
The AEF 2.0 refresher that is used forIManagingComponent
. Refresher is the way to notify managing component about the refresh is required.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose()
Disposes the refresher instance.void
initialize(IManagingComponent<?> component)
Initializes the refresher by theIManagingComponent
.void
refresh(boolean forced)
Performs the refresh.
The refresh can beforced
or not.
-
-
-
Method Detail
-
initialize
void initialize(IManagingComponent<?> component)
Initializes the refresher by theIManagingComponent
.- Parameters:
component
- the component, cannot benull
.
-
refresh
void refresh(boolean forced)
Performs the refresh.
The refresh can beforced
or not. The forced refresh means that the receiving component shouldn't decide whether to refresh the scene entirely or not. It just rebuilds itself, so the existing components will be destroyed (disposed) and the new ones will be created.
On the other hand the force-less refresh means that the receiving component choices to refresh the scene or just update the separate components (or even does nothing) in accordance with its knowledge about the 'context'.- Parameters:
forced
- the flag indicating whether use forced refresh or not.
-
dispose
void dispose()
Disposes the refresher instance.
-
-