Package de.ailis.xadrian.dialogs

Examples of de.ailis.xadrian.dialogs.ChangeSunsDialog


     * @return The change suns dialog.
     */
    public synchronized ChangeSunsDialog getChangeSunsDialog()
    {
        if (this.changeSunsDialog == null)
            this.changeSunsDialog = new ChangeSunsDialog(this);
        return this.changeSunsDialog;
    }
View Full Code Here


     * Changes the suns.
     */
    @Override
    public void changeSuns()
    {
        final ChangeSunsDialog dialog =
            this.complex.getGame().getChangeSunsDialog();
        dialog.setSuns(this.complex.getSuns());
        if (dialog.open() == Result.OK)
        {
            this.complex.setSuns(dialog.getSuns());
            doChange();
            redraw();
        }
    }
View Full Code Here

TOP

Related Classes of de.ailis.xadrian.dialogs.ChangeSunsDialog

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.