litesoft
@ 965
litesoft / trunk / GWT_Sandbox / FormEngine / src / com / temp / foundation / client / pavment / internal / Historian.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
package com.temp.foundation.client.pavment.internal; import com.google.gwt.event.logical.shared.*; import com.google.gwt.user.client.*; /** * Interface to History related events. Provides nice * isolation for unit testing, and allows pre- or post-processing of tokens. * Methods correspond to the like named methods on {@link History}. */ public interface Historian { /** * Adds a {@link com.google.gwt.event.logical.shared.ValueChangeEvent} * handler to be informed of changes to the browser's history stack. * <p/> * Note: As this message does NOT return the Handler Registration, once registered there is not way to remove it. */ void addValueChangeHandler( ValueChangeHandler<String> valueChangeHandler ); /** * @return the current history token. */ String getToken(); /** * Adds a new browser history entry. Calling this method will cause * {@link ValueChangeHandler#onValueChange(ValueChangeEvent)} * to be called as well. */ void newItem( String token, boolean issueEvent ); } |
Commits for litesoft/trunk/GWT_Sandbox/FormEngine/src/com/temp/foundation/client/pavment/internal/Historian.java
Revision | Author | Commited | Message |
---|---|---|---|
965 | GeorgeS | Fri 01 Aug, 2014 03:20:35 +0000 | ! |