本文整理了Java中org.eclipse.swt.widgets.Tree.releaseItems()
方法的一些代码示例,展示了Tree.releaseItems()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Tree.releaseItems()
方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Tree
类名称:Tree
方法名:releaseItems
暂无
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
@Override
void releaseChildren (boolean destroy) {
if (destroy) {
parent.releaseItems (handle);
}
super.releaseChildren (destroy);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
@Override
void releaseChildren (boolean destroy) {
if (destroy) {
parent.releaseItems (handle);
}
super.releaseChildren (destroy);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
@Override
void releaseChildren (boolean destroy) {
if (destroy) {
parent.releaseItems (handle);
}
super.releaseChildren (destroy);
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86
@Override
void releaseChildren (boolean destroy) {
if (destroy) {
TVITEM tvItem = new TVITEM ();
tvItem.mask = OS.TVIF_HANDLE | OS.TVIF_PARAM;
parent.releaseItems (handle, tvItem);
}
super.releaseChildren (destroy);
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86
void releaseItems (int /*long*/ hItem, TVITEM tvItem) {
hItem = OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CHILD, hItem);
while (hItem != 0) {
releaseItems (hItem, tvItem);
releaseItem (hItem, tvItem, true);
hItem = OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_NEXT, hItem);
}
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
void releaseItems (long /*int*/ parentIter) {
int[] index = new int [1];
long /*int*/ iter = OS.g_malloc (OS.GtkTreeIter_sizeof ());
boolean valid = OS.gtk_tree_model_iter_children (modelHandle, iter, parentIter);
while (valid) {
releaseItems (iter);
if (!isDisposed ()) {
OS.gtk_tree_model_get (modelHandle, iter, ID_COLUMN, index, -1);
if (index [0] != -1) {
TreeItem item = items [index [0]];
if (item != null) releaseItem (item, true);
}
}
valid = OS.gtk_tree_model_iter_next (modelHandle, iter);
}
OS.g_free (iter);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
void releaseItems (int /*long*/ parentIter) {
int[] index = new int [1];
int /*long*/ iter = OS.g_malloc (OS.GtkTreeIter_sizeof ());
boolean valid = OS.gtk_tree_model_iter_children (modelHandle, iter, parentIter);
while (valid) {
releaseItems (iter);
if (!isDisposed ()) {
OS.gtk_tree_model_get (modelHandle, iter, ID_COLUMN, index, -1);
if (index [0] != -1) {
TreeItem item = items [index [0]];
if (item != null) releaseItem (item, true);
}
}
valid = OS.gtk_tree_model_iter_next (modelHandle, iter);
}
OS.g_free (iter);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
void releaseItems (int /*long*/ parentIter) {
int[] index = new int [1];
int /*long*/ iter = OS.g_malloc (OS.GtkTreeIter_sizeof ());
boolean valid = OS.gtk_tree_model_iter_children (modelHandle, iter, parentIter);
while (valid) {
releaseItems (iter);
if (!isDisposed ()) {
OS.gtk_tree_model_get (modelHandle, iter, ID_COLUMN, index, -1);
if (index [0] != -1) {
TreeItem item = items [index [0]];
if (item != null) releaseItem (item, true);
}
}
valid = OS.gtk_tree_model_iter_next (modelHandle, iter);
}
OS.g_free (iter);
}
内容来源于网络,如有侵权,请联系作者删除!