B2BÍøÂçÈí¼þ

 ÕÒ»ØÃÜÂë
 Á¢¼´×¢²á ÉóºËÍøÕ¾ºÅ:QQ:896757558
ËÑË÷
²é¿´: 7|»Ø¸´: 0
´òÓ¡ ÉÏÒ»Ö÷Ìâ ÏÂÒ»Ö÷Ìâ

°²×¿ÁÐ±í¿Ø¼þ [uiList] ·½·¨Ð¡½á

[¸´ÖÆÁ´½Ó]

953

Ö÷Ìâ

958

Ìû×Ó

7089

»ý·Ö

abc

Rank: 9Rank: 9Rank: 9

»ý·Ö
7089
Ìø×ªµ½Ö¸¶¨Â¥²ã
Â¥Ö÷

°²×¿ÁÐ±í¿Ø¼þ [uiList] ·½·¨Ð¡½á
°²×¿ÁÐ±í¿Ø¼þ [uiList] ·½·¨Ð¡½á B2BÍøÂçÈí¼þ

°²×¿ÁÐ±í¿Ø¼þ [uiList] ·½·¨Ð¡½á B2BÍøÂçÈí¼þ

  1. /**
  2. *🍎½»Á÷QQȺ711841924Ⱥһ£¬Æ»¹ûÄÚ²âȺ£¬528816639
  3. * uiList ¶ÔÏóÓÃÓÚ´¦ÀíÁбíÊý¾ÝµÄ¸÷ÖÖ²Ù×÷
  4. * isLast: ÊÇ·ñΪ×îºóÒ»ÐÐ
  5. */

  6. /**
  7. * ·½·¨ 1: Ìí¼ÓÒ»ÐÐÊý¾Ý
  8. * @method add
  9. * @returns {void} ÎÞ·µ»ØÖµ
  10. * @example
  11. * uiList.add();
  12. */
  13. uiList.add = function() {
  14.     // ʵÏÖÌí¼ÓÒ»ÐÐÊý¾ÝµÄÂß¼­
  15. };

  16. /**
  17. * ·½·¨ 2: Ìí¼Ó¶àÐÐÊý×éÊý¾Ý
  18. * @method addArray
  19. * @param {Object[]} arg0 - ÒªÌí¼ÓµÄ¶àÐÐÊý¾ÝÊý×é
  20. * @returns {void} ÎÞ·µ»ØÖµ
  21. * @example
  22. * uiList.addArray(new Object[]{"ÐÐ1ÁÐ1", "ÐÐ1ÁÐ2", "ÐÐ2ÁÐ1", "ÐÐ2ÁÐ2"});
  23. */
  24. uiList.addArray = function(arg0) {
  25.     // ʵÏÖÌí¼Ó¶àÐÐÊý×éÊý¾ÝµÄÂß¼­
  26. };

  27. /**
  28. * ·½·¨ 3: Çå¿Õ±í
  29. * @method clear
  30. * @returns {void} ÎÞ·µ»ØÖµ
  31. * @example
  32. * uiList.clear();
  33. */
  34. uiList.clear = function() {
  35.     // ʵÏÖÇå¿Õ±íµÄÂß¼­
  36. };

  37. /**
  38. * ·½·¨ 4: ɾ³ýµ±Ç°ÐÐ
  39. * @method delete
  40. * @returns {void} ÎÞ·µ»ØÖµ
  41. * @example
  42. * uiList.delete();
  43. */
  44. uiList.delete = function() {
  45.     // ʵÏÖɾ³ýµ±Ç°ÐеÄÂß¼­
  46. };

  47. /**
  48. * ·½·¨ 5: Ö´ÐÐ SQL Óï¾ä
  49. * @method execSQL
  50. * @param {String} arg0 - SQL Óï¾ä
  51. * @returns {void} ÎÞ·µ»ØÖµ
  52. * @example
  53. * uiList.execSQL("DELETE FROM table WHERE id=1");
  54. */
  55. uiList.execSQL = function(arg0) {
  56.     // ʵÏÖÖ´ÐÐ SQL Óï¾äµÄÂß¼­
  57. };

  58. /**
  59. * ·½·¨ 6: Êý¾Ýµ¼³ö
  60. * @method exportData
  61. * @param {String} arg0 - µ¼³öÏà¹ØÅäÖà / ·¾¶µÈ
  62. * @returns {void} ÎÞ·µ»ØÖµ
  63. * @example
  64. * uiList.exportData("µ¼³öÅäÖÃ");
  65. */
  66. uiList.exportData = function(arg0) {
  67.     // ʵÏÖÊý¾Ýµ¼³öµÄÂß¼­
  68. };

  69. /**
  70. * ·½·¨ 7: Êý¾Ýµ¼³öµ½ TXT
  71. * @method exportTxt
  72. * @param {String} arg0 - TXT µ¼³ö·¾¶µÈ
  73. * @returns {void} ÎÞ·µ»ØÖµ
  74. * @example
  75. * uiList.exportTxt("D:/data.txt");
  76. */
  77. uiList.exportTxt = function(arg0) {
  78.     // ʵÏÖÊý¾Ýµ¼³öµ½ TXT µÄÂß¼­
  79. };

  80. /**
  81. * ·½·¨ 8: ¼ÓÔØÁÐ±í¿Ø¼þ
  82. * @method findByID
  83. * @param {String} arg0 - ¿Ø¼þ ID
  84. * @returns {Object} ¼ÓÔØµÄÁÐ±í¿Ø¼þ¶ÔÏó
  85. * @example
  86. * var list = uiList.findByID("list1");
  87. */
  88. uiList.findByID = function(arg0) {
  89.     // ʵÏÖ¼ÓÔØÁÐ±í¿Ø¼þµÄÂß¼­
  90.     return null; // ·µ»Ø¼ÓÔØµÄÁÐ±í¿Ø¼þ¶ÔÏó
  91. };

  92. /**
  93. * ·½·¨ 9: »ñÈ¡ÁÐÊý
  94. * @method getColumnCount
  95. * @returns {int} ÁеÄÊýÁ¿
  96. * @example
  97. * int count = uiList.getColumnCount();
  98. */
  99. uiList.getColumnCount = function() {
  100.     // ʵÏÖ»ñÈ¡ÁÐÊýµÄÂß¼­
  101.     return 0; // ·µ»ØÁеÄÊýÁ¿
  102. };

  103. /**
  104. * ·½·¨ 10: ͨ¹ýÁÐÃû»ñÈ¡ËùÔÚµÚ¼¸ÁÐ
  105. * @method getColumnIndex
  106. * @param {String} arg0 - ÁÐÃû
  107. * @returns {int} ÁеÄË÷Òý£¬´Ó 0 ¿ªÊ¼
  108. * @example
  109. * int index = uiList.getColumnIndex("ÐÕÃû");
  110. */
  111. uiList.getColumnIndex = function(arg0) {
  112.     // ʵÏÖͨ¹ýÁÐÃû»ñÈ¡ÁÐË÷ÒýµÄÂß¼­
  113.     return 0; // ·µ»ØÁеÄË÷Òý
  114. };

  115. /**
  116. * ·½·¨ 11: ͨ¹ýÁкŻñÈ¡ÁÐÃû
  117. * @method getColumnName
  118. * @param {int} arg0 - Áкţ¨´Ó 0 ¿ªÊ¼£©
  119. * @returns {String} ÁÐÃû
  120. * @example
  121. * String name = uiList.getColumnName(0);
  122. */
  123. uiList.getColumnName = function(arg0) {
  124.     // ʵÏÖͨ¹ýÁкŻñÈ¡ÁÐÃûµÄÂß¼­
  125.     return ""; // ·µ»ØÁÐÃû
  126. };

  127. /**
  128. * ·½·¨ 12: »ñȡȫ²¿ÁÐÃû
  129. * @method getColumnNames
  130. * @returns {String[]} ÁÐÃûÊý×é
  131. * @example
  132. * String[] names = uiList.getColumnNames();
  133. */
  134. uiList.getColumnNames = function() {
  135.     // ʵÏÖ»ñȡȫ²¿ÁÐÃûµÄÂß¼­
  136.     return []; // ·µ»ØÁÐÃûÊý×é
  137. };

  138. /**
  139. * ·½·¨ 13: »ñÈ¡¼Ç¼Êý
  140. * @method getCount
  141. * @returns {int} ¼Ç¼µÄÊýÁ¿
  142. * @example
  143. * int count = uiList.getCount();
  144. */
  145. uiList.getCount = function() {
  146.     // ʵÏÖ»ñÈ¡¼Ç¼ÊýµÄÂß¼­
  147.     return 0; // ·µ»Ø¼Ç¼µÄÊýÁ¿
  148. };

  149. /**
  150. * ·½·¨ 14: ²éѯµ±Ç°½ø¶È
  151. * @method getCursorSetp
  152. * @returns {int} µ±Ç°½ø¶ÈÖµ
  153. * @example
  154. * int step = uiList.getCursorSetp();
  155. */
  156. uiList.getCursorSetp = function() {
  157.     // ʵÏÖ²éѯµ±Ç°½ø¶ÈµÄÂß¼­
  158.     return 0; // ·µ»Øµ±Ç°½ø¶ÈÖµ
  159. };

  160. /**
  161. * ·½·¨ 15: »ñÈ¡µ±Ç°ÐÐ
  162. * @method getPosition
  163. * @returns {int} µ±Ç°ÐкÅ
  164. * @example
  165. * int row = uiList.getPosition();
  166. */
  167. uiList.getPosition = function() {
  168.     // ʵÏÖ»ñÈ¡µ±Ç°ÐеÄÂß¼­
  169.     return 0; // ·µ»Øµ±Ç°ÐкÅ
  170. };

  171. /**
  172. * ·½·¨ 16: ͨ¹ýÁÐÃû»ñȡֵ
  173. * @method getString
  174. * @param {String} arg0 - ÁÐÃû
  175. * @returns {String} ¶ÔÓ¦ÁеÄÖµ
  176. * @example
  177. * String val = uiList.getString("ÐÕÃû");
  178. */
  179. uiList.getString = function(arg0) {
  180.     // ʵÏÖͨ¹ýÁÐÃû»ñȡֵµÄÂß¼­
  181.     return ""; // ·µ»Ø¶ÔÓ¦ÁеÄÖµ
  182. };

  183. /**
  184. * ·½·¨ 17: ͨ¹ýÁкŻñȡֵ
  185. * @method getStringl
  186. * @param {int} arg0 - ÁкÅ
  187. * @returns {String} ¶ÔÓ¦ÁеÄÖµ
  188. * @example
  189. * String val = uiList.getStringl(0);
  190. */
  191. uiList.getStringl = function(arg0) {
  192.     // ʵÏÖͨ¹ýÁкŻñȡֵµÄÂß¼­
  193.     return ""; // ·µ»Ø¶ÔÓ¦ÁеÄÖµ
  194. };

  195. /**
  196. * ·½·¨ 18: ´Ó×Ö·û´®Öе¼ÈëÊý¾Ýµ½Áбí
  197. * ¸ñʽΪÿÐÐÓÃ;£¨»Ø³µ£©Çø·Ö£¬ÁÐÓÃ----·Ö¸î
  198. * @method importData
  199. * @param {String} arg0 - Òªµ¼ÈëµÄÊý¾Ý
  200. * @returns {boolean} µ¼ÈëÊÇ·ñ³É¹¦
  201. * @example
  202. * uiList.importData("u1----111111;u2----222222;u3----333333;");
  203. */
  204. uiList.importData = function(arg0) {
  205.     // ʵÏÖÊý¾Ýµ¼ÈëµÄÂß¼­
  206.     return false; // ·µ»Øµ¼ÈëÊÇ·ñ³É¹¦
  207. };

  208. /**
  209. * ·½·¨ 19: ÅжÏÊÇ·ñΪ×îºóÒ»ÐÐ
  210. * @method isLast
  211. * @returns {boolean} ÊÇ·ñΪ×îºóÒ»ÐÐ
  212. * @example
  213. * boolean isLast = uiList.isLast();
  214. */
  215. uiList.isLast = function() {
  216.     // ʵÏÖÅжÏÊÇ·ñΪ×îºóÒ»ÐеÄÂß¼­
  217.     return false; // ·µ»ØÊÇ·ñΪ×îºóÒ»ÐÐ
  218. };

  219. /**
  220. * ·½·¨ 20: ÒÆ¶¯¼¸ÐÐ
  221. * ×¢Ò⣺ÊÇÏòÏ»òÕßÏòÉÏÒÆ¶¯µÄÐÐÊý£¬²»ÊÇÖ¸¶¨Ä¿±êÐÐÊý
  222. * @method move
  223. * @param {int} arg0 - ÒÆ¶¯µÄÐÐÊý£¨ÕýÊýÏòÏ¡¢¸ºÊýÏòÉÏÒÆ¶¯¶ÔÓ¦ÐÐÊý£©
  224. * @returns {void} ÎÞ·µ»ØÖµ
  225. * @example
  226. * uiList.move(2); // ÏòÏÂÒÆ¶¯ 2 ÐÐ
  227. */
  228. uiList.move = function(arg0) {
  229.     // ʵÏÖÒÆ¶¯ÐеÄÂß¼­
  230. };

  231. /**
  232. * ·½·¨ 21: Çл»µ½ÏÂÒ»ÐÐ
  233. * @method moveNext
  234. * @param {boolean} arg0 - Ñ­»·Çл»
  235. * @returns {boolean} Çл»ÊÇ·ñ³É¹¦
  236. * @example
  237. * uiList.moveNext(true);
  238. */
  239. uiList.moveNext = function(arg0) {
  240.     // ʵÏÖÇл»µ½ÏÂÒ»ÐеÄÂß¼­
  241.     return false; // ·µ»ØÇл»ÊÇ·ñ³É¹¦
  242. };

  243. /**
  244. * ·½·¨ 22: Ëæ»úÇл»
  245. * @method moveRand
  246. * @returns {boolean} Çл»ÊÇ·ñ³É¹¦
  247. * @example
  248. * uiList.moveRand();
  249. */
  250. uiList.moveRand = function() {
  251.     // ʵÏÖËæ»úÇл»µÄÂß¼­
  252.     return false; // ·µ»ØÇл»ÊÇ·ñ³É¹¦
  253. };

  254. /**
  255. * ·½·¨ 23: Çл»µ½µÚÒ»ÐÐ
  256. * @method moveToFirst
  257. * @returns {void} ÎÞ·µ»ØÖµ
  258. * @example
  259. * uiList.moveToFirst();
  260. */
  261. uiList.moveToFirst = function() {
  262.     // ʵÏÖÇл»µ½µÚÒ»ÐеÄÂß¼­
  263. };

  264. /**
  265. * ·½·¨ 24: Çл»µ½×îºóÒ»ÐÐ
  266. * @method moveToLast
  267. * @returns {void} ÎÞ·µ»ØÖµ
  268. * @example
  269. * uiList.moveToLast();
  270. */
  271. uiList.moveToLast = function() {
  272.     // ʵÏÖÇл»µ½×îºóÒ»ÐеÄÂß¼­
  273. };

  274. /**
  275. * ·½·¨ 25: Ñ­»·Çл»
  276. * @method moveToNext
  277. * @returns {boolean} Çл»ÊÇ·ñ³É¹¦
  278. * @example
  279. * uiList.moveToNext();
  280. */
  281. uiList.moveToNext = function() {
  282.     // ʵÏÖÑ­»·Çл»µÄÂß¼­
  283.     return false; // ·µ»ØÇл»ÊÇ·ñ³É¹¦
  284. };

  285. /**
  286. * ·½·¨ 26: Çл»µ½Ö¸¶¨ÐÐ
  287. * @method moveToPosition
  288. * @param {int} arg0 - Ö¸¶¨µÄÐкÅ
  289. * @returns {void} ÎÞ·µ»ØÖµ
  290. * @example
  291. * uiList.moveToPosition(5);
  292. */
  293. uiList.moveToPosition = function(arg0) {
  294.     // ʵÏÖÇл»µ½Ö¸¶¨ÐеÄÂß¼­
  295. };

  296. /**
  297. * ·½·¨ 27: Çл»µ½ÉÏÒ»ÐÐ
  298. * @method moveToPrevious
  299. * @returns {void} ÎÞ·µ»ØÖµ
  300. * @example
  301. * uiList.moveToPrevious();
  302. */
  303. uiList.moveToPrevious = function() {
  304.     // ʵÏÖÇл»µ½ÉÏÒ»ÐеÄÂß¼­
  305. };

  306. /**
  307. * ·½·¨ 28: Êý¾Ý²éѯ¹ýÂË£¨°´Ìõ¼þɸѡÁбíÖеÄÊý¾Ý£©
  308. * @method select
  309. * @param {String} sql - ɸѡÌõ¼þ SQL Óï¾ä£¨½öÐèдwhereºóµÄÌõ¼þ£¬ÎÞÐèÍêÕûselectÓï¾ä£©
  310. * @returns {int} ·µ»Ø·ûºÏÌõ¼þµÄ¼Ç¼ÐÐÊý
  311. * @example
  312. * // Á¬½Ó±í
  313. * var list1 = uiList.findByID("list1");
  314. * // ²éѯ±í
  315. * list1.select("select * from uiList where ÄÚÈÝ1 like '%ÕÅÈý%'");
  316. * // Çл»µ½µÚÒ»ÐÐ
  317. * list1.moveToFirst();
  318. * var ÄÚÈÝ = list1.getString(ÁÐÃû="ÄÚÈÝ1");
  319. * printl(ÄÚÈÝ);
  320. * // Çл»ÏÂÒ»ÐÐ
  321. * list1.moveNext(Ñ­»·Çл»=true);
  322. * ÄÚÈÝ = list1.getString(ÁÐÃû="ÄÚÈÝ1");
  323. * printl(ÄÚÈÝ);
  324. */
  325. uiList.select = function(sql) {
  326.     // ʵÏÖÊý¾Ý²éѯ¹ýÂ˵ÄÂß¼­
  327.     return 0; // ·µ»Ø·ûºÏÌõ¼þµÄ¼Ç¼ÐÐÊý
  328. };

  329. /**
  330. * ·½·¨ 29: ±£´æµ±Ç°²Ù×÷½ø¶È
  331. * @method setCursorSetp
  332. * @param {int} step - ×Ô¶¨Òå½ø¶ÈÖµ£¨Èç²½Öè 1¡¢²½Öè 2£¬ÓÃÓÚºóÐø»Ö¸´½ø¶È£©
  333. * @returns {void} ÎÞ·µ»ØÖµ
  334. * @example
  335. * // Íê³ÉµÚÒ»²½²Ù×÷ºó£¬±£´æ½ø¶ÈΪ1
  336. * uiList.setCursorSetp(1);
  337. */
  338. uiList.setCursorSetp = function(step) {
  339.     // ʵÏÖ±£´æµ±Ç°²Ù×÷½ø¶ÈµÄÂß¼­
  340. };

  341. /**
  342. * ·½·¨ 30: ÉèÖÃÁÐ±í¿Ø¼þµÄ¸ß¶È
  343. * @method setHeight
  344. * @param {int} height - ¸ß¶ÈÖµ£¨µ¥Î»£ºÏñËØ£¬¸ù¾Ý½çÃæÊÊÅäÐèÇóÉèÖã©
  345. * @returns {void} ÎÞ·µ»ØÖµ
  346. * @example
  347. * // ÉèÖÃÁбí¸ß¶ÈΪ300ÏñËØ
  348. * uiList.setHeight(300);
  349. */
  350. uiList.setHeight = function(height) {
  351.     // ʵÏÖÉèÖÃÁÐ±í¿Ø¼þ¸ß¶ÈµÄÂß¼­
  352. };

  353. /**
  354. * ·½·¨ 31: ¸üе±Ç°ÓαêËùÔÚÐеÄÖ¸¶¨×Ö¶ÎÖµ
  355. * @method update
  356. * @param {String} columnName - Òª¸üеÄ×Ö¶ÎÃû£¨ÐèÓëÁбíÁÐÃûÍêȫһÖ£©
  357. * @param {String} value - ×ֶεÄÐÂÖµ
  358. * @returns {void} ÎÞ·µ»ØÖµ
  359. * @example
  360. * // ½«µ±Ç°Ðеġ°ÄêÁ䡱×ֶθüÐÂΪ¡°25¡±
  361. * uiList.update("ÄêÁä", "25");
  362. */
  363. uiList.update = function(columnName, value) {
  364.     // ʵÏÖ¸üе±Ç°ÐÐÖ¸¶¨×Ö¶ÎÖµµÄÂß¼­
  365. };
