@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((action == null) ? 0 : action.hashCode()); result = prime * result + ((name == null) ? 0 : name.hashCode()); return result; }
public void resetAction() { for (Action action : Action.values()) { getActionMap().put(action, true); } }