Package org.eclipse.swt.browser
Class ProgressAdapter
java.lang.Object
org.eclipse.swt.browser.ProgressAdapter
- All Implemented Interfaces:
- EventListener,- ProgressListener,- SWTEventListener
This adapter class provides default implementations for the
 methods described by the 
ProgressListener interface.
 
 Classes that wish to deal with ProgressEvent's can
 extend this class and override only the methods which they are
 interested in.
 
 An alternative to this class are the static helper methods in
 ProgressListener,
 which accept a lambda expression or a method reference that implements the event consumer.
 
- Since:
- 3.0
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidchanged(ProgressEvent event) This method is called when a progress is made during the loading of the current location.voidcompleted(ProgressEvent event) This method is called when the current location has been completely loaded.
- 
Constructor Details- 
ProgressAdapterpublic ProgressAdapter()
 
- 
- 
Method Details- 
changedDescription copied from interface:ProgressListenerThis method is called when a progress is made during the loading of the current location.The following fields in the ProgressEventapply:- (in) current the progress for the location currently being loaded
- (in) total the maximum progress for the location currently being loaded
- (in) widget the Browserwhose current URL is being loaded
 - Specified by:
- changedin interface- ProgressListener
- Parameters:
- event- the- ProgressEventrelated to the loading of the current location of a- Browser
 
- 
completedDescription copied from interface:ProgressListenerThis method is called when the current location has been completely loaded.The following fields in the ProgressEventapply:- (in) widget the Browserwhose current URL has been loaded
 - Specified by:
- completedin interface- ProgressListener
- Parameters:
- event- the- ProgressEventrelated to the- Browserthat has loaded its current URL.
 
- (in) widget the 
 
-