Returns the Java int represented by this Variant.
<p>If this Variant does not contain a Java int, an attempt is made to coerce the Variant type into a Java int. If this fails, an error is thrown.
@return the Java int represented by this Variant
@exception SWTException <ul> <li>ERROR_CANNOT_CHANGE_VARIANT_TYPE when type of Variant can not be coerced into a int</li> </ul>
See Implementation
Returns the Java int represented by this Variant.
<p>If this Variant does not contain a Java int, an attempt is made to coerce the Variant type into a Java int. If this fails, an error is thrown.
@return the Java int represented by this Variant
@exception SWTException <ul> <li>ERROR_CANNOT_CHANGE_VARIANT_TYPE when type of Variant can not be coerced into a int</li> </ul>