litesoft
Diff Revisions
712
vs
718
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/historian/Historian.java
|
@@ -19,16 +19,28 @@ |
19 |
19 |
|
void addValueChangeHandler( ValueChangeHandler<String> valueChangeHandler ); |
20 |
20 |
|
|
21 |
21 |
|
/** |
22 |
|
- |
* @return the current history token. |
|
22 |
+ |
* @return the current token. |
23 |
23 |
|
*/ |
24 |
24 |
|
String getToken(); |
25 |
25 |
|
|
26 |
26 |
|
/** |
|
27 |
+ |
* @return Current history/url depth; 1 indicates that the history stack has only the CURRENT url on it, and <code>back()</code> will fail. |
|
28 |
+ |
*/ |
|
29 |
+ |
int depth(); |
|
30 |
+ |
|
|
31 |
+ |
/** |
|
32 |
+ |
* @return true if the call to goBack() is expected to succeed.. |
|
33 |
+ |
*/ |
|
34 |
+ |
boolean backable(); |
|
35 |
+ |
|
|
36 |
+ |
/** |
27 |
37 |
|
* Programmatic equivalent to the user pressing the browser's 'back' button. |
28 |
|
- |
* |
|
38 |
+ |
* <p/> |
29 |
39 |
|
* Note that this does not work correctly on Safari 2. |
|
40 |
+ |
* |
|
41 |
+ |
* @return true if depth() > 1 and the back was actually requested. |
30 |
42 |
|
*/ |
31 |
|
- |
void back(); |
|
43 |
+ |
boolean back(); |
32 |
44 |
|
|
33 |
45 |
|
/** |
34 |
46 |
|
* Adds a new browser history entry. Calling this method will cause |