@Override public
void addNotify ()
Overriding: javax.swing.JComponent
Notifies this component that it now has a parent component. When this
method is invoked, the chain of parent components is set up with
KeyboardAction event listeners.
@Override
public InputMethodRequests getInputMethodRequests ()
Overriding: java.awt.Component
Gets the input method request handler which supports
requests from input methods for this component. A component
that supports on-the-spot text input must override this
method to return an InputMethodRequests instance.
At the same time, it also has to handle input method events.
Returns: the input method request handler for this component,
null by default
@Override
public Dimension getPreferredSize ()
Overriding: javax.swing.JComponent
Returns the preferred size of this JFXPanel, either
previously set with setPreferredSize(Dimension) or
based on the content of the JavaFX scene attached to this
JFXPanel.
Returns: prefSize this JFXPanel preferred size
@Override public final
boolean isOpaque ()
@Override protected
void paintComponent (
Graphics g)
@Override protected
void processComponentEvent (
ComponentEvent e)
@Override protected
void processFocusEvent (
FocusEvent e)
@Override protected
void processHierarchyBoundsEvent (
HierarchyEvent e)
@Override protected
void processHierarchyEvent (
HierarchyEvent e)
Overriding: java.awt.Component
Processes hierarchy events occurring on this component by
dispatching them to any registered
HierarchyListener objects.
This method is not called unless hierarchy events
are enabled for this component. Hierarchy events are enabled
when one of the following occurs:
- An
HierarchyListener object is registered
via addHierarchyListener.
- Hierarchy events are enabled via
enableEvents.
Note that if the event parameter is null
the behavior is unspecified and may result in an
exception.
Parameters:
@Override protected
void processInputMethodEvent (
InputMethodEvent e)
Overriding: java.awt.Component
Processes input method events occurring on this component by
dispatching them to any registered
InputMethodListener objects.
This method is not called unless input method events
are enabled for this component. Input method events are enabled
when one of the following occurs:
- An
InputMethodListener object is registered
via addInputMethodListener.
- Input method events are enabled via
enableEvents.
Note that if the event parameter is null
the behavior is unspecified and may result in an
exception.
Parameters:
@Override protected
void processKeyEvent (
KeyEvent e)
@Override protected
void processMouseEvent (
MouseEvent e)
@Override protected
void processMouseMotionEvent (
MouseEvent e)
@Override protected
void processMouseWheelEvent (
MouseWheelEvent e)
@Override public
void removeNotify ()
Overriding: javax.swing.JComponent
Notifies this component that it no longer has a parent component.
When this method is invoked, any KeyboardActions set up in the the
chain of parent components are removed.
@Override public final
void setOpaque (
boolean opaque)