@SuppressWarnings("rawtypes")
@Override
public boolean canHandleKeyPress(Component component, PreviewEvent pe) {
if (component.getParent() instanceof ListField<?>) {
ListField lf = (ListField) component.getParent();
Component p = (Component) lf.getParent();
return p != null && p.getParent() instanceof DualListField;
}
return component instanceof DualListField;
}