java.lang.Object | |
↳ | com.google.gwt.user.client.impl.HistoryImpl |
Native implementation associated with
History
. User classes should not use this
class directly.
This base version uses the HTML5 standard window.onhashchange event to determine when the URL hash identifier changes.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a
ValueChangeEvent handler to be informed of changes to the
browser's history stack. | |||||||||||
Fires the given event to the handlers listening to the event's type.
| |||||||||||
Fires the
ValueChangeEvent to all handlers with the given tokens. | |||||||||||
This method is deprecated.
This is no longer necessary, as the underlying performance
problem has been solved. It is now a no-op.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The standard updateHash implementation assigns to location.hash() with an
encoded history token.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface com.google.gwt.event.logical.shared.HasValueChangeHandlers | |||||||||||
From interface com.google.gwt.event.shared.HasHandlers |
Adds a ValueChangeEvent
handler to be informed of changes to the
browser's history stack.
handler | the handler |
---|
Fires the given event to the handlers listening to the event's type.
Any exceptions thrown by handlers will be bundled into a
UmbrellaException
and then re-thrown after all handlers have
completed. An exception thrown by a handler will not prevent other handlers
from executing.
event | the event |
---|
Fires the ValueChangeEvent
to all handlers with the given tokens.
This method is deprecated.
This is no longer necessary, as the underlying performance
problem has been solved. It is now a no-op.
Sets whether the IE6 history implementation will update the URL hash when creating a new item. This should be used only for applications with large DOM structures that are suffering from performance problems when creating a new history item on IE6 and 7.
The standard updateHash implementation assigns to location.hash() with an encoded history token.