Class SubBrowsingHistory
java.lang.Object
dev.webfx.platform.windowhistory.spi.impl.BrowsingHistoryBase
dev.webfx.platform.windowhistory.spi.impl.SubBrowsingHistory
- All Implemented Interfaces:
BrowsingHistory
- Author:
- Bruno Salmon
-
Constructor Summary
ConstructorsConstructorDescriptionSubBrowsingHistory
(BrowsingHistory parentBrowsingHistory, String subMountPoint) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doAcceptedPush
(BrowsingHistoryLocationImpl historyLocation) protected void
doAcceptedReplace
(BrowsingHistoryLocationImpl historyLocation) protected void
fireLocationChanged
(BrowsingHistoryLocation location) protected String
fullToMountPath
(String fullPath) void
go
(int offset) Differential navigation method.protected String
mountToFullPath
(String mountPath) void
transitionTo
(BrowsingHistoryLocation location) Methods inherited from class dev.webfx.platform.windowhistory.spi.impl.BrowsingHistoryBase
checkBeforeAsync, checkBeforeThenTransit, checkBeforeUnload, checkBeforeUnloadThenCheckBeforeThenTransit, createHistoryLocation, createHistoryLocation, createLocationKey, createPathStateLocation, doAcceptedPop, getMountPoint, getPath, isGoingBackward, listen, listenBeforeAsync, listenBeforeUnload, push, replace, setGoingBackward, setMountPoint, transit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.webfx.platform.windowhistory.spi.BrowsingHistory
goBack, goForward, listenBefore, push, push, replace, replace
-
Constructor Details
-
SubBrowsingHistory
-
-
Method Details
-
mountToFullPath
- Overrides:
mountToFullPath
in classBrowsingHistoryBase
-
fullToMountPath
- Overrides:
fullToMountPath
in classBrowsingHistoryBase
-
doAcceptedPush
- Specified by:
doAcceptedPush
in classBrowsingHistoryBase
-
doAcceptedReplace
- Specified by:
doAcceptedReplace
in classBrowsingHistoryBase
-
getCurrentLocation
- Returns:
- the current location
-
transitionTo
-
go
public void go(int offset) Description copied from interface:BrowsingHistory
Differential navigation method.- Parameters:
offset
- the differential step from the current location.
-
fireLocationChanged
- Overrides:
fireLocationChanged
in classBrowsingHistoryBase
-