This trait is used to redirect certain calls from the peer to the wrapper and back.
Creates a new off-screen buffer of the given size.
Creates a new off-screen buffer of the given size. This method is called internally whenever this panel is added to a parent or is resized.
Subclasses should call and/or override this method according to its
individual needs. In case of overriding calling
super.createOffScreenBuffer(canvasWidth, canvasHeight)
has to be the last thing to do.
the width of the off-screen buffers to create
the height of the off-screen buffers to create
Disables calling event process-methods on the underlying heavyweight Canvas3D instance for the specified AWT event masks.
Disables calling event process-methods on the underlying heavyweight Canvas3D instance for the specified AWT event masks.
ored AWT event masks: AWTEvent.COMPONENT_EVENT_MASK,
AWTEvent.FOCUS_EVENT_MASK, AWTEvent.KEY_EVENT_MASK, AWTEvent.MOUSE_EVENT_MASK,
AWTEvent.MOUSE_MOTION_EVENT_MASK, AWTEvent.MOUSE_WHEEL_EVENT_MASK
Sets the AWT event masks for which this SJCanvas3DAbstract instance will call the corresponding process-methods on the underlying heavyweight Canvas3D isntance.
Sets the AWT event masks for which this SJCanvas3DAbstract instance will call the corresponding process-methods on the underlying heavyweight Canvas3D isntance.
This is required only when Java 3D WakeupOnAWTEvents are specified in subclasses of Behavior.
No event mask is set per default.
ored AWT event masks: AWTEvent.COMPONENT_EVENT_MASK,
AWTEvent.FOCUS_EVENT_MASK, AWTEvent.KEY_EVENT_MASK, AWTEvent.MOUSE_EVENT_MASK,
AWTEvent.MOUSE_MOTION_EVENT_MASK, AWTEvent.MOUSE_WHEEL_EVENT_MASK
.
Subclasses which overrides paintComponent(Graphics g)
should check if the offscreen buffer is ready for drawing.
Subclasses which overrides paintComponent(Graphics g)
should check if the offscreen buffer is ready for drawing.
true if offscreen buffer can be drawn
Callback used to allow an overriding subclass to execute individual code when the off-screen buffer was copied.
Callback used to allow an overriding subclass to execute individual code when the off-screen buffer was copied.
This method is called internally by the event-dispatching thread (EDT) and should not be called by applications.
Callback used to allow an overriding subclass to execute individual code when a new off-screen buffer was created.
Callback used to allow an overriding subclass to execute individual code when a new off-screen buffer was created.
This method is called internally by the event-dispatching thread (EDT) and should not be called by applications.
Returns the offscreen Canvas3D instance of this lightweight component.
Returns the offscreen Canvas3D instance of this lightweight component.
the offscreen Canvas3D instance that is linked to this onscreen component
Returns the wrapped component which Java 3D renders into.
Returns the wrapped component which Java 3D renders into.
the lightweight Java Swing component
Flips and paints the result of the 3D rendering.
Flips and paints the result of the 3D rendering.
Use mouse instead
Explicit size assignment for UIElements is not supported anymore. Use a layout manager or subclass Window.
The class SJCanvas3D provides a lightweight Scala Swing component that Java 3D can render into.
1.3 - 2011/09/19