(Object obj)
| 266 | } |
| 267 | |
| 268 | public void addElement(Object obj) { |
| 269 | height=0; |
| 270 | width=0; // discarding cached values |
| 271 | super.addElement(obj); |
| 272 | } |
| 273 | |
| 274 | public void addImage(int imageIndex){ addElement(new Integer(imageIndex)); } |
| 275 | public void addColor(int colorRGB){ addElement(new Integer(COLOR | colorRGB)); } |
no outgoing calls
no test coverage detected