Package com.vaadin.ui

Examples of com.vaadin.ui.AbstractComponent


                            + " Most likely client (browser) closed socket.");
            return;
        }

        // Finds the original source of the error/exception
        AbstractComponent component = findAbstractComponent(event);
        if (component != null) {
            // Shows the error in AbstractComponent
            ErrorMessage errorMessage = AbstractErrorMessage
                    .getErrorMessageForException(t);
            component.setComponentError(errorMessage);
        }

        // also print the error on console
        getLogger().log(Level.SEVERE, "", t);
    }
View Full Code Here


                        Transferable transferable = event.getTransferable();
                        Component sourceComponent = transferable
                                .getSourceComponent();

                        if (sourceComponent != layout.getParent()) {
                            AbstractComponent c = createComponentFromPaletteItem(
                                    sourceComponent.getCaption(), null);
                            if (c != null) {
                                addComponent(c);
                                layout.removeComponent(placeholder);
                            }
View Full Code Here

            TargetDetails dropTargetData = dropEvent.getTargetDetails();
            DropTarget target = dropTargetData.getTarget();

            if (sourceComponent.getParent() != layout) {
                AbstractComponent c = getWrappedComponent(
                        createComponentFromPaletteItem(
                                sourceComponent.getCaption(), null), this);

                int index = 0;
                Iterator<Component> componentIterator = layout
View Full Code Here

TOP

Related Classes of com.vaadin.ui.AbstractComponent

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.