org.gstreamer.interfaces
Class XOverlay

java.lang.Object
  extended by org.gstreamer.lowlevel.NativeValue
      extended by org.gstreamer.interfaces.GstInterface
          extended by org.gstreamer.interfaces.XOverlay

public class XOverlay
extends GstInterface

Interface for elements providing tuner operations


Nested Class Summary
 
Nested classes/interfaces inherited from class org.gstreamer.interfaces.GstInterface
GstInterface.ListElementCreator<E>
 
Field Summary
 
Fields inherited from class org.gstreamer.interfaces.GstInterface
element, handle
 
Method Summary
 void expose()
          Tell an overlay that it has been exposed.
 void setWindowID(java.awt.Component window)
          Sets the native window for the Element to use to display video.
static XOverlay wrap(Element element)
          Wraps the Element in a XOverlay interface
 
Methods inherited from class org.gstreamer.interfaces.GstInterface
nativeValue, objectList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

wrap

public static final XOverlay wrap(Element element)
Wraps the Element in a XOverlay interface

Parameters:
element - the element to use as a XOverlay
Returns:
a XOverlay for the element

setWindowID

public void setWindowID(java.awt.Component window)
Sets the native window for the Element to use to display video.

Parameters:
window - A native window to use to display video, or null to stop using the previously set window.

expose

public void expose()
Tell an overlay that it has been exposed. This will redraw the current frame in the drawable even if the pipeline is PAUSED.