Package ch.fork.AdHocRailway.ui.routes

Examples of ch.fork.AdHocRailway.ui.routes.RouteWidget


            groupScrollPane.setBorder(BorderFactory.createEmptyBorder());
            groupScrollPane.getVerticalScrollBar().setUnitIncrement(10);
            groupScrollPane.getVerticalScrollBar().setBlockIncrement(10);
            for (Route aRoute : routeGroup.getRoutes()) {
                RouteWidget routeWidget = new RouteWidget(aRoute);
                routeGroupTab.addWidget(routeWidget);
                routeControl.addRouteChangeListener(aRoute, routeWidget);
            }
            routeGroupsTabbedPane.add(groupScrollPane, "F" + i + ": "
                    + routeGroup.getName());
View Full Code Here


        if (obj instanceof Turnout) {
            Turnout turnout = (Turnout) obj;
            w = new StaticTurnoutWidget(turnout,
                    turnoutControl.getTurnoutState(turnout));
        } else if (obj instanceof Route) {
            w = new RouteWidget((Route) obj);
        } else {
            return;
        }
        historyWidgets.addFirst(w);
        updateHistory();
View Full Code Here

TOP

Related Classes of ch.fork.AdHocRailway.ui.routes.RouteWidget

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.