本文整理了Java中com.mxgraph.view.mxGraph.getChildCells()
方法的一些代码示例,展示了mxGraph.getChildCells()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。mxGraph.getChildCells()
方法的具体详情如下:
包路径:com.mxgraph.view.mxGraph
类名称:mxGraph
方法名:getChildCells
[英]Returns the visible children of the given parent.
[中]返回给定父对象的可见子对象。
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* Returns the visible child vertices of the given parent.
*
* @param parent Cell whose children should be returned.
*/
public Object[] getChildVertices(Object parent)
{
return getChildCells(parent, true, false);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* Returns the visible child edges of the given parent.
*
* @param parent Cell whose children should be returned.
*/
public Object[] getChildEdges(Object parent)
{
return getChildCells(parent, false, true);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* Returns the visible child edges of the given parent.
*
* @param parent Cell whose children should be returned.
*/
public Object[] getChildEdges(Object parent)
{
return getChildCells(parent, false, true);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
*
* @param parent
* @param vertices
* @param edges
* @return
*/
public Object[] getChildCells(Object parent, boolean vertices, boolean edges)
{
return graph.getChildCells(parent, vertices, edges);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* Returns the visible children of the given parent.
*
* @param parent Cell whose children should be returned.
*/
public Object[] getChildCells(Object parent)
{
return getChildCells(parent, false, false);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* Returns the visible children of the given parent.
*
* @param parent Cell whose children should be returned.
*/
public Object[] getChildCells(Object parent)
{
return getChildCells(parent, false, false);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* Returns the visible child vertices of the given parent.
*
* @param parent Cell whose children should be returned.
*/
public Object[] getChildVertices(Object parent)
{
return getChildCells(parent, true, false);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
public Object[] getChildCells(Object parent, boolean vertices, boolean edges)
{
return graph.getChildCells(parent, vertices, edges);
}
代码示例来源:origin: org.activecomponents.jadex/jadex-editor-bpmn
Object[] cells = graph.getChildCells(graph.getDefaultParent());
for (Object cell : cells)
Object[] cells = graph.getChildCells(graph.getDefaultParent());
for (Object cell : cells)
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
Object[] children = getChildCells(cells[i]);
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
Object[] children = getChildCells(cells[i]);
内容来源于网络,如有侵权,请联系作者删除!