public class CmsHistoryState extends com.vaadin.shared.AbstractComponentState
| Modifier and Type | Field and Description |
|---|---|
static int |
HISTORY_BACK
The history back flag.
|
static int |
HISTORY_FORWARD
The history forward flag.
|
| Constructor and Description |
|---|
CmsHistoryState() |
| Modifier and Type | Method and Description |
|---|---|
int |
getHistoryDirection()
Returns the history direction.
|
boolean |
isHistoryBack()
Returns if the history direction is back.
|
boolean |
isHistoryForward()
Returns if the history direction is forward.
|
void |
setHistoryDirection(int direction)
Sets the history direction.
|
public static final int HISTORY_BACK
public static final int HISTORY_FORWARD
public CmsHistoryState()
public int getHistoryDirection()
public boolean isHistoryBack()
true if the history direction is backpublic boolean isHistoryForward()
true if the history direction is forwardpublic void setHistoryDirection(int direction)
Use -1 for history back, and +1 for history forward.
direction - the history direction