@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 { } }
/* (non-Javadoc) * @see ch.tbe.framework.View#refresh() */ @Override public void refresh() { legendBar.refresh(); ((SideBar) sideBar).refresh(); }