Sets X position and width of the select area.<p>

@param posX the new X position
@param width the new width
508017
private void setSelectPositionX(int posX, int width) {

        m_markerStyle.setLeft(posX, Unit.PX);
        m_markerStyle.setWidth(width, Unit.PX);

        m_overlayLeftStyle.setWidth(posX, Unit.PX);
        m_overlayTopStyle.setLeft(posX, Unit.PX);
        m_overlayTopStyle.setWidth(width, Unit.PX);
        m_overlayBottomStyle.setLeft(posX, Unit.PX);
        m_overlayBottomStyle.setWidth(width, Unit.PX);
        m_overlayRightStyle.setWidth(m_elementWidth - posX - width, Unit.PX);

        m_currentSelection.setLeft(posX);
        m_currentSelection.setWidth(width);
    }
833671
@Override
  public void setBorder(int color, float width) {
    mBorderColor = color;
    mBorderWidth = width;
    updatePath();
    invalidateSelf();
  }
954290
public void setWidth(int width) {

        if (m_isFrame) {
            setParentWidth(width);
        } else {
            m_popup.setWidth(width);
            if (m_popup.isShowing()) {
                m_popup.center();
            }
        }
    }
309743
public void setCursorPos(int pos) {
		cursorPos = pos;
		if (cursorPos > value.length()) {
			cursorPos = value.length();
		}
	}
835219
public void setWidth(int width) {
        this.width = width;
        getElement().getStyle().setWidth(width, Style.Unit.PX);
    }
245086
public void setColumnWidth(int width)
    {
        content = new Dimension(0, 0);
        content.width = width;
        bounds.width = content.width;
    }
1365598
public void setPosition(CmsPositionBean position) {

        setPosition(position.getHeight(), position.getWidth(), position.getLeft(), position.getTop());
    }
443648
private void setSelectPositionY(int posY, int height) {

        m_markerStyle.setTop(posY, Unit.PX);
        m_markerStyle.setHeight(height, Unit.PX);

        m_overlayTopStyle.setHeight(posY, Unit.PX);
        m_overlayBottomStyle.setHeight(m_elementHeight - posY - height, Unit.PX);

        m_currentSelection.setTop(posY);
        m_currentSelection.setHeight(height);
    }
80979
public void setDialogSize(int width, int height) {

        if (height > 50) {
            m_height = height;
            m_parentPanel.setHeight(m_height + "px");
        }
        m_width = width;
        m_parentPanel.setWidth(m_width + "px");
        truncateTabs();
    }
916792
public void setWidth(int width) {

        if (width <= 0) {
            m_containerElement.getStyle().clearWidth();
            m_width = -1;
        } else {
            m_containerElement.getStyle().setWidth(width, Unit.PX);
            m_width = width;
        }
    }
1204444
@Override
  public void setBorder(int color, float width) {
    if (mBorderColor != color) {
      mBorderColor = color;
      invalidateSelf();
    }

    if (mBorderWidth != width) {
      mBorderWidth = width;
      updatePath();
      invalidateSelf();
    }
  }
431704
public void set(int x, int y, int width, int height) {
        setPosition(x, y);
        setSize(width, height);
    }
948663
public void setPosition(CmsPositionBean position, CmsPositionBean buttonsPosition, Element containerElement) {

        m_position = position;
        Element parent = CmsDomUtil.getPositioningParent(getElement());
        Style style = getElement().getStyle();
        style.setRight(
            parent.getOffsetWidth()
                - ((buttonsPosition.getLeft() + buttonsPosition.getWidth()) - parent.getAbsoluteLeft()),
            Unit.PX);
        int top = buttonsPosition.getTop() - parent.getAbsoluteTop();
        if (top < 0) {
            top = 0;
        }
        style.setTop(top, Unit.PX);
    }
831761
def _set_pos(self, pos):
        
        if self._canvas.height < self._max_height:
            pos *= self._max_height - self._canvas.height + 1
            pos = int(round(max(0, pos), 0))
            self._canvas.scroll_to(pos)
164880
private void positionX(int secondX) {

        if (secondX < m_firstX) {
            setSelectPositionX(secondX, m_firstX - secondX);
        } else {
            setSelectWidth(secondX - m_firstX);
        }
    }
629879
public void set(Vector3D v, double width, double height) {
        this.x = v.getX();
        this.y = v.getY();
        this.width = width;
        this.height = height;
    }
698547
public void setWidth(String width) {

        try {
            m_width = Integer.parseInt(width);
        } catch (NumberFormatException e) {
            m_width = -1;
        }
    }