public class JAWTRendererVideoComponent
extends java.awt.Canvas
Modifier and Type | Field and Description |
---|---|
protected JAWTRenderer |
renderer
The JAWTRenderer which paints in this
JAWTRendererVideoComponent.
|
Constructor and Description |
---|
JAWTRendererVideoComponent(JAWTRenderer renderer)
Initializes a new JAWTRendererVideoComponent instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addNotify()
Overrides
Component.addNotify() to reset the indicator which
determines whether the native counterpart of this JAWTRenderer
wants paint calls on its AWT Component to be delivered. |
protected long |
getHandle()
Gets the handle of the native counterpart of the
JAWTRenderer which paints in this
AWTVideoComponent.
|
protected java.lang.Object |
getHandleLock()
Gets the synchronization lock which protects the access to the
handle property of this AWTVideoComponent.
|
void |
paint(java.awt.Graphics g)
Overrides
Canvas.paint(Graphics) to paint this Component
in the native counterpart of its associated JAWTRenderer. |
void |
removeNotify()
Overrides
Component.removeNotify() to reset the indicator which
determines whether the native counterpart of this JAWTRenderer
wants paint calls on its AWT Component to be delivered. |
void |
update(java.awt.Graphics g)
Overrides
Canvas.update(Graphics) to skip the filling with the
background color in order to prevent flickering. |
createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
protected final JAWTRenderer renderer
public JAWTRendererVideoComponent(JAWTRenderer renderer)
renderer
- public void addNotify()
Component.addNotify()
to reset the indicator which
determines whether the native counterpart of this JAWTRenderer
wants paint calls on its AWT Component to be delivered.addNotify
in class java.awt.Canvas
protected long getHandle()
protected java.lang.Object getHandleLock()
public void paint(java.awt.Graphics g)
Canvas.paint(Graphics)
to paint this Component
in the native counterpart of its associated JAWTRenderer.paint
in class java.awt.Canvas
public void removeNotify()
Component.removeNotify()
to reset the indicator which
determines whether the native counterpart of this JAWTRenderer
wants paint calls on its AWT Component to be delivered.removeNotify
in class java.awt.Component
public void update(java.awt.Graphics g)
Canvas.update(Graphics)
to skip the filling with the
background color in order to prevent flickering.update
in class java.awt.Canvas
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.