Examples of addValueChangeListener()


Examples of com.jgoodies.binding.list.SelectionInList.addValueChangeListener()

        SelectionInList weekSelectionList = viewHandler
                .getWeekSelectionList(yearWeekAdapter);
        comboBoxWeeks = BasicComponentFactory.createComboBox(weekSelectionList);
        comboBoxWeeks.setSelectedItem(Util.getCurrentWeek());
        weekSelectionList.addValueChangeListener(viewHandler
                .getWeekChangeListener(yearWeek, window));

        buttonRefresh = viewHandler.getRefreshButton(window);
        buttonCancel = viewHandler.getCancelButton(window);
        buttonPrint = viewHandler.getPrintButton(window);
View Full Code Here

Examples of com.jgoodies.binding.value.BufferedValueModel.addValueChangeListener()

        presentationModel
            .getBufferedModel(OrderModel.PROPERTY_DELIVERY_WEEK)));
    comboBoxDeliveryWeek.setName("DeliveryWeek");
    orderViewHandler.addEditComponent(comboBoxDeliveryWeek);

    bufferedValueModel
        .addValueChangeListener(new CustomerSelectionHandler());

    comboBoxProductArea = orderViewHandler
        .getComboBoxProductArea(presentationModel);
View Full Code Here

Examples of com.jgoodies.binding.value.ValueModel.addValueChangeListener()

     */
    private void initRadioButtons(boolean bbsAllowed, ValueModel triggerChannel)
    {
        ValueModel storageModel = new BufferedValueModel(
            new PropertyAdapter(userPrefs, UserPreferences.PROP_TAGS_STORAGE), triggerChannel);
        storageModel.addValueChangeListener(new StorageTypeListener());

        rbStorageNone = ComponentsFactory.createRadioButton(
            Strings.message("userprefs.tab.tags.dont.share"));
        rbStorageNone.setModel(new RadioButtonAdapter(storageModel,
            UserPreferences.TAGS_STORAGE_NONE));
View Full Code Here

Examples of com.vaadin.data.Property.ValueChangeNotifier.addValueChangeListener()

            for (final Object propertyId : item.getItemPropertyIds()) {
                final Property property = item.getItemProperty(propertyId);
                if (property instanceof ValueChangeNotifier) {
                    final ValueChangeNotifier notifier = (ValueChangeNotifier) property;
                    notifier.addValueChangeListener(this);
                    propertyItemMapCache.put(property, item);
                }
            }

        }
View Full Code Here

Examples of com.vaadin.ui.CheckBox.addValueChangeListener()

                }
            }
        });
        final CheckBox resizeable = new CheckBox("Resizeable");
        resizeable.setValue(w.isResizable());
        resizeable.addValueChangeListener(new ValueChangeListener() {

            @Override
            public void valueChange(ValueChangeEvent event) {
                w.setResizable(resizeable.getValue());
            }
View Full Code Here

Examples of com.vaadin.ui.CheckBox.addValueChangeListener()

            }
        });
        ((ComponentContainer) w.getContent()).addComponent(resizeable);
        final CheckBox closeable = new CheckBox("Closeable");
        closeable.setValue(w.isClosable());
        closeable.addValueChangeListener(new ValueChangeListener() {

            @Override
            public void valueChange(ValueChangeEvent event) {
                w.setClosable(closeable.getValue());
            }
View Full Code Here

Examples of com.vaadin.ui.CheckBox.addValueChangeListener()

        addComponent(table);
        final CheckBox multiselect = new CheckBox("Multiselect");
        multiselect.setImmediate(true);
        multiselect.setId("multiselect");
        multiselect.addValueChangeListener(new ValueChangeListener() {

            @Override
            public void valueChange(ValueChangeEvent event) {
                Boolean value = multiselect.getValue();
                table.setMultiSelect(value == null ? false : value);
View Full Code Here

Examples of com.vaadin.ui.CheckBox.addValueChangeListener()

        table.setMultiSelect(true);
        table.setNullSelectionAllowed(true);
        table.setSelectable(true);

        CheckBox selectAllCheckbox = new CheckBox("Select All");
        selectAllCheckbox.addValueChangeListener(new ValueChangeListener() {
            @Override
            public void valueChange(
                    com.vaadin.data.Property.ValueChangeEvent event) {
                Object checked = event.getProperty().getValue();
                if (checked instanceof Boolean) {
View Full Code Here

Examples of com.vaadin.ui.CheckBox.addValueChangeListener()

        startDateField = createDateField("Start date");
        endDateField = createDateField("End date");

        final CheckBox allDayField = createCheckBox("All-day");
        allDayField.addValueChangeListener(new Property.ValueChangeListener() {

            private static final long serialVersionUID = -7104996493482558021L;

            @Override
            public void valueChange(ValueChangeEvent event) {
View Full Code Here

Examples of com.vaadin.ui.CheckBox.addValueChangeListener()

                Collections.singletonList("Option"));
        optionGroup.setNewItemsAllowed(true);

        final CheckBox readOnlyCheckbox = new CheckBox("read-only");
        readOnlyCheckbox.setImmediate(true);
        readOnlyCheckbox
                .addValueChangeListener(new Property.ValueChangeListener() {
                    @Override
                    public void valueChange(Property.ValueChangeEvent event) {
                        optionGroup.setReadOnly(readOnlyCheckbox.getValue());
                    }
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.