{
  "name": "AbstractTableModel",
  "component": "gui",
  "lang": [
    "lua",
    "js"
  ],
  "type": "Class",
  "namespace": "nu",
  "inherit": {
    "name": "TableModel",
    "id": "tablemodel"
  },
  "description": "Implement a custom TableModel.",
  "detail": "To implement a custom `<!type>TableModel`, please implement all the methods\nin the Delegates section. It is also required to call the `Notify` methods of\n`<!type>TableModel` super class when data has been changed, so the\n`<!type>Table` can correctly update.\n\nFor simple use cases, the `<!type>SimpleTableModel` can be used.\n",
  "delegates": [
    {
      "signature": {
        "returnType": {
          "name": "Integer"
        },
        "name": "getRowCount",
        "parameters": [
          {
            "type": {
              "name": "AbstractTableModel",
              "id": "abstracttablemodel"
            },
            "name": "self"
          }
        ],
        "shortStr": "getRowCount(self)",
        "str": "getRowCount(self)"
      },
      "description": "Return how many rows are in the model.",
      "id": "getrowcount-self"
    },
    {
      "signature": {
        "returnType": {
          "name": "Any"
        },
        "name": "getValue",
        "parameters": [
          {
            "type": {
              "name": "AbstractTableModel",
              "id": "abstracttablemodel"
            },
            "name": "self"
          },
          {
            "type": {
              "name": "Integer"
            },
            "name": "column"
          },
          {
            "type": {
              "name": "Integer"
            },
            "name": "row"
          }
        ],
        "shortStr": "getValue(self, column, row)",
        "str": "getValue(self, column, row)"
      },
      "description": "Return the data at `column` and `row`.",
      "id": "getvalue-self-column-row"
    },
    {
      "signature": {
        "name": "setValue",
        "parameters": [
          {
            "type": {
              "name": "AbstractTableModel",
              "id": "abstracttablemodel"
            },
            "name": "self"
          },
          {
            "type": {
              "name": "Integer"
            },
            "name": "column"
          },
          {
            "type": {
              "name": "Integer"
            },
            "name": "row"
          },
          {
            "type": {
              "name": "Any"
            },
            "name": "value"
          }
        ],
        "shortStr": "setValue(self, column, row, value)",
        "str": "setValue(self, column, row, value)"
      },
      "description": "Change the `value` at `column` and `row`.",
      "id": "setvalue-self-column-row-value"
    }
  ],
  "module": "gui",
  "id": "abstracttablemodel"
}