예제 #1
0
  @Override
  public void mouseExited(MouseEvent e) {

    if (_up != null) { // && (e.getY() < _h-10)) {
      if (_up.getType() == BoardObject.type.SETTLEMENT) sb.activateExchanger(0, true);
      else if (_up.getType() == BoardObject.type.ROAD) sb.activateExchanger(1, true);
      else if (_up.getType() == BoardObject.type.CITY) sb.activateExchanger(3, true);
      //                 sb.setUp(_up,e.getX(),e.getY());
      _up = null;
      repaint();
    } else {

    }
  }
예제 #2
0
 /* (non-Javadoc)
  * @see ch.tbe.framework.View#refresh()
  */
 @Override
 public void refresh() {
   legendBar.refresh();
   ((SideBar) sideBar).refresh();
 }