public void actionPerformed(ActionEvent e) {
Node.Iterator children = group.getRecursiveChildIterator();
String newval = (type == SET) ? "enabled" : "disabled";
while (children.hasNext()) {
Node child = children.next();
if (type == DEFAULT) {
child.restoreDefault();
} else if (child instanceof Option.Enable) {
Option.Enable enable = (Option.Enable) child;
if (type == INVERT) {
newval = enable.isEnabled() ? "disabled" : "enabled";
}