static void setDefaultInput()

in kit/src/main/java/com/oracle/javafx/scenebuilder/kit/util/control/effectpicker/Utils.java [289:328]


    static void setDefaultInput(Effect effect, Effect input) {
        assert effect != null;
        if (effect instanceof Blend) {
            ((Blend) effect).setTopInput(input);
        } else if (effect instanceof Bloom) {
            ((Bloom) effect).setInput(input);
        } else if (effect instanceof BoxBlur) {
            ((BoxBlur) effect).setInput(input);
        } else if (effect instanceof ColorAdjust) {
            ((ColorAdjust) effect).setInput(input);
        } else if (effect instanceof ColorInput) {
            // No input
        } else if (effect instanceof DisplacementMap) {
            ((DisplacementMap) effect).setInput(input);
        } else if (effect instanceof DropShadow) {
            ((DropShadow) effect).setInput(input);
        } else if (effect instanceof GaussianBlur) {
            ((GaussianBlur) effect).setInput(input);
        } else if (effect instanceof Glow) {
            ((Glow) effect).setInput(input);
        } else if (effect instanceof ImageInput) {
            // No input
        } else if (effect instanceof InnerShadow) {
            ((InnerShadow) effect).setInput(input);
        } else if (effect instanceof Lighting) {
            ((Lighting) effect).setBumpInput(input);
        } else if (effect instanceof MotionBlur) {
            ((MotionBlur) effect).setInput(input);
        } else if (effect instanceof PerspectiveTransform) {
            ((PerspectiveTransform) effect).setInput(input);
        } else if (effect instanceof Reflection) {
            ((Reflection) effect).setInput(input);
        } else if (effect instanceof SepiaTone) {
            ((SepiaTone) effect).setInput(input);
        } else if (effect instanceof Shadow) {
            ((Shadow) effect).setInput(input);
        } else {
            assert false;
        }
    }