private void moveSelection(int dx, int dy, boolean shouldChildMove, int state) {
if (state != 0) {
//System.out.println("caculate " + state);
FigureEnumeration figs_tmp = drawingView.selectionElements();
if (listT == null) {
listT = new ArrayList();
} else {
listT.clear();
}
if (listTConnection == null) {
listTConnection = new ArrayList();
} else {
listTConnection.clear();
}
while (figs_tmp.hasMoreElements()) {
Figure fig = figs_tmp.nextFigure();
if (ConnectionFigure.class.isInstance(fig))
continue;
if (!listT.contains(fig)) {