parentChanged method
- ContainerComponent from,
- ContainerComponent to
@protected, inherited
Implementation
@protected
void parentChanged(ContainerComponent from, ContainerComponent to) {
if (from != null) {
from.children.remove(this);
from.childRemoved(this);
}
if (to != null) {
to.children.add(this);
to.childAdded(this);
}
markRebuildDependencies();
}