Examples of SetOptions


Examples of com.barrybecker4.game.multiplayer.set.SetOptions

    /**
     * @return Set game options tab panel.
     */
    @Override
    protected JComponent[] getControllerParamComponents() {
        SetOptions options = (SetOptions) controller_.getOptions();

        initialNumCards_ =
                new NumberInput(GameContext.getLabel("INITIAL_NUM_CARDS"), options.getInitialNumCardsShown(),
                                GameContext.getLabel("INITIAL_NUM_CARDS_TIP"), 8, 81, true);

        initMultiControllerParamComponents(options);

        return new JComponent[] {initialNumCards_, maxNumPlayers_, numRobotPlayers_};
View Full Code Here

Examples of com.barrybecker4.game.multiplayer.set.SetOptions

    }


    @Override
    public GameOptions getOptions() {
        return new SetOptions(maxNumPlayers_.getIntValue(),
                              numRobotPlayers_.getIntValue(),
                              initialNumCards_.getIntValue());
    }
View Full Code Here

Examples of gui.action.SetOptions

    optionsMenu = new JMenu(this.properties.getValue("optionsMenu"));
    JMenuItem options = new JMenuItem(properties.getValue("options"));
    JMenuItem help = new JMenuItem(properties.getValue("help"));
    JMenuItem about = new JMenuItem(properties.getValue("about"));

    options.addActionListener(new SetOptions(this.properties, MainFrame.myRef));
    help.addActionListener(new LaunchHelp());
    about.addActionListener(new AboutHamsam());

    this.optionsMenu.add(options);
    this.optionsMenu.add(help);
View Full Code Here

Examples of jmt.gui.jmodel.controller.actions.SetOptions

    openModel = new OpenModel(this);
    saveModel = new SaveModel(this);
    setConnect = new SetConnectState(this);
    actionCopy = new ActionCopy(this);
    actionCut = new ActionCut(this);
    setOptions = new SetOptions(this);
    actionPaste = new ActionPaste(this);
    setSelect = new SetSelectState(this);
    actionDelete = new ActionDelete(this);
    simulate = new Simulate(this);
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.