Package lighthouse.subwindows

Examples of lighthouse.subwindows.PledgeWindow


        Main.instance.getHostServices().showDocument(url);
    }

    private void makePledge(Project p) {
        log.info("Invoking pledge screen");
        PledgeWindow window = Main.instance.<PledgeWindow>overlayUI("subwindows/pledge.fxml", "Pledge").controller;
        window.project = p;
        window.setLimits(p.getGoalAmount().subtract(Coin.valueOf(pledgedValue.get())), p.getMinPledgeAmount());
        window.onSuccess = () -> {
            mode = Mode.PLEDGED;
            updateGUIForState();
        };
    }
View Full Code Here

TOP

Related Classes of lighthouse.subwindows.PledgeWindow

Copyright © 2018 www.massapicom. 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.