Uses of Interface
dev.webfx.platform.windowhistory.spi.BrowsingHistoryLocation
Packages that use BrowsingHistoryLocation
Package
Description
-
Uses of BrowsingHistoryLocation in dev.webfx.platform.windowhistory
Methods in dev.webfx.platform.windowhistory that return BrowsingHistoryLocationModifier and TypeMethodDescriptionstatic BrowsingHistoryLocationWindowHistory.getCurrentLocation() -
Uses of BrowsingHistoryLocation in dev.webfx.platform.windowhistory.spi
Methods in dev.webfx.platform.windowhistory.spi that return BrowsingHistoryLocationModifier and TypeMethodDescriptionBrowsingHistory.createHistoryLocation(String path, ReadOnlyAstObject state) BrowsingHistory.getCurrentLocation()Methods in dev.webfx.platform.windowhistory.spi with parameters of type BrowsingHistoryLocationModifier and TypeMethodDescriptionvoidBrowsingHistory.transitionTo(BrowsingHistoryLocation location) Method parameters in dev.webfx.platform.windowhistory.spi with type arguments of type BrowsingHistoryLocationModifier and TypeMethodDescriptionvoidBrowsingHistory.listen(Handler<BrowsingHistoryLocation> listener) Listen for changes to the current location.default voidBrowsingHistory.listenBefore(Function<BrowsingHistoryLocation, Boolean> transitionHook) Sometimes you may want to prevent the user from going to a different page.voidBrowsingHistory.listenBeforeAsync(Function<BrowsingHistoryLocation, Future<Boolean>> transitionHook) If your transition hook needs to execute asynchronously, you can return a future boolean.voidBrowsingHistory.listenBeforeUnload(Function<BrowsingHistoryLocation, Boolean> transitionHook) A before unload hook is a function that is used in web browsers to prevent the user from navigating away from the page or closing the window. -
Uses of BrowsingHistoryLocation in dev.webfx.platform.windowhistory.spi.impl
Classes in dev.webfx.platform.windowhistory.spi.impl that implement BrowsingHistoryLocationMethods in dev.webfx.platform.windowhistory.spi.impl that return BrowsingHistoryLocationModifier and TypeMethodDescriptionBrowsingHistoryBase.createHistoryLocation(String path, ReadOnlyAstObject state) SubBrowsingHistory.getCurrentLocation()Methods in dev.webfx.platform.windowhistory.spi.impl with parameters of type BrowsingHistoryLocationModifier and TypeMethodDescriptionBrowsingHistoryBase.checkBeforeAsync(BrowsingHistoryLocation location) protected booleanBrowsingHistoryBase.checkBeforeUnload(BrowsingHistoryLocation location) protected voidBrowsingHistoryBase.fireLocationChanged(BrowsingHistoryLocation location) protected voidSubBrowsingHistory.fireLocationChanged(BrowsingHistoryLocation location) voidMemoryBrowsingHistory.transitionTo(BrowsingHistoryLocation location) voidSubBrowsingHistory.transitionTo(BrowsingHistoryLocation location) Method parameters in dev.webfx.platform.windowhistory.spi.impl with type arguments of type BrowsingHistoryLocationModifier and TypeMethodDescriptionvoidBrowsingHistoryBase.listen(Handler<BrowsingHistoryLocation> listener) voidBrowsingHistoryBase.listenBeforeAsync(Function<BrowsingHistoryLocation, Future<Boolean>> transitionHook) voidBrowsingHistoryBase.listenBeforeUnload(Function<BrowsingHistoryLocation, Boolean> transitionHook)