Examples of ButtonInterval


Examples of transientlibs.preui.objects.gui.misc.ButtonInterval

    public void addInterval(int from, int to, int setID) {
        if (intervals == null) {
            intervals = new ArrayList<ButtonInterval>();
        }

        intervals.add(new ButtonInterval(from, to, setID));
    }
View Full Code Here

Examples of transientlibs.preui.objects.gui.misc.ButtonInterval

    }

    //process if Interval found
    public void tryInterval(int gotID) {

        ButtonInterval nowInterval = findInterval(gotID);
        if (nowInterval != null) {
            nowInterval.linkedEffect.processEffect();
        }
    }
View Full Code Here

Examples of transientlibs.preui.objects.gui.misc.ButtonInterval

    public ButtonInterval findInterval(int gotID) {
        if (intervals == null) {
            return null;
        } else {
            ButtonInterval nowInterval;

            Iterator<ButtonInterval> i = intervals.iterator();

            while (i.hasNext()) {

                nowInterval = i.next();

                if (nowInterval.fits(gotID)) {
                    return nowInterval;
                }

            }
            return null;
View Full Code Here

Examples of transientlibs.preui.objects.gui.misc.ButtonInterval

    }

    public int returnIntervalID(int gotID) {

        ButtonInterval nowInterval = findInterval(gotID);
        if (nowInterval != null) {
            return nowInterval.id;
        } else {
            return -1;
        }
View Full Code Here

Examples of transientlibs.preui.objects.gui.misc.ButtonInterval

    }

    public boolean checkClickEffect(IMarker clickedMarker) {

        //this part is borked
        ButtonInterval clickedInterval = clickedMarker.returnClickedInterval();
        if (clickedInterval != null) {
            //System.out.println("Yo, dawg, not null");

            if (clickedInterval.linkedEffect == null) {
                Log.error("No effect described for this interval");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.