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 BrowsingHistoryLocation
WindowHistory.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 TypeMethodDescriptionvoid
BrowsingHistory.transitionTo
(BrowsingHistoryLocation location) Method parameters in dev.webfx.platform.windowhistory.spi with type arguments of type BrowsingHistoryLocationModifier and TypeMethodDescriptionvoid
BrowsingHistory.listen
(Handler<BrowsingHistoryLocation> listener) Listen for changes to the current location.default void
BrowsingHistory.listenBefore
(Function<BrowsingHistoryLocation, Boolean> transitionHook) Sometimes you may want to prevent the user from going to a different page.void
BrowsingHistory.listenBeforeAsync
(Function<BrowsingHistoryLocation, Future<Boolean>> transitionHook) If your transition hook needs to execute asynchronously, you can return a future boolean.void
BrowsingHistory.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 boolean
BrowsingHistoryBase.checkBeforeUnload
(BrowsingHistoryLocation location) protected void
BrowsingHistoryBase.fireLocationChanged
(BrowsingHistoryLocation location) protected void
SubBrowsingHistory.fireLocationChanged
(BrowsingHistoryLocation location) void
MemoryBrowsingHistory.transitionTo
(BrowsingHistoryLocation location) void
SubBrowsingHistory.transitionTo
(BrowsingHistoryLocation location) Method parameters in dev.webfx.platform.windowhistory.spi.impl with type arguments of type BrowsingHistoryLocationModifier and TypeMethodDescriptionvoid
BrowsingHistoryBase.listen
(Handler<BrowsingHistoryLocation> listener) void
BrowsingHistoryBase.listenBeforeAsync
(Function<BrowsingHistoryLocation, Future<Boolean>> transitionHook) void
BrowsingHistoryBase.listenBeforeUnload
(Function<BrowsingHistoryLocation, Boolean> transitionHook)