Examples of SelectionInList


Examples of com.jgoodies.binding.list.SelectionInList

  @Inject
  public ConfirmReportViewHandler(final OrderViewHandler aOrderViewHandler,
      ManagerRepository managerRepository) {
    this.managerRepository = managerRepository;
    presentationModel = new PresentationModel(new ConfirmReport());
    reportSelectionList = new SelectionInList((ListModel) presentationModel
        .getValue(ConfirmReport.PROPERTY_REPORT_LIST));
    orderViewHandler = aOrderViewHandler;

  }
View Full Code Here

Examples of com.jgoodies.binding.list.SelectionInList

        .getValue(ExternalOrderLineModel.PROPERTY_EXTERNAL_ORDER_LINE_ATTRIBUTES);
    externalAttributeList = new ArrayListModel();
    if (externalOrderLineAttributes != null) {
      externalAttributeList.addAll(externalOrderLineAttributes);
    }
    externalAttributeSelectionList = new SelectionInList(
        (ListModel) externalAttributeList);
    externalAttributeSelectionList.addPropertyChangeListener(
        SelectionInList.PROPERTYNAME_SELECTION_EMPTY,
        new EmptySelectionHandler());
View Full Code Here

Examples of com.jgoodies.binding.list.SelectionInList

    orderViewHandlerFactory = aOrderViewHandlerFactory;
    login = aLogin;
    managerRepository = aManagerRepository;

    transportableList = new ArrayListModel();
    transportableSelectionList = new SelectionInList(
        (ListModel) transportableList);
    transportViewHandler = aTransportViewHandler;
    transportList = new ArrayListModel();
    routeDate = aRouteDate;

    transportSelectionList = new SelectionInList((ListModel) transportList);

  }
View Full Code Here

Examples of com.jgoodies.binding.list.SelectionInList

      final ManagerRepository aManagerRepository) {
    super("Ulykker", aManagerRepository.getAccidentManager(), aLogin.getUserType(), true);
    managerRepository=aManagerRepository;
    login = aLogin;
    participantList = new ArrayListModel();
    participantSelectionList = new SelectionInList(
        (ListModel) participantList);
    participantSelectionList.addPropertyChangeListener(
        SelectionInList.PROPERTYNAME_SELECTION_EMPTY,
        new EmptySelectionhandler());
    initMailAndStatusList();
View Full Code Here

Examples of com.jgoodies.binding.list.SelectionInList

        productAreaList);
    if (addEmpty) {
      tmpProductAreaList.add(0, null);
    }

    return BasicComponentFactory.createComboBox(new SelectionInList(
        tmpProductAreaList, valueModel));
  }
View Full Code Here

Examples of com.jgoodies.binding.list.SelectionInList

  }

  public static JComboBox createComboBoxProductAreaGroup(
      final ValueModel valueModel) {
    initProductAreaGroupList();
    return BasicComponentFactory.createComboBox(new SelectionInList(
        productAreaGroupList, valueModel));
  }
View Full Code Here

Examples of com.jgoodies.binding.list.SelectionInList

    }

    private void createObjectList(final Collection<?> objects, final Object defaultObject) {
        objectList = new ArrayListModel(objects);

        objectSelectionList = new SelectionInList((ListModel) objectList);
        if (defaultObject != null) {
            objectSelectionList.setSelection(defaultObject);
        }
    }
View Full Code Here

Examples of com.jgoodies.binding.list.SelectionInList

    UserTypeManager userTypeManager = (UserTypeManager) ModelUtil
        .getBean("userTypeManager");
    userTypes = userTypeManager.findAll();
    userRoleList = new ArrayListModel();
    userRoleSelectionList = new SelectionInList((ListModel) userRoleList);
    userRoleSelectionList.addPropertyChangeListener(
        SelectionInList.PROPERTYNAME_SELECTION_EMPTY,
        new EmptyListenerUserRole());

    ProductAreaGroupManager productAreaGroupManager = (ProductAreaGroupManager) ModelUtil
        .getBean("productAreaGroupManager");
    productAreaGroups = productAreaGroupManager.findAll();
    userProductAreaGroupList = new ArrayListModel();
    userProductAreaGroupSelectionList = new SelectionInList(
        (ListModel) userProductAreaGroupList);
    userProductAreaGroupSelectionList.addPropertyChangeListener(
        SelectionInList.PROPERTYNAME_SELECTION_EMPTY,
        new EmptyListenerProductAreaGroup());
View Full Code Here

Examples of net.helipilot50.stocktrade.displayproject.binding.list.SelectionInList

     * @param selectionHolder  holds the selection of the combo
     * @throws NullPointerException if the list of items or the selection holder
     *         is <code>null</code>
     */
    public ComboBoxAdapter(List<?> items, ValueModel selectionHolder) {
        this(new SelectionInList(items), selectionHolder, false);
    }
View Full Code Here

Examples of net.helipilot50.stocktrade.displayproject.binding.list.SelectionInList

     * @param selectionHolder   holds the selection of the combo
     * @throws NullPointerException if the list of items or the selection holder
     *         is <code>null</code>
     */
    public ComboBoxAdapter(ListModel listModel, ValueModel selectionHolder) {
        this(new SelectionInList(listModel), selectionHolder, false);
    }
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.