(Graphics g, int ofs, boolean sel)
| 61 | public String toString() { return (locale==null)?name:locale; } |
| 62 | |
| 63 | public void drawItem(Graphics g, int ofs, boolean sel) { |
| 64 | int width=g.getClipWidth(); |
| 65 | int height=super.getVHeight(); |
| 66 | |
| 67 | int oldColor=g.getColor(); |
| 68 | |
| 69 | g.setColor(color); |
| 70 | g.fillRect(1, 1, height-2, height-2); |
| 71 | |
| 72 | g.setColor(oldColor); |
| 73 | |
| 74 | g.translate(height,0); |
| 75 | super.drawItem(g, ofs, sel); |
| 76 | g.translate(-height,0); |
| 77 | |
| 78 | } |
| 79 | |
| 80 | //public void setLocale(String locale){ this.locale=locale; } |
| 81 |
nothing calls this directly
no test coverage detected