1 |
/* JTableHeader.java -- |
/* JTableHeader.java -- |
2 |
Copyright (C) 2003, 2004 Free Software Foundation, Inc. |
Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
616 |
setUI((TableHeaderUI) UIManager.getUI(this)); |
setUI((TableHeaderUI) UIManager.getUI(this)); |
617 |
} |
} |
618 |
|
|
619 |
|
public int columnAtPoint(Point point) |
620 |
|
{ |
621 |
|
if (getBounds().contains(point)) |
622 |
|
return columnModel.getColumnIndexAtX(point.x); |
623 |
|
|
624 |
|
return -1; |
625 |
|
} |
626 |
} |
} |