¸´ÖÆ´úÂë
·½·¨ 1£ºadd
씀˵Ã÷
¹¦ÄÜ
Ìí¼ÓÒ»ÐÐÊý¾Ý
·½·¨
void add()
·µ»ØÖµ
void
²ÎÊý
ÎÞ
°¸Àý
uiList.add()
·½·¨ 2£ºaddArray
씀˵Ã÷
¹¦ÄÜ
Ìí¼Ó¶àÐÐÊý×éÊý¾Ý
·½·¨
void addArray(Object[] arg0)
·µ»ØÖµ
void
²ÎÊý
Object[] arg0
: ÒªÌí¼ÓµÄ¶àÐÐÊý¾ÝÊý×é
°¸Àý
uiList.addArray(new Object[]{"ÐÐ1ÁÐ1", "ÐÐ1ÁÐ2", "ÐÐ2ÁÐ1", "ÐÐ2ÁÐ2"})
·½·¨ 3£ºclear
씀˵Ã÷
¹¦ÄÜ
Çå¿Õ±í
·½·¨
void clear()
·µ»ØÖµ
void
²ÎÊý
ÎÞ
°¸Àý
uiList.clear()
·½·¨ 4£ºdelete
씀˵Ã÷
¹¦ÄÜ
ɾ³ýµ±Ç°ÐÐ
·½·¨
void delete()
·µ»ØÖµ
void
²ÎÊý
ÎÞ
°¸Àý
uiList.delete()
·½·¨ 5£ºexecSQL
씀˵Ã÷
¹¦ÄÜ
Ö´ÐÐ SQL Óï¾ä
·½·¨
void execSQL(String arg0)
·µ»ØÖµ
void
²ÎÊý
String arg0
: SQL Óï¾ä
°¸Àý
uiList.execSQL("DELETE FROM table WHERE id=1")
·½·¨ 6£ºexportData
씀˵Ã÷
¹¦ÄÜ
Êý¾Ýµ¼³ö
·½·¨
void exportData(String arg0)
·µ»ØÖµ
void
²ÎÊý
String arg0
: µ¼³öÏà¹ØÅäÖà / ·¾¶µÈ
°¸Àý
uiList.exportData("µ¼³öÅäÖÃ")
·½·¨ 7£ºexportTxt
씀˵Ã÷
¹¦ÄÜ
Êý¾Ýµ¼³öµ½ TXT
·½·¨
void exportTxt(String arg0)
·µ»ØÖµ
void
²ÎÊý
String arg0
: TXT µ¼³ö·¾¶µÈ
°¸Àý
uiList.exportTxt("D:/data.txt")
·½·¨ 8£ºfindByID
씀˵Ã÷
¹¦ÄÜ
¼ÓÔØÁÐ±í¿Ø¼þ
·½·¨
Object findByID(String arg0)
·µ»ØÖµ
Object
£¨¼ÓÔØµÄÁÐ±í¿Ø¼þ¶ÔÏó£©
²ÎÊý
String arg0
: ¿Ø¼þ ID
°¸Àý
var list = uiList.findByID("list1")
·½·¨ 9£ºgetColumnCount
씀˵Ã÷
¹¦ÄÜ
»ñÈ¡ÁÐÊý
·½·¨
int getColumnCount()
·µ»ØÖµ
int
£¨ÁеÄÊýÁ¿£©
²ÎÊý
ÎÞ
°¸Àý
int count = uiList.getColumnCount()
·½·¨ 10£ºgetColumnIndex
씀˵Ã÷
¹¦ÄÜ
ͨ¹ýÁÐÃû»ñÈ¡ËùÔÚµÚ¼¸ÁÐ
·½·¨
int getColumnIndex(String arg0)
·µ»ØÖµ
int
£¨ÁеÄË÷Òý£¬´Ó 0 ¿ªÊ¼£©
²ÎÊý
String arg0
: ÁÐÃû
°¸Àý
int index = uiList.getColumnIndex("ÐÕÃû")
·½·¨ 11£ºgetColumnName
씀˵Ã÷
¹¦ÄÜ
ͨ¹ýÁкŻñÈ¡ÁÐÃû
·½·¨
String getColumnName(int arg0)
·µ»ØÖµ
String
£¨ÁÐÃû£©
²ÎÊý
int arg0
: Áкţ¨´Ó 0 ¿ªÊ¼£©
°¸Àý
String name = uiList.getColumnName(0)
·½·¨ 12£ºgetColumnNames
씀˵Ã÷
¹¦ÄÜ
»ñȡȫ²¿ÁÐÃû
·½·¨
String[] getColumnNames()
·µ»ØÖµ
String[]
£¨ÁÐÃûÊý×飩
²ÎÊý
ÎÞ
°¸Àý
String[] names = uiList.getColumnNames()
·½·¨ 13£ºgetCount
씀˵Ã÷
¹¦ÄÜ
»ñÈ¡¼Ç¼Êý
·½·¨
int getCount()
·µ»ØÖµ
int
£¨¼Ç¼µÄÊýÁ¿£©
²ÎÊý
ÎÞ
°¸Àý
int count = uiList.getCount()
·½·¨ 14£ºgetCursorSetp
씀˵Ã÷
¹¦ÄÜ
²éѯµ±Ç°½ø¶È
·½·¨
int getCursorSetp()
·µ»ØÖµ
int
£¨µ±Ç°½ø¶ÈÖµ£©
²ÎÊý
ÎÞ
°¸Àý
int step = uiList.getCursorSetp()
·½·¨ 15£ºgetPosition
씀˵Ã÷
¹¦ÄÜ
»ñÈ¡µ±Ç°ÐÐ
·½·¨
int getPosition()
·µ»ØÖµ
int
£¨µ±Ç°Ðкţ©
²ÎÊý
ÎÞ
°¸Àý
int row = uiList.getPosition()
·½·¨ 16£ºgetString
씀˵Ã÷
¹¦ÄÜ
ͨ¹ýÁÐÃû»ñȡֵ
·½·¨
String getString(String arg0)
·µ»ØÖµ
String
£¨¶ÔÓ¦ÁеÄÖµ£©
²ÎÊý
String arg0
: ÁÐÃû
°¸Àý
String val = uiList.getString("ÐÕÃû")
·½·¨ 17£ºgetStringl
씀˵Ã÷
¹¦ÄÜ
ͨ¹ýÁкŻñȡֵ
·½·¨
String getStringl(int arg0)
·µ»ØÖµ
String
£¨¶ÔÓ¦ÁеÄÖµ£©
²ÎÊý
int arg0
: ÁкÅ
°¸Àý
String val = uiList.getStringl(0)
·½·¨ 18£ºimportData
씀˵Ã÷
¹¦ÄÜ
Êý¾Ýµ¼Èë´Ó×Ö·û´®Öе¼Èëµ½ÁÐ±í£¬¸ñʽΪÿÐÐÓÃ;
£¨»Ø³µ£©Çø·Ö£¬ÁÐÓÃ----
·Ö¸î
·½·¨
boolean importData(String arg0)
·µ»ØÖµ
boolean
£¨µ¼ÈëÊÇ·ñ³É¹¦£©
²ÎÊý
String arg0
: Òªµ¼ÈëµÄÊý¾Ý
°¸Àý
uiList.importData("u1----111111;u2----222222;u3----333333;")
·½·¨ 19£ºisLast
씀˵Ã÷
¹¦ÄÜ
ÊÇ·ñ×îºóÒ»ÐÐ
·½·¨
boolean isLast()
·µ»ØÖµ
boolean
²ÎÊý
ÎÞ
°¸Àý
boolean isLast = uiList.isLast()
·½·¨ 20£ºmove
씀˵Ã÷
¹¦ÄÜ
ÒÆ¶¯¼¸ÐÐ×¢Ò⣺ÊÇÏòÏ»òÕßÏòÉÏÒÆ¶¯µÄÐÐÊý£¬²»ÊÇÖ¸¶¨Ä¿±êÐÐÊý
·½·¨
void move(int arg0)
·µ»ØÖµ
void
²ÎÊý
int arg0
: ÒÆ¶¯µÄÐÐÊý£¨ÕýÊýÏòÏ¡¢¸ºÊýÏòÉÏÒÆ¶¯¶ÔÓ¦ÐÐÊý£©
°¸Àý
uiList.move(2)
£¨ÏòÏÂÒÆ¶¯ 2 ÐУ©
·½·¨ 21£ºmoveNext
씀˵Ã÷
¹¦ÄÜ
Çл»µ½ÏÂÒ»ÐÐ
·½·¨
boolean moveNext(boolean arg0)
·µ»ØÖµ
boolean
²ÎÊý
boolean arg0
: Ñ­»·Çл»
°¸Àý
uiList.moveNext(true)
·½·¨ 22£ºmoveRand
씀˵Ã÷
¹¦ÄÜ
Ëæ»úÇл»
·½·¨
boolean moveRand()
·µ»ØÖµ
boolean
²ÎÊý
ÎÞ
°¸Àý
uiList.moveRand()
·½·¨ 23£ºmoveToFirst
씀˵Ã÷
¹¦ÄÜ
Çл»µ½µÚÒ»ÐÐ
·½·¨
void moveToFirst()
·µ»ØÖµ
void
²ÎÊý
ÎÞ
°¸Àý
uiList.moveToFirst()
·½·¨ 24£ºmoveToLast
씀˵Ã÷
¹¦ÄÜ
Çл»µ½×îºóÒ»ÐÐ
·½·¨
void moveToLast()
·µ»ØÖµ
void
²ÎÊý
ÎÞ
°¸Àý
uiList.moveToLast()
·½·¨ 25£ºmoveToNext
씀˵Ã÷
¹¦ÄÜ
Ñ­»·Çл»
·½·¨
boolean moveToNext()
·µ»ØÖµ
boolean
²ÎÊý
ÎÞ
°¸Àý
uiList.moveToNext()
·½·¨ 26£ºmoveToPosition
씀˵Ã÷
¹¦ÄÜ
Çл»µ½Ö¸¶¨ÐÐ
·½·¨
void moveToPosition(int arg0)
·µ»ØÖµ
void
²ÎÊý
int arg0
: Ö¸¶¨µÄÐкÅ
°¸Àý
uiList.moveToPosition(5)
·½·¨ 27£ºmoveToPrevious
씀˵Ã÷
¹¦ÄÜ
Çл»µ½ÉÏÒ»ÐÐ
·½·¨
void moveToPrevious()
·µ»ØÖµ
void
²ÎÊý
ÎÞ
°¸Àý
uiList.moveToPrevious()
·½·¨ 28£ºselect
씀˵Ã÷
¹¦ÄÜ
Êý¾Ý²éѯ¹ýÂË£¨°´Ìõ¼þɸѡÁбíÖеÄÊý¾Ý£©
·½·¨
int select(String sql)
·µ»ØÖµ
int
£¨·µ»Ø·ûºÏÌõ¼þµÄ¼Ç¼ÐÐÊý£©
²ÎÊý
String sql
: ɸѡÌõ¼þ SQL Óï¾ä£¨½öÐèдwhere
ºóµÄÌõ¼þ£¬ÎÞÐèÍêÕûselect
Óï¾ä£©
°¸Àý
//Á¬½Ó±í
var list1=uiList.findByID("list1");
//²éѯ±í
list1.select("select * from uiList where ÄÚÈÝ1 like '%ÕÅÈý%'");
//Çл»µ½µÚÒ»ÐÐ
list1.moveToFirst();
var ÄÚÈÝ=list1.getString(ÁÐÃû="ÄÚÈÝ1");
printl(ÄÚÈÝ)
//Çл»ÏÂÒ»ÐÐ
list1.moveNext(Ñ­»·Çл»=true)
ÄÚÈÝ=list1.getString(ÁÐÃû="ÄÚÈÝ1");
printl(ÄÚÈÝ)
·½·¨ 29£ºsetCursorSetp
씀˵Ã÷
¹¦ÄÜ
±£´æµ±Ç°²Ù×÷½ø¶È
·½·¨
void setCursorSetp(int step)
·µ»ØÖµ
void
²ÎÊý
int step
: ×Ô¶¨Òå½ø¶ÈÖµ£¨Èç²½Öè 1¡¢²½Öè 2£¬ÓÃÓÚºóÐø»Ö¸´½ø¶È£©
°¸Àý
// Íê³ÉµÚÒ»²½²Ù×÷ºó£¬±£´æ½ø¶ÈΪ1
uiList.setCursorSetp(1);
·½·¨ 30£ºsetHeight
씀˵Ã÷
¹¦ÄÜ
ÉèÖÃÁÐ±í¿Ø¼þµÄ¸ß¶È
·½·¨
void setHeight(int height)
·µ»ØÖµ
void
²ÎÊý
int height
: ¸ß¶ÈÖµ£¨µ¥Î»£ºÏñËØ£¬¸ù¾Ý½çÃæÊÊÅäÐèÇóÉèÖã©
°¸Àý
// ÉèÖÃÁбí¸ß¶ÈΪ300ÏñËØ
uiList.setHeight(300);
·½·¨ 31£ºupdate
씀˵Ã÷
¹¦ÄÜ
¸üе±Ç°ÓαêËùÔÚÐеÄÖ¸¶¨×Ö¶ÎÖµ
·½·¨
void update(String columnName, String value)
·µ»ØÖµ
void
²ÎÊý
- String columnName
: Òª¸üеÄ×Ö¶ÎÃû£¨ÐèÓëÁбíÁÐÃûÍêȫһÖ£©- String value
: ×ֶεÄÐÂÖµ
°¸Àý
// ½«µ±Ç°Ðеġ°ÄêÁ䡱×ֶθüÐÂΪ¡°25¡±
uiList.update("ÄêÁä", "25");


