heightProperty().addListener(evt -> draw());
this.g2 = new FXGraphics2D(getGraphicsContext2D());
this.liveHandler = null;
this.availableMouseHandlers = new ArrayList<MouseHandlerFX>();
this.availableMouseHandlers.add(new PanHandlerFX("pan", true, false,
false, false));
this.auxiliaryMouseHandlers = new ArrayList<MouseHandlerFX>();
this.auxiliaryMouseHandlers.add(new TooltipHandlerFX("tooltip"));
this.auxiliaryMouseHandlers.add(new ScrollHandlerFX("scroll"));