Package com.vaadin.terminal.gwt.client

Examples of com.vaadin.terminal.gwt.client.TooltipInfo


                addStyleDependentName(itemStyle);
            }

            if (uidl.hasAttribute("description")) {
                String description = uidl.getStringAttribute("description");
                TooltipInfo info = new TooltipInfo(description);

                VMenuBar root = findRootMenu();
                client.registerTooltip(root, this, info);
            }
        }
View Full Code Here


                    addStyleName(CLASSNAME + "-row-" + rowStyle);
                }

                String rowDescription = uidl.getStringAttribute("rowdescr");
                if (rowDescription != null && !rowDescription.equals("")) {
                    TooltipInfo info = new TooltipInfo(rowDescription);
                    client.registerTooltip(VScrollTable.this, rowElement, info);
                } else {
                    // Remove possibly previously set tooltip
                    client.registerTooltip(VScrollTable.this, rowElement, null);
                }
View Full Code Here

                        break;
                    }
                }

                if (description != null && !description.equals("")) {
                    TooltipInfo info = new TooltipInfo(description);
                    client.registerTooltip(VScrollTable.this, td, info);
                } else {
                    // Remove possibly previously set tooltip
                    client.registerTooltip(VScrollTable.this, td, null);
                }
View Full Code Here

        @Override
        public boolean updateCaption(UIDL uidl) {
            if (uidl.hasAttribute(ATTRIBUTE_DESCRIPTION)
                    || uidl.hasAttribute(ATTRIBUTE_ERROR)) {
                TooltipInfo tooltipInfo = new TooltipInfo();
                tooltipInfo.setTitle(uidl
                        .getStringAttribute(ATTRIBUTE_DESCRIPTION));
                if (uidl.hasAttribute(ATTRIBUTE_ERROR)) {
                    tooltipInfo.setErrorUidl(uidl.getErrors());
                }
                client.registerTooltip(getTabsheet(), getElement(), tooltipInfo);
            } else {
                client.registerTooltip(getTabsheet(), getElement(), null);
            }
View Full Code Here

                addStyleDependentName(itemStyle);
            }

            if (uidl.hasAttribute("description")) {
                String description = uidl.getStringAttribute("description");
                TooltipInfo info = new TooltipInfo(description);

                VMenuBar root = findRootMenu();
                client.registerTooltip(root, this, info);
            }
        }
View Full Code Here

TOP

Related Classes of com.vaadin.terminal.gwt.client.TooltipInfo

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.