public void beforeChildAdded(Component newChild, Component refChild) { if (!(newChild instanceof Area)) throw new UiException("Unsupported child for imagemap: " + newChild); super.beforeChildAdded(newChild, refChild); } }
public void beforeChildAdded(Component newChild, Component refChild) { if (!(newChild instanceof Area)) throw new UiException("Unsupported child for imagemap: " + newChild); super.beforeChildAdded(newChild, refChild); } }