public Object getEdgeAt(Object parent, int index) { return (parent instanceof mxICell) ? ((mxICell) parent) .getEdgeAt(index) : null; }
public Object getEdgeAt(Object parent, int index) { return (parent instanceof mxICell) ? ((mxICell) parent) .getEdgeAt(index) : null; }
public static Set<mxICell> getTargetCells(mxICell input) { if(input == null) return Collections.emptySet(); int count = input.getEdgeCount(); Set<mxICell> result = new HashSet<mxICell>(count, 1); for(int i = 0; i < count; i++) { mxICell tmp = input.getEdgeAt(i); if(tmp instanceof mxCell && ((mxCell)tmp).getSource() == input) { result.add(tmp); } } return result; }
for (int ei = 0; ei < child.getEdgeCount(); ++ei) edges.add(child.getEdgeAt(ei));
for (int ei = 0; ei < child.getEdgeCount(); ++ei) edges.add(child.getEdgeAt(ei));
for (int ei = 0; ei < child.getEdgeCount(); ++ei) edges.add(child.getEdgeAt(ei));