HyperlinkControl.setUseExternalURL

Sets the link type. When true, the link type is external, when false the link type is internal.

Further documentation.

Parameters

boolean  useExternalURL,