refactoring tile delete method
This commit is contained in:
@@ -193,6 +193,13 @@ public class ActionList extends Action implements Iterable<Action>{
|
||||
return super.properties(preForm, formInputs, postForm);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseClass remove() {
|
||||
super.remove();
|
||||
while (!actions.isEmpty()) actions.lastElement().remove();
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeChild(BaseClass child) {
|
||||
actions.remove(child);
|
||||
|
||||
Reference in New Issue
Block a user