TableItem.setFont

Sets the font that the receiver will use to paint textual information for this item to the font specified by the argument, or to the default font for that kind of control if the argument is null.

@param font the new font (or null)

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li> </ul> @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>

@since 3.0

  1. void setFont(Font font)
    class TableItem
    void
    setFont
  2. void setFont(int index, Font font)

Meta