congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Element.setPropertyString
Code IndexAdd Tabnine 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)

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

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • requestLocationUpdates (LocationManager)
  • addToBackStack (FragmentTransaction)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Notification (javax.management)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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