src/main/java/com/mxgraph/swing/mxGraphComponent.java
public void selectCellsForEvent(Object[] cells, MouseEvent event)
	{
		if (isToggleEvent(event))
		{
			graph.addSelectionCells(cells);
		}
		else
		{
			graph.setSelectionCells(cells);
		}
	}
/**
	 * Selects the cells for the given event.
	 */
Selects the cells for the given event.
Selects the cells for the given event .
public void selectCellsForEvent(Object[] cells, MouseEvent event)
	{
		if (isToggleEvent(event))
		{
			graph.addSelectionCells(cells);
		}
		else
		{
			graph.setSelectionCells(cells);
		}
	}
public void selectCellsForEvent ( Object [ ] cells , MouseEvent event ) { if ( isToggleEvent ( event ) ) { graph . addSelectionCells ( cells ) ; } else { graph . setSelectionCells ( cells ) ; } }
Selects the cells for the given event.
Selects the cells for the given event .