public int[] getCheckedIndices() {
	       int[] result = new int[getCheckedCount()];
	       int index = 0;
	        for (int i = 0; i < checkedItems.length; i++) {
            if (checkedItems[i]) {
	                result[index] = i;
	                index++;
	            }
	        }
	        return result;
	    }