Package featurecat.lizzie.gui
Class VariationTree
- java.lang.Object
-
- featurecat.lizzie.gui.VariationTree
-
public class VariationTree extends Object
-
-
Constructor Summary
Constructors Constructor Description VariationTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(Graphics2D g, int posx, int posy, int width, int height)
Optional<BoardHistoryNode>
draw(Graphics2D g, int posx, int posy, int width, int height, boolean calc)
Optional<BoardHistoryNode>
drawTree(Graphics2D g, int posx, int posy, int startLane, int maxposy, int minposx, BoardHistoryNode startNode, int variationNumber, boolean isMain, boolean calc)
boolean
inNode(int x, int y)
void
onClicked(int x, int y)
-
-
-
Method Detail
-
drawTree
public Optional<BoardHistoryNode> drawTree(Graphics2D g, int posx, int posy, int startLane, int maxposy, int minposx, BoardHistoryNode startNode, int variationNumber, boolean isMain, boolean calc)
-
draw
public void draw(Graphics2D g, int posx, int posy, int width, int height)
-
draw
public Optional<BoardHistoryNode> draw(Graphics2D g, int posx, int posy, int width, int height, boolean calc)
-
inNode
public boolean inNode(int x, int y)
-
onClicked
public void onClicked(int x, int y)
-
-