/* (non-Javadoc)
* @see org.mt4j.input.inputProcessors.IGestureEventListener#processGestureEvent(org.mt4j.input.inputProcessors.MTGestureEvent)
*/
//@Override
public boolean processGestureEvent(MTGestureEvent g) {
ArcBallGestureEvent aEvt = (ArcBallGestureEvent)g;
if (!useCustomTarget)
target = aEvt.getTargetComponent();
if (target instanceof MTComponent){
((MTComponent)target).sendToFront();
}
if (aEvt.getId() == ArcBallGestureEvent.GESTURE_UPDATED){
if (target instanceof MTComponent){
MTComponent comp = (MTComponent)target;
comp.transform(aEvt.getTransformationMatrix());
}
}
return false;
}