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 HistoryNode
public GuideUserAction getAction()
getAction
in interface HistoryNode
public void setPreviousNode(HistoryNode node)
setPreviousNode
in interface HistoryNode
public void setAction(GuideUserAction action)
setAction
in interface HistoryNode
public int getPosition()
getPosition
in interface HistoryNode
public void clear() throws MaltChainedException
clear
in interface HistoryNode
MaltChainedException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.