/** * Returns the cells which are movable in the given array of cells. */ public Object[] getFoldableCells(Object[] cells, final boolean collapse) { return mxGraphModel.filterCells(cells, new Filter() { public boolean filter(Object cell) { return isCellFoldable(cell, collapse); } }); }
/** * Returns all cells which may be exported via datatransfer. */ public Object[] getExportableCells(Object[] cells) { return mxGraphModel.filterCells(cells, new Filter() { public boolean filter(Object cell) { return canExportCell(cell); } }); }
/** * Returns all cells which may be imported via datatransfer. */ public Object[] getImportableCells(Object[] cells) { return mxGraphModel.filterCells(cells, new Filter() { public boolean filter(Object cell) { return canImportCell(cell); } }); }
/** * Returns all cells which may be imported via datatransfer. */ public Object[] getImportableCells(Object[] cells) { return mxGraphModel.filterCells(cells, new Filter() { public boolean filter(Object cell) { return canImportCell(cell); } }); }
/** * Returns all cells which may be exported via datatransfer. */ public Object[] getExportableCells(Object[] cells) { return mxGraphModel.filterCells(cells, new Filter() { public boolean filter(Object cell) { return canExportCell(cell); } }); }
/** * Returns the cells which are movable in the given array of cells. */ public Object[] getDeletableCells(Object[] cells) { return mxGraphModel.filterCells(cells, new Filter() { public boolean filter(Object cell) { return isCellDeletable(cell); } }); }
/** * Returns the cells which are movable in the given array of cells. */ public Object[] getCloneableCells(Object[] cells) { return mxGraphModel.filterCells(cells, new Filter() { public boolean filter(Object cell) { return isCellCloneable(cell); } }); }
/** * Returns the cells which are movable in the given array of cells. */ public Object[] getMovableCells(Object[] cells) { return mxGraphModel.filterCells(cells, new Filter() { public boolean filter(Object cell) { return isCellMovable(cell); } }); }
/** * Returns the cells which are movable in the given array of cells. */ public Object[] getDeletableCells(Object[] cells) { return mxGraphModel.filterCells(cells, new Filter() { public boolean filter(Object cell) { return isCellDeletable(cell); } }); }
/** * Returns the cells which are movable in the given array of cells. */ public Object[] getCloneableCells(Object[] cells) { return mxGraphModel.filterCells(cells, new Filter() { public boolean filter(Object cell) { return isCellCloneable(cell); } }); }
/** * Returns the cells which are movable in the given array of cells. */ public Object[] getMovableCells(Object[] cells) { return mxGraphModel.filterCells(cells, new Filter() { public boolean filter(Object cell) { return isCellMovable(cell); } }); }
/** * Returns the cells which are movable in the given array of cells. */ public Object[] getFoldableCells(Object[] cells, final boolean collapse) { return mxGraphModel.filterCells(cells, new Filter() { public boolean filter(Object cell) { return isCellFoldable(cell, collapse); } }); }