Revision 6604 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/fframes/FFrameTable.java
FFrameTable.java | ||
---|---|---|
42 | 42 |
* |
43 | 43 |
* $Id$ |
44 | 44 |
* $Log$ |
45 |
* Revision 1.3 2006-05-26 06:51:08 caballero |
|
45 |
* Revision 1.4 2006-08-01 09:16:24 caballero |
|
46 |
* optimizar c?digo |
|
47 |
* |
|
48 |
* Revision 1.3 2006/05/26 06:51:08 caballero |
|
46 | 49 |
* Proyectos de la versi?n 0.6 |
47 | 50 |
* |
48 | 51 |
* Revision 1.2 2006/04/18 06:43:11 caballero |
... | ... | |
305 | 308 |
public boolean contains(Point2D p) { |
306 | 309 |
if (!selectFFrameBasic) |
307 | 310 |
return super.contains(p); |
308 |
else{ |
|
309 |
return contains(p); |
|
310 |
} |
|
311 |
|
|
311 |
return contains(p); |
|
312 | 312 |
} |
313 | 313 |
|
314 | 314 |
public void drawHandlers(Graphics2D g) { |
... | ... | |
323 | 323 |
public int getContains(Point2D p) { |
324 | 324 |
if (!selectFFrameBasic) |
325 | 325 |
return super.getContains(p); |
326 |
else { |
|
327 |
return getContainsGroup(p); |
|
328 |
} |
|
326 |
return getContainsGroup(p); |
|
329 | 327 |
} |
330 | 328 |
|
331 | 329 |
public Rectangle2D getMovieRect(int difx, int dify) { |
... | ... | |
334 | 332 |
Rectangle2D r= super.getMovieRect(difx,dify); |
335 | 333 |
if (!selectFFrameBasic) |
336 | 334 |
return r; |
337 |
else { |
|
338 |
r= super.getMovieRect(0,0); |
|
339 |
//r=getMovieRectGroup(difx,dify); |
|
340 |
} |
|
341 |
|
|
335 |
r= super.getMovieRect(0,0); |
|
342 | 336 |
return r; |
343 | 337 |
} |
344 | 338 |
|
... | ... | |
507 | 501 |
public Cursor getMapCursor(Point2D p) { |
508 | 502 |
if (!selectFFrameBasic) |
509 | 503 |
return super.getMapCursor(p); |
510 |
else { |
|
511 |
return getMapCursorGroup(p); |
|
512 |
} |
|
513 |
|
|
514 |
} |
|
504 |
return getMapCursorGroup(p); |
|
505 |
} |
|
515 | 506 |
public Cursor getMapCursorGroup(Point2D p){ |
516 | 507 |
int select = getContains(p); |
517 | 508 |
switch (select) { |
Also available in: Unified diff