public class HistoryListNode extends java.lang.Object implements HistoryNode
| Constructor and Description |
|---|
HistoryListNode(HistoryNode _previousNode,
GuideUserAction _action) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
GuideUserAction |
getAction() |
int |
getPosition() |
HistoryNode |
getPreviousNode() |
void |
setAction(GuideUserAction action) |
void |
setPreviousNode(HistoryNode node) |
java.lang.String |
toString() |
public HistoryListNode(HistoryNode _previousNode, GuideUserAction _action)
public HistoryNode getPreviousNode()
getPreviousNode in interface HistoryNodepublic GuideUserAction getAction()
getAction in interface HistoryNodepublic void setPreviousNode(HistoryNode node)
setPreviousNode in interface HistoryNodepublic void setAction(GuideUserAction action)
setAction in interface HistoryNodepublic int getPosition()
getPosition in interface HistoryNodepublic void clear() throws MaltChainedException
clear in interface HistoryNodeMaltChainedExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.