public abstract class AxisGestureListener extends Object implements GlimpseGestureListener
Modifier and Type | Field and Description |
---|---|
double |
zoomConstant |
Constructor and Description |
---|
AxisGestureListener() |
Modifier and Type | Method and Description |
---|---|
void |
addAxisGestureListener(Touchable touchable) |
void |
move(Axis1D axis,
boolean horizontal,
int posX,
int posY) |
void |
pan(Axis1D axis,
boolean horizontal,
float dX,
float dY) |
void |
select(Axis1D axis,
boolean horizontal,
float posX,
float posY) |
void |
setAllowPan(boolean b) |
void |
setAllowSelect(boolean b) |
void |
setAllowSelectionLock(boolean b) |
void |
setAllowSelectionZoom(boolean b) |
void |
setAllowZoom(boolean b) |
void |
toggleSelectionLock(Axis1D axis) |
void |
zoom(Axis1D axis,
boolean horizontal,
float posX,
float posY,
float scale) |
void |
zoomSelection(Axis1D axis,
boolean horizontal,
int zoomIncrements,
int posX,
int posY) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
longPressDetected, panDetected, pinchDetected, swipeDetected, tapDetected
public final double zoomConstant
public void addAxisGestureListener(Touchable touchable)
public void setAllowSelectionLock(boolean b)
public void setAllowSelectionZoom(boolean b)
public void setAllowZoom(boolean b)
public void setAllowPan(boolean b)
public void setAllowSelect(boolean b)
public void pan(Axis1D axis, boolean horizontal, float dX, float dY)
public void zoom(Axis1D axis, boolean horizontal, float posX, float posY, float scale)
public void select(Axis1D axis, boolean horizontal, float posX, float posY)
public void zoomSelection(Axis1D axis, boolean horizontal, int zoomIncrements, int posX, int posY)
public void move(Axis1D axis, boolean horizontal, int posX, int posY)
public void toggleSelectionLock(Axis1D axis)
Copyright © 2013 Metron, Inc.. All rights reserved.