Package com.jgoodies.binding.list

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


    }

    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

    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

        .getConstructionTypeManager(), aLogin.getUserType(), true);
    managerRepository = aManagerRepository;
    login = aLogin;
    isMasterOverview = masterOverview;
    attributeList = new ArrayListModel();
    attributeSelection = new SelectionInList((ListModel) attributeList);

    masterDialog = isMasterDialog;
    productAreaList = new ArrayList<ProductArea>();
    initProductAreaList();
  }
View Full Code Here

    addDefaultCosts = doAddDefaultCosts;
    tableEditable = isTableEditable;
    addInternalCost = doAddInternalCost;
    presentationModel = aPresentationModel;
    costsList = new ArrayListModel();
    costSelectionList = new SelectionInList((ListModel) costsList);
  }
View Full Code Here

    ApplicationUserManager applicationUserManager = (ApplicationUserManager) ModelUtil
        .getBean("applicationUserManager");
    userNameList = applicationUserManager.findAllNamesNotGroup();
    listCollies = new ArrayListModel();
    listTakstolArticles = new ArrayListModel();
    listColliesSelectionList = new SelectionInList((ListModel) listCollies);
    listTakstolArticleSelectionList = new SelectionInList(
        (ListModel) listTakstolArticles);
    emptySelectionListenerColli = new EmptySelectionListener(
        listColliesSelectionList);
    listColliesSelectionList.addPropertyChangeListener(
        SelectionInList.PROPERTYNAME_SELECTION_EMPTY,
View Full Code Here

        new LazyLoadEnum[][] { { LazyLoadEnum.ORDER_LINES,
            LazyLoadEnum.NONE } });
    presentationModel = new PresentationModel(new ColliModel(aColli));
    orderLineList = new ArrayListModel((List<OrderLine>) presentationModel
        .getValue(ColliModel.PROPERTY_ORDER_LINES));
    orderLineSelectionList = new SelectionInList((ListModel) orderLineList);
    objectList.add(aColli);
  }
View Full Code Here

    this.colliSetup = aColliSetup;

    statusChekers = chekers;

    mainPackageVList = new ArrayListModel();
    orderSelectionList = new SelectionInList((ListModel) mainPackageVList);
    ownOrderLineList = new ArrayListModel();
    orderLineSelectionList = new SelectionInList(
        (ListModel) ownOrderLineList);

    postShipmentList = new ArrayListModel();
    postShipmentSelectionList = new SelectionInList();

    presentationModelPackable = new PresentationModel(new OrderModel(
        new Order(), false, false, false, null, null));
    presentationModelSum = new PresentationModel(new SumOrderReadyVModel(
        new SumOrderReadyV(null, BigDecimal.valueOf(0), null, null,
View Full Code Here

    deviationTableEditable = isDeviationTableEditable;
    currentDeviation = notDisplayDeviation;
    registerNew = isForRegisterNew;
    isForOrderInfo = forOrderInfo;
    orderComments = new ArrayListModel();
    orderCommentsSelectionList = new SelectionInList(
        (ListModel) orderComments);

    orderCommentsSelectionList.addPropertyChangeListener(
        SelectionInList.PROPERTYNAME_SELECTION_INDEX,
        new CommentSelectionListener());
View Full Code Here

    functionCategoryList = new ArrayListModel();

    preventiveActionList = new ArrayListModel();

    orderLineList = new ArrayListModel();
    orderLineSelectionList = new SelectionInList((ListModel) orderLineList);

    setResponsibleList();
  }
View Full Code Here

TOP

Related Classes of com.jgoodies.binding.list.SelectionInList

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.