HostServices

scalafx.application.HostServices
See theHostServices companion object
class HostServices(val delegate: HostServices) extends SFXDelegate[HostServices]

This class provides HostServices for an Application. This includes methods to get the code base and document base for an Application, show a web page in a browser, and communicate with the enclosing web page using JavaScript if the Application is running in a browser.

Wraps a $JFX $URL0 $TC]].

Attributes

Companion
object
Graph
Supertypes
trait SFXDelegate[HostServices]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Gets the code base URI for this application.

Gets the code base URI for this application.

Attributes

Gets the document base URI for this application.

Gets the document base URI for this application.

Attributes

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value parameters

ref

Object to be compared.

Attributes

Returns

if the other object is equals to this delegate or not.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Concrete fields

override val delegate: HostServices

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes