本文整理汇总了Java中gnu.java.awt.peer.EmbeddedWindowPeer类的典型用法代码示例。如果您正苦于以下问题:Java EmbeddedWindowPeer类的具体用法?Java EmbeddedWindowPeer怎么用?Java EmbeddedWindowPeer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
EmbeddedWindowPeer类属于gnu.java.awt.peer包,在下文中一共展示了EmbeddedWindowPeer类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setHandle
import gnu.java.awt.peer.EmbeddedWindowPeer; //导入依赖的package包/类
/**
* If the native peer for this embedded window has been created,
* then setHandle will embed the window. If not, setHandle tells
* us where to embed ourselves when our peer is created.
*
* @param handle the native handle to the screen area where the AWT
* window should be embedded
*/
public void setHandle(long handle)
{
if (this.handle != 0)
throw new RuntimeException ("EmbeddedWindow is already embedded");
this.handle = handle;
if (getPeer() != null)
((EmbeddedWindowPeer) getPeer()).embed (this.handle);
}
示例2: createEmbeddedWindow
import gnu.java.awt.peer.EmbeddedWindowPeer; //导入依赖的package包/类
public EmbeddedWindowPeer createEmbeddedWindow(EmbeddedWindow w)
{
// TODO: Implement this.
throw new UnsupportedOperationException("Not yet implemented.");
}
示例3: createEmbeddedWindow
import gnu.java.awt.peer.EmbeddedWindowPeer; //导入依赖的package包/类
public EmbeddedWindowPeer createEmbeddedWindow (EmbeddedWindow w)
{
checkHeadless();
GtkMainThread.createWindow();
return new GtkEmbeddedWindowPeer (w);
}
示例4: createEmbeddedWindow
import gnu.java.awt.peer.EmbeddedWindowPeer; //导入依赖的package包/类
public EmbeddedWindowPeer createEmbeddedWindow(EmbeddedWindow w)
{
// return new QtEmbeddedWindowPeer( this, w );
return null;
}
示例5: createEmbeddedWindow
import gnu.java.awt.peer.EmbeddedWindowPeer; //导入依赖的package包/类
public EmbeddedWindowPeer createEmbeddedWindow(EmbeddedWindow w)
{
throw new HeadlessException();
}
示例6: createEmbeddedWindow
import gnu.java.awt.peer.EmbeddedWindowPeer; //导入依赖的package包/类
@Override
public EmbeddedWindowPeer createEmbeddedWindow(EmbeddedWindow arg0) {
throw new UnsupportedOperationException("Not yet implemented.");
}
示例7: createEmbeddedWindow
import gnu.java.awt.peer.EmbeddedWindowPeer; //导入依赖的package包/类
/**
* Creates an embedded window peer, and associates it with an
* EmbeddedWindow object.
*
* @param w The embedded window with which to associate a peer.
*/
public abstract EmbeddedWindowPeer createEmbeddedWindow (EmbeddedWindow w);