Package com.smartgwt.client.widgets.form.fields.events

Examples of com.smartgwt.client.widgets.form.fields.events.ItemHoverHandler


            dampeningRuleSelection.setValueMap(rules);
            dampeningRuleSelection.setDefaultValue(AlertDampening.Category.NONE.name());
            dampeningRuleSelection.setWrapTitle(false);
            dampeningRuleSelection.setRedrawOnChange(true);
            dampeningRuleSelection.setHoverWidth(300);
            dampeningRuleSelection.addItemHoverHandler(new ItemHoverHandler() {
                @Override
                public void onItemHover(ItemHoverEvent event) {
                    String selection = dampeningRuleSelection.getValue().toString();
                    dampeningRuleSelection.setTooltip(getCategoryHelp(selection));
                }
View Full Code Here


        final ComboBoxItem severityLevel = new ComboBoxItem();
        severityLevel.setTitle("Severity Level");
        severityLevel.setValueMap("Severity 1", "Severity 2", "Severity 3");
        severityLevel.setDefaultValue("Severity 2");
        severityLevel.addItemHoverHandler(new ItemHoverHandler() {
      public void onItemHover(ItemHoverEvent event) {
        String prompt = "Status can only be changed by the bug's owner";
            if (!severityLevel.isDisabled()) {
              prompt = getHoverText((String) severityLevel.getValue());
            }
View Full Code Here

TOP

Related Classes of com.smartgwt.client.widgets.form.fields.events.ItemHoverHandler

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.