Examples of TurnoutWidget


Examples of ch.fork.AdHocRailway.ui.turnouts.TurnoutWidget

                .getModel(Turnout.PROPERTYNAME_ORIENTATION);
        turnoutOrientationComboBox = BasicComponentFactory
                .createComboBox(new SelectionInList<TurnoutOrientation>(
                        TurnoutOrientation.values(), orientationModel));

        testTurnoutWidget = new TurnoutWidget(presentationModel.getBean(), true);
        if (!isTurnoutReadyToTest(presentationModel.getBean()))
            testTurnoutWidget.setEnabled(false);

        okButton = new JButton(new ApplyChangesAction());
        cancelButton = new JButton(new CancelAction());
View Full Code Here

Examples of ch.fork.AdHocRailway.ui.turnouts.TurnoutWidget

            // Dimension dim = new Dimension(groupScrollPane.getSize().width,
            // 4000);
            // switchGroupTab.setPreferredSize(dim);
            for (Turnout turnout : turnoutGroup.getTurnouts()) {
                TurnoutWidget switchWidget = new TurnoutWidget(turnout);
                switchGroupTab.addWidget(switchWidget);
            }
            i++;
        }
    }
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.