public bool isCursorTypeAllowed(string type) { return(isCursorTypeAllowed(DescriptorData.getCursorTypeIndex(type))); }