if (event.mouseEvent != null)
{
// Pass to child element, if any
VisualElement child = (VisualElement) FigureUtil.findChildFigure(this, event.x, event.y, VisualElement.class);
if (child != null)
return child.handleEvent(event);
}
else
{
if (event.type == VisualElementEvent.UPDATE_STATE)
{