rewrite-integration-gwt 2.0.0.Alpha6

org.ocpsoft.rewrite.gwt.client.history
Class HistoryStateImpl

java.lang.Object
  extended by com.google.gwt.user.client.impl.HistoryImpl
      extended by org.ocpsoft.rewrite.gwt.client.history.HistoryStateImpl
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasValueChangeHandlers<String>, com.google.gwt.event.shared.HasHandlers

public class HistoryStateImpl
extends com.google.gwt.user.client.impl.HistoryImpl

History implementation based on pushState


Constructor Summary
HistoryStateImpl()
           
 
Method Summary
static ListenerRegistration addContextPathListener(ContextPathListener listener)
           
protected  String cleanToken(String historyToken)
           
static String getContextPath()
           
 boolean init()
           
 boolean initNative()
           
static boolean isInitialized()
           
protected  void nativeUpdate(String historyToken)
           
protected  void update(String historyToken)
           
 
Methods inherited from class com.google.gwt.user.client.impl.HistoryImpl
addValueChangeHandler, decodeFragment, encodeFragment, fireEvent, fireHistoryChangedImpl, getHandlers, getToken, nativeUpdateOnEvent, newItem, newItemOnEvent, setToken, setUpdateHashOnIE6
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryStateImpl

public HistoryStateImpl()
Method Detail

init

public boolean init()
Overrides:
init in class com.google.gwt.user.client.impl.HistoryImpl

addContextPathListener

public static ListenerRegistration addContextPathListener(ContextPathListener listener)

getContextPath

public static String getContextPath()

isInitialized

public static boolean isInitialized()

initNative

public boolean initNative()

cleanToken

protected String cleanToken(String historyToken)

nativeUpdate

protected void nativeUpdate(String historyToken)
Overrides:
nativeUpdate in class com.google.gwt.user.client.impl.HistoryImpl

update

protected void update(String historyToken)

rewrite-integration-gwt 2.0.0.Alpha6

Copyright © 2013 OCPsoft. All Rights Reserved.