com.mxgraph.view.mxGraph.getChildCells()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(92)

本文整理了Java中com.mxgraph.view.mxGraph.getChildCells()方法的一些代码示例,展示了mxGraph.getChildCells()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。mxGraph.getChildCells()方法的具体详情如下:
包路径:com.mxgraph.view.mxGraph
类名称:mxGraph
方法名:getChildCells

mxGraph.getChildCells介绍

[英]Returns the visible children of the given parent.
[中]返回给定父对象的可见子对象。

代码示例

代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx

  1. /**
  2. * Returns the visible child vertices of the given parent.
  3. *
  4. * @param parent Cell whose children should be returned.
  5. */
  6. public Object[] getChildVertices(Object parent)
  7. {
  8. return getChildCells(parent, true, false);
  9. }

代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx

  1. /**
  2. * Returns the visible child edges of the given parent.
  3. *
  4. * @param parent Cell whose children should be returned.
  5. */
  6. public Object[] getChildEdges(Object parent)
  7. {
  8. return getChildCells(parent, false, true);
  9. }

代码示例来源:origin: org.tinyjee.jgraphx/jgraphx

  1. /**
  2. * Returns the visible child edges of the given parent.
  3. *
  4. * @param parent Cell whose children should be returned.
  5. */
  6. public Object[] getChildEdges(Object parent)
  7. {
  8. return getChildCells(parent, false, true);
  9. }

代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx

  1. /**
  2. *
  3. * @param parent
  4. * @param vertices
  5. * @param edges
  6. * @return
  7. */
  8. public Object[] getChildCells(Object parent, boolean vertices, boolean edges)
  9. {
  10. return graph.getChildCells(parent, vertices, edges);
  11. }

代码示例来源:origin: org.tinyjee.jgraphx/jgraphx

  1. /**
  2. * Returns the visible children of the given parent.
  3. *
  4. * @param parent Cell whose children should be returned.
  5. */
  6. public Object[] getChildCells(Object parent)
  7. {
  8. return getChildCells(parent, false, false);
  9. }

代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx

  1. /**
  2. * Returns the visible children of the given parent.
  3. *
  4. * @param parent Cell whose children should be returned.
  5. */
  6. public Object[] getChildCells(Object parent)
  7. {
  8. return getChildCells(parent, false, false);
  9. }

代码示例来源:origin: org.tinyjee.jgraphx/jgraphx

  1. /**
  2. * Returns the visible child vertices of the given parent.
  3. *
  4. * @param parent Cell whose children should be returned.
  5. */
  6. public Object[] getChildVertices(Object parent)
  7. {
  8. return getChildCells(parent, true, false);
  9. }

代码示例来源:origin: org.tinyjee.jgraphx/jgraphx

  1. public Object[] getChildCells(Object parent, boolean vertices, boolean edges)
  2. {
  3. return graph.getChildCells(parent, vertices, edges);
  4. }

代码示例来源:origin: org.activecomponents.jadex/jadex-editor-bpmn

  1. Object[] cells = graph.getChildCells(graph.getDefaultParent());
  2. for (Object cell : cells)
  3. Object[] cells = graph.getChildCells(graph.getDefaultParent());
  4. for (Object cell : cells)

代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx

  1. Object[] children = getChildCells(cells[i]);

代码示例来源:origin: org.tinyjee.jgraphx/jgraphx

  1. Object[] children = getChildCells(cells[i]);

相关文章

mxGraph类方法