org.bridj.jawt
Class JAWTUtils

java.lang.Object
  extended by org.bridj.jawt.JAWTUtils

public class JAWTUtils
extends Object

Contains a method that returns the native peer handle of an AWT component : BridJ JAWT utilities getNativePeerHandle(java.awt.Component)


Nested Class Summary
static interface JAWTUtils.LockedComponentRunnable
           
 
Constructor Summary
JAWTUtils()
           
 
Method Summary
static JAWT getJAWT(JawtLibrary.JNIEnv env)
           
static JawtLibrary.JNIEnv getJNIEnv()
           
static long getNativePeerHandle(Component component)
           
static void withLockedSurface(JawtLibrary.JNIEnv env, JAWT awt, Component component, JAWTUtils.LockedComponentRunnable runnable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAWTUtils

public JAWTUtils()
Method Detail

getJNIEnv

public static JawtLibrary.JNIEnv getJNIEnv()

getJAWT

public static JAWT getJAWT(JawtLibrary.JNIEnv env)

withLockedSurface

public static void withLockedSurface(JawtLibrary.JNIEnv env,
                                     JAWT awt,
                                     Component component,
                                     JAWTUtils.LockedComponentRunnable runnable)

getNativePeerHandle

public static long getNativePeerHandle(Component component)


Copyright © 2009-2012. All Rights Reserved.