public KeyFrame getKey(int i) { return (KeyFrame) keys.get(i);
public KeyFrame getKey(String keyName) { Iterator itr = keys.iterator(); while (itr.hasNext()) { KeyFrame k = (KeyFrame) itr.next(); if (k != null && k.equalsIgnoreCase(keyName)) { return k; } } return null;
    public KeyFrame getKey(int i) {        return (KeyFrame) keys.get(i);    }