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

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

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

origin: com.google.gwt/gwt-servlet

/**
 * Gets 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
 * @return the cell's column span
 * @throws IndexOutOfBoundsException
 */
public int getColSpan(int row, int column) {
 return getElement(row, column).getPropertyInt("colSpan");
}
origin: com.google.gwt/gwt-servlet

/**
 * Gets 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
 * @return the cell's row span
 * @throws IndexOutOfBoundsException
 */
public int getRowSpan(int row, int column) {
 return getElement(row, column).getPropertyInt("rowSpan");
}
origin: com.google.gwt/gwt-servlet

/**
 * Gets the object's offset height in pixels. This is the total height of the
 * object, including decorations such as border and padding, but not margin.
 * 
 * @return the object's offset height
 */
public int getOffsetHeight() {
 return getElement().getPropertyInt("offsetHeight");
}
origin: com.google.gwt/gwt-servlet

/**
 * Gets the object's offset width in pixels. This is the total width of the
 * object, including decorations such as border and padding, but not margin.
 * 
 * @return the object's offset width
 */
public int getOffsetWidth() {
 return getElement().getPropertyInt("offsetWidth");
}
origin: com.google.gwt/gwt-servlet

 @Override
 protected void onUpdate(double progress) {
  int scrollHeight = curPanel.contentWrapper.getElement().getPropertyInt("scrollHeight");
  int height = (int) (progress * scrollHeight);
  if (!opening) {
   height = scrollHeight - height;
  }
  height = Math.max(height, 1);
  curPanel.contentWrapper.getElement().getStyle().setProperty("height", height + "px");
  curPanel.contentWrapper.getElement().getStyle().setProperty("width", "auto");
 }
}
origin: net.wetheinter/gwt-user

/**
 * Gets 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
 * @return the cell's row span
 * @throws IndexOutOfBoundsException
 */
public int getRowSpan(int row, int column) {
 return getElement(row, column).getPropertyInt("rowSpan");
}
origin: com.vaadin.external.gwt/gwt-user

/**
 * Gets the object's offset width in pixels. This is the total width of the
 * object, including decorations such as border and padding, but not margin.
 * 
 * @return the object's offset width
 */
public int getOffsetWidth() {
 return getElement().getPropertyInt("offsetWidth");
}
origin: net.wetheinter/gwt-user

/**
 * Gets the object's offset height in pixels. This is the total height of the
 * object, including decorations such as border and padding, but not margin.
 * 
 * @return the object's offset height
 */
public int getOffsetHeight() {
 return getElement().getPropertyInt("offsetHeight");
}
origin: com.vaadin.external.gwt/gwt-user

/**
 * Gets 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
 * @return the cell's column span
 * @throws IndexOutOfBoundsException
 */
public int getColSpan(int row, int column) {
 return getElement(row, column).getPropertyInt("colSpan");
}
origin: com.vaadin.external.gwt/gwt-user

/**
 * Gets 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
 * @return the cell's row span
 * @throws IndexOutOfBoundsException
 */
public int getRowSpan(int row, int column) {
 return getElement(row, column).getPropertyInt("rowSpan");
}
origin: net.wetheinter/gwt-user

/**
 * Gets 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
 * @return the cell's column span
 * @throws IndexOutOfBoundsException
 */
public int getColSpan(int row, int column) {
 return getElement(row, column).getPropertyInt("colSpan");
}
origin: net.wetheinter/gwt-user

/**
 * Gets the object's offset width in pixels. This is the total width of the
 * object, including decorations such as border and padding, but not margin.
 * 
 * @return the object's offset width
 */
public int getOffsetWidth() {
 return getElement().getPropertyInt("offsetWidth");
}
origin: com.vaadin.external.gwt/gwt-user

/**
 * Gets the object's offset height in pixels. This is the total height of the
 * object, including decorations such as border and padding, but not margin.
 * 
 * @return the object's offset height
 */
public int getOffsetHeight() {
 return getElement().getPropertyInt("offsetHeight");
}
origin: com.extjs/gxt

/**
 * Returns the index of the element.
 * 
 * @param element the element
 * @return the index
 */
public int indexOf(Element element) {
 if (element.getPropertyString("viewIndex") != null) {
  return element.getPropertyInt("viewIndex");
 }
 return all.indexOf(element);
}
origin: net.wetheinter/gwt-user

 @Override
 protected void onUpdate(double progress) {
  int scrollHeight = curPanel.contentWrapper.getElement().getPropertyInt("scrollHeight");
  int height = (int) (progress * scrollHeight);
  if (!opening) {
   height = scrollHeight - height;
  }
  height = Math.max(height, 1);
  curPanel.contentWrapper.getElement().getStyle().setProperty("height", height + "px");
  curPanel.contentWrapper.getElement().getStyle().setProperty("width", "auto");
 }
}
origin: com.extjs/gxt

protected void onScrollerIn(El t) {
 boolean top = t.is(".x-menu-scroller-top");
 if (top ? ul.getScrollTop() > 0 : ul.getScrollTop() + activeMax < ul.dom.getPropertyInt("scrollHeight")) {
  t.addStyleName("x-menu-item-active", "x-menu-scroller-active");
 }
}
origin: com.extjs/gxt

private void updateMPMonth(int month) {
 for (int i = 0; i < mpMonths.getCount(); i++) {
  Element elem = mpMonths.item(i);
  int xmonth = elem.getPropertyInt("xmonth");
  fly(elem).setStyleName("x-date-mp-sel", xmonth == month);
 }
}
origin: org.geomajas/geomajas-gwt-client-impl

public void setLeft(int left) {
  this.left = left;
  int leftShift = 0;
  if (widget.getParent() != null) {
    leftShift = widget.getParent().getElement().getPropertyInt(HtmlGroup.LEFT_SHIFT);
  }
  DomService.setLeft(widget.getElement(), left + leftShift);
}
origin: org.geomajas/geomajas-gwt-client-impl

public void setTop(int top) {
  this.top = top;
  int topShift = 0;
  if (widget.getParent() != null) {
    topShift = widget.getParent().getElement().getPropertyInt(HtmlGroup.TOP_SHIFT);
  }
  DomService.setTop(widget.getElement(), top + topShift);
}
origin: com.extjs/gxt

protected void onScroll(ClickRepeaterEvent ce) {
 El target = ce.getEl();
 boolean top = target.is(".x-menu-scroller-top");
 scrollMenu(top);
 if (top ? ul.getScrollTop() <= 0 : ul.getScrollTop() + activeMax >= ul.dom.getPropertyInt("scrollHeight")) {
  onScrollerOut(target);
 }
}
com.google.gwt.user.clientElementgetPropertyInt

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

  • Reading from database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • onRequestPermissionsResult (Fragment)
  • startActivity (Activity)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Notification (javax.management)
  • 21 Best Atom Packages for 2021
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