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 voiddoAcceptedPush(BrowsingHistoryLocationImpl historyLocation) protected voiddoAcceptedReplace(BrowsingHistoryLocationImpl historyLocation) protected voidfireLocationChanged(BrowsingHistoryLocation location) protected StringfullToMountPath(String fullPath) voidgo(int offset) Differential navigation method.protected StringmountToFullPath(String mountPath) voidtransitionTo(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, transitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.webfx.platform.windowhistory.spi.BrowsingHistory
goBack, goForward, listenBefore, push, push, replace, replace
-
Constructor Details
-
SubBrowsingHistory
-
-
Method Details
-
mountToFullPath
- Overrides:
mountToFullPathin classBrowsingHistoryBase
-
fullToMountPath
- Overrides:
fullToMountPathin classBrowsingHistoryBase
-
doAcceptedPush
- Specified by:
doAcceptedPushin classBrowsingHistoryBase
-
doAcceptedReplace
- Specified by:
doAcceptedReplacein classBrowsingHistoryBase
-
getCurrentLocation
- Returns:
- the current location
-
transitionTo
-
go
public void go(int offset) Description copied from interface:BrowsingHistoryDifferential navigation method.- Parameters:
offset- the differential step from the current location.
-
fireLocationChanged
- Overrides:
fireLocationChangedin classBrowsingHistoryBase
-