Tabnine Logo
Element.setInnerSafeHtml
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: kaaproject/kaa

loginTitle.getElement().setInnerSafeHtml(
  SafeHtmlUtils.fromSafeConstant(Utils.messages.loginTitle()));
origin: kaaproject/kaa

getSaveButtonWidget().setText(Utils.constants.save());
getCancelButtonWidget().setText(Utils.constants.cancel());
requiredFieldsNoteLabel.getElement().setInnerSafeHtml(
  SafeHtmlUtils.fromSafeConstant(Utils.messages
    .requiredFieldsNote(Utils.avroUiStyle
origin: com.google.gwt/gwt-servlet

/**
 * Redraw the widget.
 */
public void redraw() {
 SafeHtmlBuilder sb = new SafeHtmlBuilder();
 cell.render(createContext(), value, sb);
 getElement().setInnerSafeHtml(sb.toSafeHtml());
 /*
  * The rendered Cell should fill the root element so height and width styles
  * applied to the widget also apply to the Cell. If there is exactly one
  * child element, the height and width are set to 100% to fill the parent.
  */
 Element child = getElement().getFirstChildElement();
 if (child != null && child.getNextSiblingElement() == null) {
  child.getStyle().setHeight(100, Unit.PCT);
  child.getStyle().setWidth(100, Unit.PCT);
 }
}
origin: GwtMaterialDesign/gwt-material

  @Override
  public void setText(String text) {
    getElement().setInnerSafeHtml(SafeHtmlUtils.fromString(text));
  }
}
origin: com.github.gwtmaterialdesign/gwt-material

  @Override
  public void setText(String text) {
    getElement().setInnerSafeHtml(SafeHtmlUtils.fromString(text));
  }
}
origin: com.github.gwtmaterialdesign/gwt-material-addins

@Override
public void setTitle(String title) {
  this.title = title;
  divTitle.getElement().setInnerSafeHtml(SafeHtmlUtils.fromString(title));
}
origin: GwtMaterialDesign/gwt-material

@Override
public void setHTML(final String html) {
  getElement().setInnerSafeHtml(SafeHtmlUtils.fromString(html));
}
origin: oVirt/ovirt-engine

@Override
protected IsWidget createBodyPanel(SafeHtml header, Snapshot entity) {
  descriptionHeaderPanel.getElement().setInnerSafeHtml(header);
  createAdditionalInfoPanel();
  return bodyPanel;
}
origin: GwtMaterialDesign/gwt-material

@Override
public void setValue(String value, boolean fireEvents) {
  header.getElement().setInnerSafeHtml(SafeHtmlUtils.fromString(value));
  super.setValue(value, fireEvents);
}
origin: de.knightsoft-net/gwt-mt-widgets

@Override
public void setValue(final Double pvalue) {
 value = pvalue;
 final double rating = pvalue == null ? 0.0 : pvalue.doubleValue();
 final SafeHtmlBuilder stars = new SafeHtmlBuilder();
 for (int i = 1; i <= max; i++) {
  appendStar(stars, i, rating);
 }
 panel.getElement().setInnerSafeHtml(stars.toSafeHtml());
}
origin: com.github.gwtmaterialdesign/gwt-material

@Override
public void setValue(String value, boolean fireEvents) {
  header.getElement().setInnerSafeHtml(SafeHtmlUtils.fromString(value));
  super.setValue(value, fireEvents);
}
origin: ManfredTremmel/gwt-bean-validators

@Override
public void setValue(final Double pvalue) {
 value = pvalue;
 final double rating = pvalue == null ? 0.0 : pvalue.doubleValue();
 final SafeHtmlBuilder stars = new SafeHtmlBuilder();
 for (int i = 1; i <= max; i++) {
  appendStar(stars, i, rating);
 }
 panel.getElement().setInnerSafeHtml(stars.toSafeHtml());
}
origin: com.github.gwtmaterialdesign/gwt-material-addins

@Override
public void setDescription(String description) {
  this.description = description;
  divDescription.setStyleName(AddinsCssName.DESCRIPTION);
  divDescription.getElement().setInnerSafeHtml(SafeHtmlUtils.fromString(description));
  conBody.insert(divDescription, 1);
}
origin: org.eclipse.che.core/che-core-ide-app

ToolbarButton(SafeHtml content) {
 super(Document.get().createDivElement());
 getElement().setInnerSafeHtml(content);
 addStyleName(RESOURCES.css().button());
}
origin: com.github.gwtmaterialdesign/gwt-material-addins

protected void applyIconStatus(MaterialIcon icon, String description) {
  iconError.removeFromParent();
  iconSuccess.removeFromParent();
  divCircle.removeFromParent();
  conCircle.insert(icon, 0);
  if (description != null) {
    divDescription.getElement().setInnerSafeHtml(SafeHtmlUtils.fromString(description));
  }
}
origin: GwtMaterialDesign/gwt-material

/**
 * Sets the header of the collection component.
 */
public void setHeader(String header) {
  headerLabel.getElement().setInnerSafeHtml(SafeHtmlUtils.fromString(header));
  addStyleName(CssName.WITH_HEADER);
  ListItem item = new ListItem(headerLabel);
  UiHelper.addMousePressedHandlers(item);
  item.setStyleName(CssName.COLLECTION_HEADER);
  insert(item, 0);
}
origin: org.eclipse.che.core/che-core-ide-app

 HeaderWidget() {
  super();
  addStyleName(RESOURCES.commandToolbarCss().previewUrlWidget());
  final SafeHtmlBuilder safeHtmlBuilder = new SafeHtmlBuilder();
  safeHtmlBuilder.appendHtmlConstant(FontAwesome.BULLSEYE);
  getElement().setInnerSafeHtml(safeHtmlBuilder.toSafeHtml());
 }
}
origin: org.eclipse.che.core/che-core-ide-app

 ActionButton(SafeHtml content) {
  super(Document.get().createDivElement());
  getElement().setInnerSafeHtml(content);
  asWidget().addStyleName(RESOURCES.commandToolbarCss().processWidgetActionButton());
 }
}
origin: com.github.gwtmaterialdesign/gwt-material

/**
 * Sets the header of the collection component.
 */
public void setHeader(String header) {
  headerLabel.getElement().setInnerSafeHtml(SafeHtmlUtils.fromString(header));
  addStyleName(CssName.WITH_HEADER);
  ListItem item = new ListItem(headerLabel);
  UiHelper.addMousePressedHandlers(item);
  item.setStyleName(CssName.COLLECTION_HEADER);
  insert(item, 0);
}
origin: oVirt/ovirt-engine

@Override
protected IsWidget createBodyPanel(SafeHtml header, VmNetworkInterface networkInterface) {
  checkBoxPanel.add(createExpandIconPanel());
  iconPanel.add(createLinkStatusPanel(isInterfaceUp(networkInterface)));
  iconPanel.add(createCardPluggedStatusPanel(isCardPlugged(networkInterface)));
  iconPanel.add(new NetworkIcon());
  descriptionHeaderPanel.getElement().setInnerSafeHtml(header);
  return bodyPanel;
}
com.google.gwt.user.clientElementsetInnerSafeHtml

Popular methods of Element

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

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • findViewById (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Sublime Text for Python
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