es.ucm.look.ar.hud
Class Button
java.lang.Object
es.ucm.look.ar.ar3D.core.drawables.Mesh3D
es.ucm.look.ar.ar3D.core.drawables.primitives.TrianglePrimitive
es.ucm.look.ar.hud.Button
- All Implemented Interfaces:
- Drawable3D
public class Button
- extends TrianglePrimitive
Constructor Summary |
Button(float x,
float y,
float width,
float height)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Button
public Button(float x,
float y,
float width,
float height)
actionPerformed
public void actionPerformed()
contains
public boolean contains(float touchX,
float touchY)
isPressed
public boolean isPressed()
setActionListener
public void setActionListener(ActionListener listener)
setPressed
public void setPressed(boolean p)