litesoft
@ 950
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 32 33 34 35 36 37 38 |
package org.litesoft.GWT.client.historian; 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 token. */ String getToken(); /** * Programmatic equivalent to the user pressing the browser's 'back' button. * <p/> * Note that this does not work correctly on Safari 2. */ void back(); /** * 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/Java/GWT/Client/src/org/litesoft/GWT/client/historian/Historian.java
Revision | Author | Commited | Message |
---|---|---|---|
950 Diff | GeorgeS | Thu 19 Jun, 2014 17:57:04 +0000 | New Lines |
948 Diff | GeorgeS | Sat 07 Jun, 2014 23:42:39 +0000 | Jusefuls Formatter Updated to New Code Format |
728 Diff | GeorgeS | Sat 16 Jun, 2012 23:39:49 +0000 | |
718 Diff | GeorgeS | Sun 10 Jun, 2012 01:44:05 +0000 | |
712 | GeorgeS | Sat 09 Jun, 2012 22:46:04 +0000 | Move PAV stuff into LiteSoft |