List.add

Adds the argument to the end of the receiver's list.

@param string the new item

@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>

@see #add(String,int)

  1. void add(String string)
    class List
    void
    add
    (
    String string
    )
  2. void add(String string, int index)

Meta