de.lessvoid.nifty.elements
Class ElementInteraction
java.lang.Object
de.lessvoid.nifty.elements.ElementInteraction
public class ElementInteraction
- extends Object
All ElementInteraction is handled in here.
- Author:
- void
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementInteraction
public ElementInteraction(Nifty niftyParam,
Element element)
resetMouseDown
public void resetMouseDown()
getPrimary
public ElementInteractionClickHandler getPrimary()
getSecondary
public ElementInteractionClickHandler getSecondary()
getTertiary
public ElementInteractionClickHandler getTertiary()
setOnMouseOver
public void setOnMouseOver(NiftyMethodInvoker method)
setOnMouseWheelMethod
public void setOnMouseWheelMethod(NiftyMethodInvoker method)
onMouseOver
public boolean onMouseOver(Element element,
NiftyMouseInputEvent inputEvent)
onMouseWheel
public boolean onMouseWheel(Element element,
NiftyMouseInputEvent inputEvent)
setAlternateKey
public void setAlternateKey(String newAlternateKey)
process
public boolean process(NiftyMouseInputEvent mouseEvent,
long eventTime,
boolean mouseInside,
boolean canHandleInteraction,
boolean hasMouseAccess)
activate
public void activate(Nifty nifty)
Copyright © 2011. All Rights Reserved.