Codota Logo
Element.setPropertyString
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain Element
private void myMethod () {
Element e =
  • Codota IconDOM.createDiv()
  • Codota IconDOM.createTR()
  • Codota IconDOM.createTable()
  • Smart code suggestions by Codota
}
origin: libgdx/libgdx

  /** Sets the placeholder text displayed in the text box.
   * 
   * @param text the placeholder text */
  public void setPlaceholder (String text) {
    placeholder = (text != null ? text : "");
    getElement().setPropertyString("placeholder", placeholder);
  }
}
origin: libgdx/libgdx

  /** Sets the placeholder text displayed in the text box.
   * 
   * @param text the placeholder text */
  public void setPlaceholder (String text) {
    placeholder = (text != null ? text : "");
    getElement().setPropertyString("placeholder", placeholder);
  }
}
origin: kaaproject/kaa

 public void reset() {
  fu.getElement().setPropertyString("value", "");
 }
}
origin: com.google.gwt/gwt-servlet

/**
 * Creates an empty vertical panel.
 */
public VerticalPanel() {
 getTable().setPropertyString("cellSpacing", "0");
 getTable().setPropertyString("cellPadding", "0");
}
origin: com.google.gwt/gwt-servlet

/**
 * @deprecated Call and override {@link #setCellHorizontalAlignment(Element,
 *             HorizontalAlignmentConstant)} instead.
 */
@Deprecated
protected void setCellHorizontalAlignment(com.google.gwt.user.client.Element td,
  HorizontalAlignmentConstant align) {
 td.setPropertyString("align", align.getTextAlignString());
}
origin: com.google.gwt/gwt-servlet

public void setName(String name) {
 getElement().setPropertyString("name", name);
}
origin: com.google.gwt/gwt-servlet

public void setAccessKey(char key) {
 getElement().setPropertyString("accessKey", "" + key);
}
origin: com.google.gwt/gwt-servlet

/**
 * Sets this object's text. Note that some browsers will manipulate the text
 * before adding it to the widget. For example, most browsers will strip all
 * <code>\r</code> from the text, except IE which will add a <code>\r</code>
 * before each <code>\n</code>. Use {@link #getText()} to get the text
 * directly from the widget.
 * 
 * @param text the object's new text
 */
public void setText(String text) {
 getElement().setPropertyString("value", text != null ? text : "");
 autoDirHandler.refreshDirection();
}
origin: com.google.gwt/gwt-servlet

/**
 * Creates an empty horizontal panel.
 */
public HorizontalPanel() {
 tableRow = DOM.createTR();
 DOM.appendChild(getBody(), tableRow);
 getTable().setPropertyString("cellSpacing", "0");
 getTable().setPropertyString("cellPadding", "0");
}
origin: com.extjs/gxt

private void setTarget(String target) {
 this.target = target;
 if (rendered) {
  form.dom.setPropertyString("target", target);
 }
}
origin: com.extjs/gxt

/**
 * Sets the element's value property.
 * 
 * @param value the value
 */
public El setValue(String value) {
 dom.setPropertyString("value", value);
 return this;
}
origin: com.googlecode.mgwt/mgwt

@Override
public void setAutoCorrectEnabled(boolean enabled) {
 if (enabled) {
  box.getElement().setPropertyString("autocorrect", "on");
 } else {
  box.getElement().setPropertyString("autocorrect", "off");
 }
}
origin: de.esoco/gewt

/***************************************
 * {@inheritDoc}
 */
@Override
public void setAccessKey(char cKey)
{
  getElement().setPropertyString("accessKey", "" + cKey);
}
origin: net.wetheinter/gwt-user

/**
 * Creates an empty vertical panel.
 */
public VerticalPanel() {
 getTable().setPropertyString("cellSpacing", "0");
 getTable().setPropertyString("cellPadding", "0");
}
origin: dankurka/mgwt

@Override
public void setAutoCorrectEnabled(boolean enabled) {
 if (enabled) {
  box.getElement().setPropertyString("autocorrect", "on");
 } else {
  box.getElement().setPropertyString("autocorrect", "off");
 }
}
origin: com.googlecode.mgwt/mgwt

@Override
public void setAutoCapitalize(boolean capitalize) {
 if (capitalize) {
  box.getElement().setPropertyString("autocapitalize", "on");
 } else {
  box.getElement().setPropertyString("autocapitalize", "off");
 }
}
origin: GwtMaterialDesign/gwt-material

@Override
public void setValue(String value, boolean fireEvents) {
  getElement().setPropertyString("value", value != null ? value : "");
  super.setValue(value, fireEvents);
}
origin: com.github.gwtmaterialdesign/gwt-material

@Override
public void setValue(String value, boolean fireEvents) {
  getElement().setPropertyString("value", value != null ? value : "");
  super.setValue(value, fireEvents);
}
origin: com.vaadin.external.gwt/gwt-user

/**
 * Creates an empty horizontal panel.
 */
public HorizontalPanel() {
 tableRow = DOM.createTR();
 DOM.appendChild(getBody(), tableRow);
 getTable().setPropertyString("cellSpacing", "0");
 getTable().setPropertyString("cellPadding", "0");
}
origin: de.esoco/gewt

/***************************************
 * Sets the placeholder string that will be display in an empty text
 * component.
 *
 * @param sPlaceholder The placeholder string
 */
public void setPlaceholder(String sPlaceholder)
{
  getWidget().getElement()
        .setPropertyString("placeholder",
                 getContext().expandResource(sPlaceholder));
}
com.google.gwt.user.clientElementsetPropertyString

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

  • Reactive rest calls using spring rest template
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • putExtra (Intent)
  • onCreateOptionsMenu (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • JButton (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now