org.gstreamer.swt.overlay
Class SWTOverlay
java.lang.Object
org.gstreamer.lowlevel.NativeValue
org.gstreamer.interfaces.GstInterface
org.gstreamer.interfaces.XOverlay
org.gstreamer.swt.overlay.SWTOverlay
public class SWTOverlay
- extends XOverlay
Interface for elements providing tuner operations
|
Method Summary |
static long |
getLinuxHandle(org.eclipse.swt.widgets.Control control)
Helper function to get the proper handle for a given SWT Control on Linux. |
static long |
handle(org.eclipse.swt.widgets.Control control)
Helper function to get the proper handle for a given SWT Control. |
void |
setWindowID(org.eclipse.swt.widgets.Control control)
Sets the native window for the Element to use to display video. |
static SWTOverlay |
wrap(Element element)
Wraps the Element in a SWTOverlay interface |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wrap
public static SWTOverlay wrap(Element element)
- Wraps the
Element in a SWTOverlay interface
- Parameters:
element - the element to use as a SWTOverlay
- Returns:
- a SWTOverlay for the element
getLinuxHandle
public static long getLinuxHandle(org.eclipse.swt.widgets.Control control)
throws java.lang.SecurityException,
java.lang.NoSuchFieldException,
java.lang.IllegalArgumentException,
java.lang.IllegalAccessException
- Helper function to get the proper handle for a given SWT Control on Linux.
- Parameters:
control - the SWT control for what i like to get the handle.
- Returns:
- the handle of the control or 0 if the handle is not available.
- Throws:
java.lang.SecurityException
java.lang.NoSuchFieldException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
handle
public static long handle(org.eclipse.swt.widgets.Control control)
- Helper function to get the proper handle for a given SWT Control.
- Parameters:
control - the SWT control for what i like to get the handle.
- Returns:
- the handle of the control or 0 if the handle is not available.
setWindowID
public void setWindowID(org.eclipse.swt.widgets.Control control)
- 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.
Copyright © 2010. All Rights Reserved.