HostServices

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.

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 JavaFX HostServices.

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

Value members

Concrete methods

def codeBase: String

Gets the code base URI for this application.

Gets the code base URI for this application.

def documentBase: String

Gets the document base URI for this application.

Gets the document base URI for this application.

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 Params
ref

Object to be compared.

Returns

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

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

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

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: HostServices