Package com.jgoodies.binding.adapter

Examples of com.jgoodies.binding.adapter.SingleListSelectionAdapter


        removeGroupButton = new JButton(new RemoveLocomotiveGroupAction());

        locomotiveModel = new SelectionInList<Locomotive>();
        locomotivesTable = new JTable();
        locomotivesTable.setModel(new LocomotiveTableModel(locomotiveModel));
        locomotivesTable.setSelectionModel(new SingleListSelectionAdapter(
                locomotiveModel.getSelectionIndexHolder()));

        addLocomotiveButton = new JButton(new AddLocomotiveAction());
        removeLocomotiveButton = new JButton(new RemoveLocomotiveAction());
View Full Code Here


        routeItemModel = new SelectionInList<RouteItem>();
        routeItemTable = new JTable();
        routeItemTable.setModel(new RouteItemTableModel(routeItemModel));
        routeItemTable.setRowHeight(30);
        routeItemTable.setSelectionModel(new SingleListSelectionAdapter(
                routeItemModel.getSelectionIndexHolder()));

        routeItemModel.setList(new ArrayList<RouteItem>(presentationModel
                .getBean().getRouteItems()));
View Full Code Here

    tableCost = new JXTable();
    refreshCosts();
    tableCost.setModel(new CostTableModel(costSelectionList, tableEditable,
        presentationModel));
    tableCost.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    tableCost.setSelectionModel(new SingleListSelectionAdapter(
        costSelectionList.getSelectionIndexHolder()));
    tableCost.setColumnControlVisible(true);
    tableCost.setSearchable(null);
    components.add(tableCost);
    tableCost.setName("TableCost");
View Full Code Here

    table = new JXTable();
    tableModel = new ColliOrderLineTableModel(orderLineSelectionList,
        orderLineList);
    table.setModel(tableModel);
    table.setSelectionModel(new SingleListSelectionAdapter(
        orderLineSelectionList.getSelectionIndexHolder()));
    table.setColumnControlVisible(true);
    table.addMouseListener(new TableClickHandler());

    table.packAll();
View Full Code Here

    menuItemDeviation.addActionListener(new MenuItemListenerDeviation(
        window));
    tableOrders = new JXTable();
    packageOrderTableModel = new PackageOrderTableModel(orderSelectionList);
    tableOrders.setModel(packageOrderTableModel);
    tableOrders.setSelectionModel(new SingleListSelectionAdapter(
        orderSelectionList.getSelectionIndexHolder()));
    tableOrders.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    tableOrders.setColumnControlVisible(true);
    tableOrders.getColumnExt(2).setVisible(false);
    tableOrders.getColumnExt(2).setVisible(false);
View Full Code Here

  public JXTable getTablePostShipment(WindowInterface window) {
    tablePostShipment = new JXTable();
    packagePostShipmentTableModel = new PackagePostShipmentTableModel(
        postShipmentSelectionList);
    tablePostShipment.setModel(packagePostShipmentTableModel);
    tablePostShipment.setSelectionModel(new SingleListSelectionAdapter(
        postShipmentSelectionList.getSelectionIndexHolder()));
    tablePostShipment.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    tablePostShipment.setColumnControlVisible(true);
    tablePostShipment.getColumnExt(2).setVisible(false);
    tablePostShipment.getColumnExt(2).setVisible(false);
View Full Code Here

    tableOrderLines = new JXTable();
    tableOrderLines.setFilters(filterPipeline1);
    tableModelOrderLines = new PackageOrderLineTableModel(
        orderLineSelectionList, orderLineManager, window);
    tableOrderLines.setModel(tableModelOrderLines);
    tableOrderLines.setSelectionModel(new SingleListSelectionAdapter(
        orderLineSelectionList.getSelectionIndexHolder()));
    tableOrderLines.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    tableOrderLines.setColumnControlVisible(true);

    tableOrderLines.setRowHeight(40);
View Full Code Here

TOP

Related Classes of com.jgoodies.binding.adapter.SingleListSelectionAdapter

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.