示例#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);
 }