Caret.setSize

Sets the receiver's size to the point specified by the arguments.

@param width the new width for the receiver @param height the new height for the receiver

@exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

  1. void setSize(int width, int height)
    class Caret
    void
    setSize
    (
    int width
    ,
    int height
    )
  2. void setSize(Point size)

Meta