blob: efc713aef3d3b9d0eaaf6e7a012b1ad6e16040b9 [file] [log] [blame]
package com.intellij.vcs.log.graph.render;
import com.intellij.vcs.log.graph.elements.GraphElement;
import com.intellij.vcs.log.printmodel.GraphPrintCell;
import com.intellij.vcs.log.printmodel.SpecialPrintElement;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.awt.*;
/**
* @author erokhins
*/
public interface GraphCellPainter {
void draw(@NotNull Graphics2D g2, @NotNull GraphPrintCell row);
@Nullable
GraphElement mouseOver(@NotNull GraphPrintCell row, int x, int y);
@Nullable
SpecialPrintElement mouseOverArrow(@NotNull GraphPrintCell row, int x, int y);
}