Examples of ButtonEffect


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

    public static void setLastText(String setText) {
        lastTextMarker.textCapsule.text = setText;
    }

    public void isFocusedOnClick() {
        addPayload(new ButtonEffect(ButtonEffect.EffectType.FocusedOnClick, this));
    }
View Full Code Here

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

        }
    }

    public void setScrollUpMarker(Marker setMarker) {
        scrollUpButton = setMarker;
        scrollUpButton.addPayload(new ButtonEffect(this, ButtonEffect.EffectType.ScrollUpEffect));
    }
View Full Code Here

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

        scrollUpButton.addPayload(new ButtonEffect(this, ButtonEffect.EffectType.ScrollUpEffect));
    }

    public void setScrollDownMarker(Marker setMarker) {
        scrollDownButton = setMarker;
        scrollDownButton.addPayload(new ButtonEffect(this, ButtonEffect.EffectType.ScrollDownEffect));
    }
View Full Code Here

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

    }

    public void addInterval(int from, int to, Menu setToggleGroup) {
        addInterval(from, to, -1);

        intervals.get(intervals.size() - 1).linkedEffect = new ButtonEffect(setToggleGroup);
    }
View Full Code Here

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

    }

    public void addStateInterval(int from, int to, int toStateEffect) {
        addInterval(from, to, -1);

        intervals.get(intervals.size() - 1).linkedEffect = new ButtonEffect(toStateEffect);
    }
View Full Code Here

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

          TextMarker temp = getTextMarker(byCode);
          result = new TextField (temp);

          replaceMarker(temp, result);

          result.addPayload(new ButtonEffect (result, this));
          //result.textCapsule.highlightedColour = result.textCapsule.colour;
        
        return result;
    }
View Full Code Here

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

            actionButtons.textVAlign = VerticalAlign.top;


            actionButtons.addOption("New game");
            //TextMarker.lastTextMarker.acts.addStateTransition(Detonator.INSTANCE.currentGenericGame.getNewGameStateID());
            TextMarker.lastTextMarker.addPayload(new ButtonEffect (Detonator.INSTANCE.currentGenericGame.getNewGameStateID()));

            //uncomment later
            //actionButtons.addStateOption ("About team", Detonator.INSTANCE.currentGame.CreditsStateID);



            actionButtons.addOption("Quit");
            //uncomment later
            TextMarker.lastTextMarker.addPayload(new ButtonEffect (TransientGame.QuitStateID));


            actionButtons.complete();
        }
    }
View Full Code Here

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

            }
        }

        if (PlusImage != null) {                     
            PlusImage.getPayload().clear();
            PlusImage.addPayload(new ButtonEffect(value, ButtonEffect.EffectType.IncrementEffect));
            PlusImage.addPayload(new ButtonEffect(pointPool, ButtonEffect.EffectType.DecrementEffect));
            PlusImage.addPayload(new ButtonEffect(this, ButtonEffect.EffectType.reCalcMarker));          
        }

        if (MinusImage != null) {
            MinusImage.getPayload().clear();
            MinusImage.addPayload(new ButtonEffect(value, ButtonEffect.EffectType.DecrementEffect));
            MinusImage.addPayload(new ButtonEffect(pointPool, ButtonEffect.EffectType.IncrementEffect));
            MinusImage.addPayload(new ButtonEffect(this, ButtonEffect.EffectType.reCalcMarker));
        }

    }
View Full Code Here

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

        textCapsule.text = "";
    }

    public void addNumberPayload(UIHub inHub) {
        finishProcessors.add(new EnteredNumber(this));
        finishProcessors.add(new ButtonEffect (ButtonEffect.EffectType.resetCatcher, inHub));
    }
View Full Code Here

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

        finishProcessors.add(new ButtonEffect (ButtonEffect.EffectType.resetCatcher, inHub));
    }
   

    public void addFocusPayload(UIHub setHub) {
    addPayload(new ButtonEffect (this, setHub));
    }
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.