Package de.lessvoid.nifty.elements.events

Examples of de.lessvoid.nifty.elements.events.NiftyMousePrimaryReleaseEvent


    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;
  }
View Full Code Here

TOP

Related Classes of de.lessvoid.nifty.elements.events.NiftyMousePrimaryReleaseEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.