Utils

org.scalafx.extras.generic_pane.Utils
object Utils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Utils.type

Members list

Value members

Concrete methods

def openWebpage(url: URL): Unit

Opens URL using the default browser.

Opens URL using the default browser.

Value parameters

url

the URL to be displayed in the user default browser

Attributes

See also

Utils.openWebpage(uri: URI) for exceptions thrown

def openWebpage(uri: URI): Unit

Opens URI using the default browser.

Opens URI using the default browser.

Value parameters

uri

the URI to be displayed in the user default browser

Attributes

Throws
HeadlessException

if GraphicsEnvironment.isHeadless() returns true

IOException

if the user default browser is not found, or it fails to be launched, or the default handler application failed to be launched

IllegalArgumentException

if uri is null

SecurityException

if a security manager exists and it denies the AWTPermission("showWindowWithoutWarningBanner") permission, or the calling thread is not allowed to create a subprocess

UnsupportedOperationException

if this Java Desktop class is not supported on the current platform or the current platform does not support the Desktop.Action.BROWSE action