super.onActivate(nifty);
}
@Override
public boolean onMouseRelease(final Nifty nifty, final NiftyMouseInputEvent mouseEvent) {
publishEvent(nifty, new NiftyMousePrimaryReleaseEvent(element, mouseEvent));
boolean result = super.onMouseRelease(nifty, mouseEvent);
element.stopEffect(EffectEventId.onClick);
element.getFocusHandler().lostMouseFocus(element);
return result;
}