Android Open Source - Android-GUI-Creator Finger State






From Project

Back to project page Android-GUI-Creator.

License

The source code is released under:

GNU General Public License

If you think the Android project Android-GUI-Creator listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*
 * Copyright (c) 2012./*  w  w w  .j ava 2  s  . co m*/
 * This file is part of Android Interface Toolkit application.
 *
 * Android Interface Toolkit is free software: you can redistribute it
 * and/or modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * Android Interface Toolkit is distributed in the hope that it will be
 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
 * Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with Android Interface Toolkit.  If not, see <http://www.gnu.org/licenses/>.
 */

package name.wildswift.android.guitool.gesture.helpers;

/**
 * Class for saving basic state of each finger gesture
 *
 * 12.02.12
 *
 * @author Swift
 */
public class FingerState {
    private Long downTime;
    private int fingerNum = 0;
    private boolean down;

    public Long getDownTime() {
        return downTime;
    }

    public void setDownTime(Long downTime) {
        this.downTime = downTime;
    }

    public int getFingerNum() {
        return fingerNum;
    }

    public void setFingerNum(int fingerNum) {
        this.fingerNum = fingerNum;
    }


    public boolean isDown() {
        return down;
    }

    public void setDown(boolean down) {
        this.down = down;
    }
}




Java Source Code List

name.wildswift.android.guitool.AndroidInterfaceTool.java
name.wildswift.android.guitool.MainBuilderScreen.java
name.wildswift.android.guitool.decorators.TestView.java
name.wildswift.android.guitool.decorators.ViewDecorator.java
name.wildswift.android.guitool.gesture.CompositeGestureDetector.java
name.wildswift.android.guitool.gesture.OnGestureListener.java
name.wildswift.android.guitool.gesture.gestures.DoubleTap.java
name.wildswift.android.guitool.gesture.gestures.GestureType.java
name.wildswift.android.guitool.gesture.gestures.Gesture.java
name.wildswift.android.guitool.gesture.gestures.LongPress.java
name.wildswift.android.guitool.gesture.gestures.MotionPoint.java
name.wildswift.android.guitool.gesture.gestures.SingleTap.java
name.wildswift.android.guitool.gesture.helpers.DetectorsElement.java
name.wildswift.android.guitool.gesture.helpers.FingerState.java
name.wildswift.android.guitool.gesture.helpers.LongPressWrapper.java
name.wildswift.android.guitool.gesture.helpers.OnGestureListenerWrapper.java
name.wildswift.android.guitool.gesture.recognizers.DoubleTapRecognizer.java
name.wildswift.android.guitool.gesture.recognizers.GestureRecognizer.java
name.wildswift.android.guitool.gesture.recognizers.LongPressRecognizer.java
name.wildswift.android.guitool.gesture.recognizers.SingleTapRecognizer.java
name.wildswift.android.guitool.gesture.recognizers.simple.DoubleTapSimpleGesture.java
name.wildswift.android.guitool.gesture.recognizers.simple.DownSimpleGesture.java
name.wildswift.android.guitool.gesture.recognizers.simple.FlingSimpleGesture.java
name.wildswift.android.guitool.gesture.recognizers.simple.LongPressSimpleGesture.java
name.wildswift.android.guitool.gesture.recognizers.simple.ScrollSimpleGesture.java
name.wildswift.android.guitool.gesture.recognizers.simple.SimpleGesture.java
name.wildswift.android.guitool.gesture.recognizers.simple.SingleTapSimpleGesture.java
name.wildswift.android.guitool.view.RotateDrawable.java
name.wildswift.android.guitool.view.SlidePanel.java