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

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

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

origin: com.google.gwt/gwt-servlet

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

 /**
  * Set the colspan of a {@link MenuItem} or {@link MenuItemSeparator}.
  *
  * @param item the {@link MenuItem} or {@link MenuItemSeparator}
  * @param colspan the colspan
  */
 private void setItemColSpan(UIObject item, int colspan) {
  item.getElement().setPropertyInt("colSpan", colspan);
 }
}
origin: com.google.gwt/gwt-servlet

/**
 * Sets the column span for the given cell. This is the number of logical
 * columns covered by the cell.
 * 
 * @param row the cell's row
 * @param column the cell's column
 * @param colSpan the cell's column span
 * @throws IndexOutOfBoundsException
 */
public void setColSpan(int row, int column, int colSpan) {
 ensureElement(row, column).setPropertyInt("colSpan", colSpan);
}
origin: com.google.gwt/gwt-servlet

 /**
  * Sets the row span for the given cell. This is the number of logical rows
  * covered by the cell.
  * 
  * @param row the cell's row
  * @param column the cell's column
  * @param rowSpan the cell's row span
  * @throws IndexOutOfBoundsException
  */
 public void setRowSpan(int row, int column, int rowSpan) {
  ensureElement(row, column).setPropertyInt("rowSpan", rowSpan);
 }
}
origin: com.extjs/gxt

/**
 * Sets the button's tab index.
 * 
 * @param index the tab index
 */
@Override
public void setTabIndex(int index) {
 this.tabIndex = index;
 if (rendered && buttonEl != null) {
  buttonEl.dom.setPropertyInt("tabIndex", index);
 }
}
origin: com.extjs/gxt

public void doFunction(Element elem, CompositeElement ce, int index) {
 index += 1;
 if (index % 2 == 0) {
  elem.setPropertyInt("xmonth", (int) (5 + (Math.round(index * .5))));
 } else {
  elem.setPropertyInt("xmonth", (int) (Math.round((index - 1) * .5)));
 }
}
origin: com.vaadin.external.gwt/gwt-user

/**
 * Sets the column span for the given cell. This is the number of logical
 * columns covered by the cell.
 * 
 * @param row the cell's row
 * @param column the cell's column
 * @param colSpan the cell's column span
 * @throws IndexOutOfBoundsException
 */
public void setColSpan(int row, int column, int colSpan) {
 ensureElement(row, column).setPropertyInt("colSpan", colSpan);
}
origin: net.wetheinter/gwt-user

/**
 * Sets the column span for the given cell. This is the number of logical
 * columns covered by the cell.
 * 
 * @param row the cell's row
 * @param column the cell's column
 * @param colSpan the cell's column span
 * @throws IndexOutOfBoundsException
 */
public void setColSpan(int row, int column, int colSpan) {
 ensureElement(row, column).setPropertyInt("colSpan", colSpan);
}
origin: com.extjs/gxt

private void updateIndexes(int startIndex, int endIndex) {
 List<Element> elems = all.getElements();
 endIndex = endIndex == -1 ? elems.size() - 1 : endIndex;
 for (int i = startIndex; i <= endIndex; i++) {
  elems.get(i).setPropertyInt("viewIndex", i);
 }
}
origin: net.wetheinter/gwt-user

/**
 * Creates an empty dock panel.
 */
public DockPanel() {
 getTable().setPropertyInt("cellSpacing", 0);
 getTable().setPropertyInt("cellPadding", 0);
}
origin: net.wetheinter/gwt-user

 /**
  * Set the colspan of a {@link MenuItem} or {@link MenuItemSeparator}.
  *
  * @param item the {@link MenuItem} or {@link MenuItemSeparator}
  * @param colspan the colspan
  */
 private void setItemColSpan(UIObject item, int colspan) {
  item.getElement().setPropertyInt("colSpan", colspan);
 }
}
origin: com.extjs/gxt

/**
 * Sets the tab index.
 * 
 * @param index the tab index value
 */
public void setTabIndex(int index) {
 this.tabIndex = index;
 if (rendered) {
  getInputEl().dom.setPropertyInt("tabIndex", index);
 }
}
origin: com.vaadin.external.gwt/gwt-user

 /**
  * Set the colspan of a {@link MenuItem} or {@link MenuItemSeparator}.
  *
  * @param item the {@link MenuItem} or {@link MenuItemSeparator}
  * @param colspan the colspan
  */
 private void setItemColSpan(UIObject item, int colspan) {
  item.getElement().setPropertyInt("colSpan", colspan);
 }
}
origin: com.vaadin.external.gwt/gwt-user

/**
 * Creates an empty dock panel.
 */
public DockPanel() {
 getTable().setPropertyInt("cellSpacing", 0);
 getTable().setPropertyInt("cellPadding", 0);
}
origin: net.wetheinter/gwt-user

 /**
  * Sets the row span for the given cell. This is the number of logical rows
  * covered by the cell.
  * 
  * @param row the cell's row
  * @param column the cell's column
  * @param rowSpan the cell's row span
  * @throws IndexOutOfBoundsException
  */
 public void setRowSpan(int row, int column, int rowSpan) {
  ensureElement(row, column).setPropertyInt("rowSpan", rowSpan);
 }
}
origin: com.vaadin.external.gwt/gwt-user

 /**
  * Sets the row span for the given cell. This is the number of logical rows
  * covered by the cell.
  * 
  * @param row the cell's row
  * @param column the cell's column
  * @param rowSpan the cell's row span
  * @throws IndexOutOfBoundsException
  */
 public void setRowSpan(int row, int column, int rowSpan) {
  ensureElement(row, column).setPropertyInt("rowSpan", rowSpan);
 }
}
origin: com.haulmont.cuba/cuba-web-toolkit

public void clearItems() {
  selectItem(null);
  container.removeAllChildren();
  for (UIObject item : items) {
    item.getElement().setPropertyInt("colSpan", 1);
    ((SuggestionItem) item).setSuggestionsContainer(null);
  }
  items.clear();
}
origin: org.geomajas/geomajas-gwt-client-impl

@Override
public void setLeft(int left) {
  int r = left % MAX_COORD;
  if (r != left) {
    super.setLeft(r);
    asWidget().getElement().setPropertyInt(LEFT_SHIFT, left - r);
  } else {
    super.setLeft(left);
    asWidget().getElement().setPropertyInt(LEFT_SHIFT, 0);
  }
  updateChildPositions();
}
origin: org.geomajas/geomajas-gwt-client-impl

@Override
public void setTop(int top) {
  int r = top % MAX_COORD;
  if (r != top) {
    super.setTop(r);
    asWidget().getElement().setPropertyInt(TOP_SHIFT, top - r);
  } else {
    super.setTop(top);
    asWidget().getElement().setPropertyInt(TOP_SHIFT, 0);
  }
  updateChildPositions();
}
origin: com.extjs/gxt

 protected void onRender(Element target, int index) {
  Element e = impl.getElement();
  e.setPropertyInt("frameBorder", 0);
  setElement(e, target, index);
  addDomHandler(handler, ClickEvent.getType());
  addDomHandler(handler, FocusEvent.getType());
  addDomHandler(handler, BlurEvent.getType());
  addDomHandler(handler, KeyUpEvent.getType());
  addDomHandler(handler, KeyDownEvent.getType());
 }
}
com.google.gwt.user.clientElementsetPropertyInt

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

  • Creating JSON documents from java classes using gson
  • setContentView (Activity)
  • getSystemService (Context)
  • getApplicationContext (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Path (java.nio.file)
  • JList (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top PhpStorm plugins
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