Examples of ValueChangeListener


Examples of com.vaadin.data.Property.ValueChangeListener

        select.setInputPrompt("Font size");
        select.setDescription("Font size");
        select.setImmediate(true);
        select.setNullSelectionAllowed(false);
        select.setNewItemsAllowed(false);
        select.addValueChangeListener(new ValueChangeListener() {

            @Override
            public void valueChange(ValueChangeEvent event) {
                // Get the new font size
                Integer fontSize = (Integer) select.getValue();
View Full Code Here

Examples of javax.faces.event.ValueChangeListener

    public void testEventsQueueing() throws Exception {
        HtmlInputText input = new HtmlInputText();

        final TestCallback testCallback = new TestCallback();
        input.addValueChangeListener(new ValueChangeListener() {
            public void processValueChange(ValueChangeEvent event) throws AbortProcessingException {
                testCallback.getAndIncrement();
                assertEquals(data.get(1), getVarValue());
            }
        });
View Full Code Here

Examples of org.jdesktop.binding.ValueChangeListener

        installDataModelListener();
        installMetaDataListener();
    }

    protected void installDataModelListener() {
        dataModel.addValueChangeListener(new ValueChangeListener() {
            public void valueChanged(ValueChangeEvent e) {
                if (e.getFieldName().equals(fieldName) &&
                      !pushing) {
                    pull();
                }
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.