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
Value members
Concrete methods
Notifies this component that it now has a parent component.
Notifies this component that it now has a parent component.
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.
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.
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
.
Notifies this component that it no longer has a parent component.
Notifies this component that it no longer has a parent component.
Inherited methods
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
- SFXDelegate -> Any
- Inherited from
- SFXDelegate
- Returns
Returns the original delegate's
toString()
adding a[SFX]
prefix.- Definition Classes
- SFXDelegate -> Any
- Inherited from
- SFXDelegate