org.spiffyui.client
Interface HistoryTokenListener


public interface HistoryTokenListener

The HistoryTokenListener gives applications a chance to listen for all history tokens. This mechanism differes from the HistoryCallback since it adds a more generic mechanism and requires the listener to determine which tokens it is intertested in. However, this mechanism persists history objects across browser refresh and the HistoryCallback does not.

See Also:
JSUtil.addHistoryTokenListener

Method Summary
 void tokenTrigger(java.lang.String id)
          Called when a history event is triggered with a history token.
 

Method Detail

tokenTrigger

void tokenTrigger(java.lang.String id)
Called when a history event is triggered with a history token.

Parameters:
id - the history token