»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

±¾°æ»ý·Ö¹æÔò

¹Ø±Õ

QQ|»ÓªÏúÈí¼þ×ÛºÏÌÖÂÛ|»ÓªÏúÈí¼þÓÐÎʱشð|»ÓªÏúÈí¼þ½Ì³Ì×¨Çø|»ÓªÏúÈí¼þPOST½Å±¾·ÖÏí|»ÓªÏúÈí¼þÆÕͨ½Å±¾·ÖÏí|»ÓªÏúÈí¼þÈí¼þ×ÊѶ|»ÓªÏúÈí¼þ¾«Æ·Èí¼þ|»ÓªÏúÈí¼þ¸üй«¸æ|ÓªÏúÈí¼þ|B2BÈí¼þ|B2BÍøÂçÈí¼þ ( ¾©ICP±¸09078825ºÅ )±¾ÍøÕ¾¿ª·¢µÄÓªÏúÈí¼þÊÇÒ»¿îеÄÍøÂçÓªÏúÈí¼þ£¬Õâ¿îÓªÏú¿ÉÒÔÈ¥ÍøÕ¾Èí¼þ£¬²©¿ÍÈí¼þ£¬B2BÈí¼þ£¬·ÖÀàÐÅÏ¢Íø·¢Ìù£¬¿ÉÒÔÇÀɳ·¢£¬¿ÉÒÔµ½°Ù¶ÈÎÄ¿âÉÏ´«WORDÎĵµ£¬¿ÉÒÔµ½Ò»Ð©ÊÇÏà²áÍøÕ¾×Ô¶¯ÉÏ´«Í¼Æ¬£¬Õâ¸ö×Ô¶¯·¢ÌûÈí¼þ×Ô´øÔÆÖ©Ö룬¼Ó¿ìÊÕ¼£¬ÓÐ6ÖÖ¶Ô½Ó´òÂë½Ó¿Ú£¬·½±ã£¬Ð§Âʸߣ¬Ëٶȿ죬¶øÇÒ¶ÔÍ϶¯µÄÑéÖ¤ÂëÈ«ÍøµÚÒ»¼Ò¶À¼ÒÖ§³Ö£¬È«²¿Ô­´´¼¼Êõ£¬¶À¼ÒÑз¢£¬Õý°æÔ­´´´ø°æÈ¨Èí¼þ¡£Ñ¡ÔñÍòÄÜÓªÏúÈí¼þ£¬¾ÍÑ¡ÔñÁËÒ»ÖÖ׬ǮµÄЧÂÊ£¬´ÓûÓб»³¬Ô½¹ý£¬Ò»Ö±ÔÚŬÁ¦Ñз¢Ð¼¼Êõ¡£·Å·ÉÃÎÏ룬½â·ÅË«ÊÖ£¬À´µã´´Ò⣬³É¾ÍÄãµÄÃÎÏ룬¾ÍÔÚÍòÄÜÓªÏúÈí¼þ¿ªÊ¼

map2

GMT+8, 2025-10-7 09:06 , Processed in 0.221572 second(s), 33 queries .

¿ìËٻظ´ ·µ»Ø¶¥²¿ ·µ»ØÁбí