@SuppressWarnings("unchecked")
    @Override
    public Byte getValue() {
	byte value = 0;
	for (int i = 0; i < key.length; i++) {
	    value |= key[i].getBackground() == Color.GREEN ? 1 << i : 0;
	}
	return Byte.valueOf(value);
    }