SFXPanel

class SFXPanel(val delegate: JFXPanel) extends SFXDelegate[JFXPanel]

Wraps JavaFX JFXPanel. To use methods and properties from JComponent, use its delegate.

Wraps JavaFX JFXPanel. To use methods and properties from JComponent, use its delegate.

Value Params
delegate

JavaFX JFXPanel. Its default value is a new JFXPanel

Constructor

Creates a new SFXPanel from its JavaFX counterpart.

Since

8.0

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

Value members

Concrete methods

def addNotify(): Unit

Notifies this component that it now has a parent component.

Notifies this component that it now has a parent component.

def inputMethodRequests: InputMethodRequests
def opaque: Boolean

SFXPanel's opacity is controlled by the JavaFX content which is displayed in this component, so this method overrides JComponent.isOpaque() to always return a false value.

SFXPanel's opacity is controlled by the JavaFX content which is displayed in this component, so this method overrides JComponent.isOpaque() to always return a false value.

def opaque_=(b: Boolean): Unit

SFXPanel's opacity is controlled by the JavaFX content which is displayed in this component, so this method overrides JComponent.setOpaque(boolean) to only accept a false value.

SFXPanel's opacity is controlled by the JavaFX content which is displayed in this component, so this method overrides JComponent.setOpaque(boolean) to only accept a false value.

def preferredSize: Dimension

Returns the preferred size of this SFXPanel, either previously set with JComponent.setPreferredSize(Dimension) or based on the content of the JavaFX scene attached to this SFXPanel.

Returns the preferred size of this SFXPanel, either previously set with JComponent.setPreferredSize(Dimension) or based on the content of the JavaFX scene attached to this SFXPanel.

def removeNotify(): Unit

Notifies this component that it no longer has a parent component.

Notifies this component that it no longer has a parent component.

def scene: Scene

the ScalaFX scene attached to this JFXPanel.

the ScalaFX scene attached to this JFXPanel.

def scene_=(s: Scene): Unit

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: JFXPanel