Class BrowsingHistoryLocationImpl
java.lang.Object
dev.webfx.platform.windowlocation.spi.impl.PathLocationImpl
dev.webfx.platform.windowlocation.spi.impl.PathStateLocationImpl
dev.webfx.platform.windowhistory.spi.impl.BrowsingHistoryLocationImpl
- All Implemented Interfaces:
BrowsingHistoryLocation,PathLocation,PathStateLocation
public final class BrowsingHistoryLocationImpl
extends PathStateLocationImpl
implements BrowsingHistoryLocation
- Author:
- Bruno Salmon
-
Constructor Summary
ConstructorsConstructorDescriptionBrowsingHistoryLocationImpl(PathStateLocation location, BrowsingHistoryEvent event, String key) -
Method Summary
Modifier and TypeMethodDescriptiongetEvent()Returns an history event that describes the type of change that has been done to the URL to get there.Returns a location key of the current URL.voidsetEvent(BrowsingHistoryEvent event) Methods inherited from class dev.webfx.platform.windowlocation.spi.impl.PathStateLocationImpl
getStateMethods inherited from class dev.webfx.platform.windowlocation.spi.impl.PathLocationImpl
equals, getFragment, getPathname, getQueryString, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.webfx.platform.windowlocation.spi.PathLocation
getFragment, getHash, getPath, getPathname, getQueryString, getSearchMethods inherited from interface dev.webfx.platform.windowlocation.spi.PathStateLocation
getState
-
Constructor Details
-
BrowsingHistoryLocationImpl
public BrowsingHistoryLocationImpl(PathStateLocation location, BrowsingHistoryEvent event, String key)
-
-
Method Details
-
setEvent
-
getEvent
Description copied from interface:BrowsingHistoryLocationReturns an history event that describes the type of change that has been done to the URL to get there.- Specified by:
getEventin interfaceBrowsingHistoryLocation- Returns:
- an BrowsingHistoryEvent object
-
getLocationKey
Description copied from interface:BrowsingHistoryLocationReturns a location key of the current URL. A location key is a unique string that identifies a location. It is the one piece of data that most accurately answers the question "Where am I?".- Specified by:
getLocationKeyin interfaceBrowsingHistoryLocation
-