Class AbstractRefresher
- java.lang.Object
- 
- com._1c.g5.aef2.standard.definitions.refresher.AbstractRefresher
 
- 
- All Implemented Interfaces:
- IRefresher
 - Direct Known Subclasses:
- AbstractBmRefresher,- MdAdoptedPropertyChangeRefresher,- ModelDrivenRefresher
 
 public abstract class AbstractRefresher extends Object implements IRefresher The abstract implementation ofIRefresher. It doesn't listen any service, so it never triggers therefresh(boolean). Override this behavior.- See Also:
- IManagingComponent
 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractRefresher()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()Disposes the refresher instance.protected IManagingComponent<?>getComponent()Returns the component the refresher is initialized by ornull.voidinitialize(IManagingComponent<?> component)Initializes the refresher by theIManagingComponent.voidrefresh(boolean forced)Performs the refresh.
 The refresh can beforcedor not.
 
- 
- 
- 
Method Detail- 
initializepublic void initialize(IManagingComponent<?> component) Description copied from interface:IRefresherInitializes the refresher by theIManagingComponent.- Specified by:
- initializein interface- IRefresher
- Parameters:
- component- the component, cannot be- null.
 
 - 
refreshpublic void refresh(boolean forced) Description copied from interface:IRefresherPerforms the refresh.
 The refresh can beforcedor 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'.- Specified by:
- refreshin interface- IRefresher
- Parameters:
- forced- the flag indicating whether use forced refresh or not.
 
 - 
disposepublic void dispose() Description copied from interface:IRefresherDisposes the refresher instance.- Specified by:
- disposein interface- IRefresher
 
 - 
getComponentprotected IManagingComponent<?> getComponent() Returns the component the refresher is initialized by ornull.- Returns:
- the component the refresher is initialized by or null.
- See Also:
- initialize(IManagingComponent)
 
 
- 
 
-