congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
Element.removeAttribute
Code IndexAdd Tabnine to your IDE (free)

How to use
removeAttribute
method
in
com.google.gwt.user.client.Element

Best Java code snippets using com.google.gwt.user.client.Element.removeAttribute (Showing top 20 results out of 315)

origin: com.google.gwt/gwt-servlet

/**
 * Sets the title associated with this object. The title is the 'tool-tip'
 * displayed to users when they hover over the object.
 * 
 * @param title the object's new title
 */
public void setTitle(String title) {
 if (title == null || title.length() == 0) {
  getElement().removeAttribute("title");
 } else {
  getElement().setAttribute("title", title);
 }
}
origin: gwtbootstrap/gwt-bootstrap

/**
 * Creates an empty TextBox.
 */
public TextBox() {
  super();
  getElement().removeAttribute("class");
}

origin: org.eclipse.che.core/che-core-ide-ui

 /** Removes mark from text box. */
 public void unmark() {
  getElement().removeAttribute("success");
  getElement().removeAttribute("error");
 }
}
origin: gwtbootstrap3/gwtbootstrap3

/**
 * Removes the attribute from the UiObject
 *
 * @param attributeName attribute name
 */
public void removeAttribute(final String attributeName) {
  uiObject.getElement().removeAttribute(attributeName);
}
origin: org.gwtbootstrap3/gwtbootstrap3

public void setDataLoadingText(final String loadingText) {
  if (loadingText != null) {
    getElement().setAttribute(Attributes.DATA_LOADING_TEXT, loadingText);
  } else {
    getElement().removeAttribute(Attributes.DATA_LOADING_TEXT);
  }
}
origin: gwtbootstrap3/gwtbootstrap3

@Override
public void setDataParent(final String dataParent) {
  if (dataParent != null) {
    uiObject.getElement().setAttribute(Attributes.DATA_PARENT, dataParent);
  } else {
    uiObject.getElement().removeAttribute(Attributes.DATA_PARENT);
  }
}
origin: org.eclipse.che.core/che-core-ide-app

@Override
public void wrapText(boolean wrap) {
 if (wrap) {
  consoleLines.getElement().setAttribute("wrap", "");
 } else {
  consoleLines.getElement().removeAttribute("wrap");
 }
}
origin: org.eclipse.che.core/che-core-ide-app

@Override
public void enableStopButton(boolean enable) {
 if (enable) {
  stopProcessButton.getElement().removeAttribute("disabled");
 } else {
  stopProcessButton.getElement().setAttribute("disabled", "");
 }
}
origin: GwtMaterialDesign/gwt-material

public void setAttribute(String value) {
  if (value != null) {
    uiObject.getElement().setAttribute(attribute, value);
  } else {
    uiObject.getElement().removeAttribute(attribute);
  }
}
origin: gwtbootstrap3/gwtbootstrap3

@Override
public void setDataTarget(final String dataTarget) {
  if (dataTarget != null) {
    uiObject.getElement().setAttribute(Attributes.DATA_TARGET, dataTarget);
  } else {
    uiObject.getElement().removeAttribute(Attributes.DATA_TARGET);
  }
}
origin: gwtbootstrap3/gwtbootstrap3

public void setFor(final String f) {
  if (f != null) {
    getElement().setAttribute(Attributes.FOR, f);
  } else {
    getElement().removeAttribute(Attributes.FOR);
  }
}
origin: org.gwtbootstrap3/gwtbootstrap3

@Override
public void setDataParent(final String dataParent) {
  if (dataParent != null) {
    uiObject.getElement().setAttribute(Attributes.DATA_PARENT, dataParent);
  } else {
    uiObject.getElement().removeAttribute(Attributes.DATA_PARENT);
  }
}
origin: gwtbootstrap3/gwtbootstrap3

@Override
public void setDataSpy(final Spy spy) {
  if (spy != null) {
    uiObject.getElement().setAttribute(Attributes.DATA_SPY, spy.getSpy());
  } else {
    uiObject.getElement().removeAttribute(Attributes.DATA_SPY);
  }
}
origin: org.eclipse.che.core/che-core-ide-app

/** {@inheritDoc} */
@Override
public void setFocus(boolean focused) {
 if (focusedWidget != null) {
  focusedWidget.getElement().removeAttribute("focused");
 }
 focusedWidget = partStackContent.getVisibleWidget();
 if (focused && focusedWidget != null) {
  focusedWidget.getElement().setAttribute("focused", "");
 }
}
origin: org.gwtbootstrap3/gwtbootstrap3

@Override
public void setDataSpy(final Spy spy) {
  if (spy != null) {
    uiObject.getElement().setAttribute(Attributes.DATA_SPY, spy.getSpy());
  } else {
    uiObject.getElement().removeAttribute(Attributes.DATA_SPY);
  }
}
origin: gwtbootstrap/gwt-bootstrap

/**
 * Set/unset the data-toggle behavior.
 * 
 * @param type
 */
public void setToggle(ToggleType type) {
  if (type == null || type == ToggleType.NONE) {
    getElement().removeAttribute(Constants.DATA_TOGGLE);
    return;
  }
  getElement().setAttribute(Constants.DATA_TOGGLE, type.get());
}
origin: gwtbootstrap3/gwtbootstrap3

public void setPrev(final boolean prev) {
  getElement().removeAttribute(Attributes.DATA_SLIDE);
  getElement().setAttribute(Attributes.DATA_SLIDE, Carousel.PREV);
  StyleHelper.toggleStyleName(this, prev, Styles.LEFT);
  icon.addStyleName(Styles.ICON_PREV);
}
origin: gwtbootstrap3/gwtbootstrap3

public void setNext(final boolean next) {
  getElement().removeAttribute(Attributes.DATA_SLIDE);
  getElement().setAttribute(Attributes.DATA_SLIDE, Carousel.NEXT);
  StyleHelper.toggleStyleName(this, next, Styles.RIGHT);
  icon.addStyleName(Styles.ICON_NEXT);
}
origin: gwtbootstrap3/gwtbootstrap3

@Override
public void setEnabled(final boolean enabled) {
  if (enabled) {
    uiObject.removeStyleName(Styles.DISABLED);
    uiObject.getElement().removeAttribute(DISABLED);
  } else {
    uiObject.addStyleName(Styles.DISABLED);
    uiObject.getElement().setAttribute(DISABLED, "");
  }
}
origin: GwtMaterialDesign/gwt-material

private void applyEnabled(boolean enabled, UIObject obj) {
  if (enabled) {
    obj.removeStyleName(CssName.DISABLED);
    obj.getElement().removeAttribute(DISABLED);
  } else {
    obj.addStyleName(CssName.DISABLED);
    obj.getElement().setAttribute(DISABLED, "");
  }
  updateWaves(enabled, obj);
}
com.google.gwt.user.clientElementremoveAttribute

Popular methods of Element

  • getStyle
  • setAttribute
  • appendChild
  • setId
  • getParentElement
  • cast
  • setInnerText
  • getId
  • setInnerHTML
  • addClassName
  • getAttribute
  • getInnerHTML
  • getAttribute,
  • getInnerHTML,
  • getFirstChildElement,
  • getInnerText,
  • getClientWidth,
  • removeChild,
  • getChildCount,
  • getOffsetHeight,
  • removeClassName

Popular in Java

  • Creating JSON documents from java classes using gson
  • getContentResolver (Context)
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (Timer)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Collectors (java.util.stream)
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now