Uses of Class
featurecat.lizzie.rules.BoardHistoryNode
-
Packages that use BoardHistoryNode Package Description featurecat.lizzie.gui featurecat.lizzie.rules -
-
Uses of BoardHistoryNode in featurecat.lizzie.gui
Methods in featurecat.lizzie.gui that return types with arguments of type BoardHistoryNode Modifier and Type Method Description java.util.Optional<BoardHistoryNode>
VariationTree. draw(java.awt.Graphics2D g, int posx, int posy, int width, int height, boolean calc)
java.util.Optional<BoardHistoryNode>
VariationTree. drawTree(java.awt.Graphics2D g, int posx, int posy, int startLane, int maxposy, int minposx, BoardHistoryNode startNode, int variationNumber, boolean isMain, boolean calc)
Methods in featurecat.lizzie.gui with parameters of type BoardHistoryNode Modifier and Type Method Description java.util.Optional<BoardHistoryNode>
VariationTree. drawTree(java.awt.Graphics2D g, int posx, int posy, int startLane, int maxposy, int minposx, BoardHistoryNode startNode, int variationNumber, boolean isMain, boolean calc)
java.awt.Color
LizzieFrame. getBlunderNodeColor(BoardHistoryNode node)
double
LizzieFrame. lastWinrateDiff(BoardHistoryNode node)
-
Uses of BoardHistoryNode in featurecat.lizzie.rules
Methods in featurecat.lizzie.rules that return BoardHistoryNode Modifier and Type Method Description BoardHistoryNode
BoardHistoryNode. add(BoardHistoryNode node)
Sets up for a new node.BoardHistoryNode
BoardHistoryNode. addOrGoto(BoardData data)
If we already have a next node with the same BoardData, move to it, otherwise add it and move to it.BoardHistoryNode
BoardHistoryNode. addOrGoto(BoardData data, boolean newBranch)
If we already have a next node with the same BoardData, move to it, otherwise add it and move to it.BoardHistoryNode
BoardHistoryNode. childAtDepth(int depth)
Given some depth, returns the child at the given depth in the main trunk.BoardHistoryNode
BoardHistoryNode. findTop()
Find top of variation (the first move that is on the main trunk)BoardHistoryNode
BoardHistoryList. getCurrentHistoryNode()
BoardHistoryNode
BoardHistoryList. root()
Returns the root nodeBoardHistoryNode
BoardHistoryNode. topOfBranch()
Methods in featurecat.lizzie.rules that return types with arguments of type BoardHistoryNode Modifier and Type Method Description java.util.Optional<BoardHistoryNode>
BoardHistoryNode. findChildOfPreviousWithVariation()
Find first move with variations in tree above node.java.util.Optional<BoardHistoryNode>
BoardHistoryNode. firstParentWithVariations()
Finds the first parent with variations.java.util.List<BoardHistoryNode>
BoardHistoryList. getNexts()
java.util.Optional<BoardHistoryNode>
BoardHistoryNode. getVariation(int idx)
java.util.List<BoardHistoryNode>
BoardHistoryNode. getVariations()
java.util.Optional<BoardHistoryNode>
BoardHistoryNode. next()
java.util.Optional<BoardHistoryNode>
BoardHistoryNode. previous()
Methods in featurecat.lizzie.rules with parameters of type BoardHistoryNode Modifier and Type Method Description BoardHistoryNode
BoardHistoryNode. add(BoardHistoryNode node)
Sets up for a new node.int
BoardHistoryNode. depthOfNode(BoardHistoryNode childNode)
Given a child node, find the depth of that child node in its parentint
BoardHistoryNode. findIndexOfNode(BoardHistoryNode childNode, boolean allSub)
Given a child node, find the index of that child node in its parentint
BoardHistoryNode. indexOfNode(BoardHistoryNode childNode)
Given a child node, find the index of that child node in its parentvoid
BoardHistoryNode. moveChildDown(BoardHistoryNode child)
void
BoardHistoryNode. moveChildUp(BoardHistoryNode child)
void
Board. moveToAnyPosition(BoardHistoryNode targetNode)
Jump anywhere in the board history tree.void
Board. restoreMoveNumber(BoardHistoryNode node)
Restore move number by nodevoid
Board. saveBackRouting(BoardHistoryNode node)
Save the back routing from childrenvoid
BoardHistoryNode. swapMoveNumberList(BoardHistoryNode child)
-