本文整理汇总了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);
}
开发者ID:vilie,项目名称:javify,代码行数:18,代码来源:EmbeddedWindow.java
示例2: createEmbeddedWindow
import gnu.java.awt.peer.EmbeddedWindowPeer; //导入依赖的package包/类
public EmbeddedWindowPeer createEmbeddedWindow(EmbeddedWindow w)
{
// TODO: Implement this.
throw new UnsupportedOperationException("Not yet implemented.");
}
开发者ID:vilie,项目名称:javify,代码行数:6,代码来源:XToolkit.java
示例3: createEmbeddedWindow
import gnu.java.awt.peer.EmbeddedWindowPeer; //导入依赖的package包/类
public EmbeddedWindowPeer createEmbeddedWindow (EmbeddedWindow w)
{
checkHeadless();
GtkMainThread.createWindow();
return new GtkEmbeddedWindowPeer (w);
}
开发者ID:vilie,项目名称:javify,代码行数:7,代码来源:GtkToolkit.java
示例4: createEmbeddedWindow
import gnu.java.awt.peer.EmbeddedWindowPeer; //导入依赖的package包/类
public EmbeddedWindowPeer createEmbeddedWindow(EmbeddedWindow w)
{
// return new QtEmbeddedWindowPeer( this, w );
return null;
}
开发者ID:vilie,项目名称:javify,代码行数:6,代码来源:QtToolkit.java
示例5: createEmbeddedWindow
import gnu.java.awt.peer.EmbeddedWindowPeer; //导入依赖的package包/类
public EmbeddedWindowPeer createEmbeddedWindow(EmbeddedWindow w)
{
throw new HeadlessException();
}
开发者ID:vilie,项目名称:javify,代码行数:5,代码来源:HeadlessToolkit.java
示例6: createEmbeddedWindow
import gnu.java.awt.peer.EmbeddedWindowPeer; //导入依赖的package包/类
@Override
public EmbeddedWindowPeer createEmbeddedWindow(EmbeddedWindow arg0) {
throw new UnsupportedOperationException("Not yet implemented.");
}
开发者ID:julianwi,项目名称:awtonandroid,代码行数:5,代码来源:AndroidToolkit.java
示例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);
开发者ID:vilie,项目名称:javify,代码行数:8,代码来源:ClasspathToolkit.java
注:本文中的gnu.java.awt.peer.EmbeddedWindowPeer类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论