Wraps JavaFX JFXPanel. To use methods and properties from JComponent, use its delegate.
Value parameters
- delegate
-
JavaFX JFXPanel. Its default value is a new JFXPanel
Attributes
- Constructor
-
Creates a new SFXPanel from its JavaFX counterpart.
- Since
-
8.0
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Notifies this component that it now has a parent component.
Notifies this component that it now has a parent component.
Attributes
Attributes
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.
Attributes
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.
Attributes
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.
Attributes
Notifies this component that it no longer has a parent component.
Notifies this component that it no longer has a parent component.
Attributes
the ScalaFX scene attached to this JFXPanel.
the ScalaFX scene attached to this JFXPanel.
Attributes
Inherited methods
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
Attributes
- Returns
-
The delegate hashcode
- Definition Classes
-
SFXDelegate -> Any
- Inherited from:
- SFXDelegate
Attributes
- Returns
-
Returns the original delegate's
toString()adding a[SFX]prefix. - Definition Classes
-
SFXDelegate -> Any
- Inherited from:
- SFXDelegate
Concrete fields
JavaFX object to be wrapped.
JavaFX object to be wrapped.