Examples of TooltipInfo


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

                        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

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

        @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

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

        @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(VTabsheet.this, getElement(),
                        tooltipInfo);
            } else {
                client.registerTooltip(VTabsheet.this, getElement(), null);
View Full Code Here

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

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

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

                    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

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

                        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

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

        @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

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

Examples of org.fife.ui.rsyntaxtextarea.parser.ToolTipInfo

    // Check parsers for tool tips first.
    String text = null;
    URL imageBase = null;
    if (parserManager!=null) {
      ToolTipInfo info = parserManager.getToolTipText(e);
      if (info!=null) { // Should always be true
        text = info.getToolTipText(); // May be null
        imageBase = info.getImageBase(); // May be null
      }
    }
    if (text==null) {
      text = super.getToolTipText(e);
    }
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.