Kalaimaan

Doing simple things to make great life

Posts Tagged ‘toback’

Group selection, tofront, toback

Posted by kalaimaan on January 29, 2009

  • Select all child in a group

Here groupCell is mean by parent DefaultgraphCell

jGraph.addSelectionCells(groupCell.getChildren().toArray());

  • Send back the selected cells

jGraph.getGraphLayoutCache().toFront(jGraph.getSelectionCells.toArray());

  • Bring the selected cells into back

jGraph.getGraphLayoutCache().toBack(jGraph.getSelectionCells.toArray());

Posted in JGraph | Tagged: , , | Leave a Comment »