跳至主要內容

类: Table

大约 1 分钟

类: Table

类属性

属性 rowCount

类型: number

访问: 可读, 可写

该属性是对 LVGL C API lv_table_get_row_count, lv_table_set_row_count 的封装, 具体用法请参考 LVGL文档open in new window

属性 columnCount

类型: number

访问: 可读, 可写

该属性是对 LVGL C API lv_table_get_column_count, lv_table_set_column_count 的封装, 具体用法请参考 LVGL文档open in new window

类方法

方法 setCellValue

原型: setCellValue ()

该方法是对 LVGL C API lv_table_set_cell_value 的封装,具体用法请参考 LVGL文档open in new window

返回值:

undefined

方法 setColumnWidth

原型: setColumnWidth ()

该方法是对 LVGL C API lv_table_set_column_width 的封装,具体用法请参考 LVGL文档open in new window

返回值:

undefined

方法 addCellCtrl

原型: addCellCtrl ()

该方法是对 LVGL C API lv_table_add_cell_ctrl 的封装,具体用法请参考 LVGL文档open in new window

返回值:

undefined

方法 clearCellCtrl

原型: clearCellCtrl ()

该方法是对 LVGL C API lv_table_clear_cell_ctrl 的封装,具体用法请参考 LVGL文档open in new window

返回值:

undefined

方法 getColumnWidth

原型: getColumnWidth ()

该方法是对 LVGL C API lv_table_get_column_width 的封装,具体用法请参考 LVGL文档open in new window

返回值:

undefined

方法 hasCellCtrl

原型: hasCellCtrl ()

该方法是对 LVGL C API lv_table_has_cell_ctrl 的封装,具体用法请参考 LVGL文档open in new window

返回值:

undefined

上次编辑于:
贡献者: alee