예제 #1
0
 protected void configureCollapsedFigure(IFigure figure) {
   figure.setLayoutManager(new FlowLayout());
   figure.addMouseMotionListener(getMouseMotionListener());
   figure.add(collapsedImageLabel);
   figure.add(collapsedNameLabel);
 }
예제 #2
0
 public Dnd(IFigure figure) {
   figure.addMouseMotionListener(this);
   figure.addMouseListener(this);
 }