package com.smartgwt.client.core;

public class KeyIdentifier extends DataClass {
    /**
     * Set the keyName.
     *
     * @param keyName the keyName
     */
    public void setKeyName(String keyName) {
        setAttribute("keyName", keyName);
    }

    /**
     * Return the keyName.
     *
     * @return the keyName
     */
    public String getKeyName() {
        return getAttribute("keyName");
    }

    /**
     * Set the ctrlKey.
     *
     * @param ctrlKey the ctrlKey
     */
    public void setCtrlKey(boolean ctrlKey) {
        setAttribute("ctrlKey", ctrlKey);
    }

    /**
     * Return the ctrlKey.
     *
     * @return the ctrlKey
     */
    public boolean getCtrlKey() {
        return getAttributeAsBoolean("ctrlKey");
    }

    public void setShiftKey(boolean shiftKey) {
        setAttribute("shiftKey", shiftKey);
    }

    public boolean getShiftKey() {
        return getAttributeAsBoolean("shiftKey");
    }

    public void setAltKey(boolean altKey) {
        setAttribute("altKey", altKey);
    }

    public boolean getAltKey() {
        return getAttributeAsBoolean("altKey");
    }

}
