Examples of removeClassName()


Examples of com.google.gwt.dom.client.Element.removeClassName()

        el.removeClassName(STYLENAME_POSITION_TOP);
        el.removeClassName(STYLENAME_POSITION_RIGHT);
        el.removeClassName(STYLENAME_POSITION_BOTTOM);
        el.removeClassName(STYLENAME_POSITION_LEFT);
        el.removeClassName(STYLENAME_POSITION_MIDDLE);
        el.removeClassName(STYLENAME_POSITION_CENTER);
        el.removeClassName(STYLENAME_POSITION_ASSISTIVE);

        switch (position) {
        case TOP_LEFT:
            el.addClassName(STYLENAME_POSITION_TOP);
View Full Code Here

Examples of com.google.gwt.dom.client.Element.removeClassName()

        el.removeClassName(STYLENAME_POSITION_RIGHT);
        el.removeClassName(STYLENAME_POSITION_BOTTOM);
        el.removeClassName(STYLENAME_POSITION_LEFT);
        el.removeClassName(STYLENAME_POSITION_MIDDLE);
        el.removeClassName(STYLENAME_POSITION_CENTER);
        el.removeClassName(STYLENAME_POSITION_ASSISTIVE);

        switch (position) {
        case TOP_LEFT:
            el.addClassName(STYLENAME_POSITION_TOP);
            el.addClassName(STYLENAME_POSITION_LEFT);
View Full Code Here

Examples of com.google.gwt.dom.client.Element.removeClassName()

  @Override
  protected void onBlur() {
    // Remove the keyboard selection style.
    Element elem = getKeyboardSelectedElement();
    if (elem != null) {
      elem.removeClassName(style.cellListKeyboardSelectedItem());
    }
  }

  @SuppressWarnings("deprecation")
  @Override
View Full Code Here

Examples of com.google.gwt.dom.client.Element.removeClassName()

                        } else if (elemStop >= fromY && elemStop <= toY) {
                            c.addClassName("v-daterange");
                        } else if (elemStop >= fromY && elemStart <= toY) {
                            c.addClassName("v-daterange");
                        } else {
                            c.removeClassName("v-daterange");
                        }
                    }
                }
            }
View Full Code Here

Examples of com.google.gwt.dom.client.Element.removeClassName()

                for (int i = 0; i <= 47; i++) {
                    Element c = (Element) nodes.getItem(i);
                    if (c == null) {
                        continue;
                    }
                    c.removeClassName("v-daterange");
                }

                eventRangeStart = -1;
            }
        }
View Full Code Here

Examples of com.google.gwt.dom.client.Element.removeClassName()

                    {
                        element.addClassName("header-link-selected");
                        element.setAttribute("aria-selected", "true");
                    }
                    else {
                        element.removeClassName("header-link-selected");
                        element.setAttribute("aria-selected", "false");
                    }
                }
            }
        }
View Full Code Here

Examples of com.google.gwt.dom.client.Element.removeClassName()

                    {
                        element.addClassName("header-link-selected");
                        element.setAttribute("aria-selected", "true");
                    }
                    else {
                        element.removeClassName("header-link-selected");
                        element.setAttribute("aria-selected", "false");
                    }
                }
            }
        }
View Full Code Here

Examples of com.google.gwt.dom.client.Element.removeClassName()

        Iterator<Element> it = tabDivs.iterator();
        boolean first = true;
        while (it.hasNext()) {

            Element e = it.next();
            e.removeClassName(I_LayoutBundle.INSTANCE.tabbedPanelCss().cornerLeft());
            e.removeClassName(I_LayoutBundle.INSTANCE.tabbedPanelCss().cornerRight());
            if (first) {
                e.addClassName(I_LayoutBundle.INSTANCE.tabbedPanelCss().cornerLeft());
                first = false;
            }
View Full Code Here

Examples of com.google.gwt.dom.client.Element.removeClassName()

        boolean first = true;
        while (it.hasNext()) {

            Element e = it.next();
            e.removeClassName(I_LayoutBundle.INSTANCE.tabbedPanelCss().cornerLeft());
            e.removeClassName(I_LayoutBundle.INSTANCE.tabbedPanelCss().cornerRight());
            if (first) {
                e.addClassName(I_LayoutBundle.INSTANCE.tabbedPanelCss().cornerLeft());
                first = false;
            }
            if (!it.hasNext()) {
View Full Code Here

Examples of com.google.gwt.dom.client.Element.removeClassName()

    public void enableTab(E tabContent) {

        Integer index = new Integer(m_tabPanel.getWidgetIndex(tabContent));
        Element tab = getTabElement(index.intValue());
        if ((tab != null) && m_disabledTabIndexes.containsKey(index)) {
            tab.removeClassName(I_LayoutBundle.INSTANCE.tabbedPanelCss().tabDisabled());
            tab.setTitle(m_disabledTabIndexes.get(index));
            m_disabledTabIndexes.remove(index);
        }
    }
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.