255256257258259260261262263264265
public boolean remove(Widget child) { // Validate. if (child.getParent() != this) { return false; } if (!fireCancellableEvent(new BeforeRemoveEvent(child))) { return false; } // Orphan. try { orphan(child);