Constructor and Description |
---|
ListModel(VersionedList<T> list,
CellRenderer<T> renderer) |
Modifier and Type | Method and Description |
---|---|
com.simsilica.lemur.core.VersionedReference<GridModel<com.simsilica.lemur.Panel>> |
createReference() |
com.simsilica.lemur.Panel |
getCell(int row,
int col,
com.simsilica.lemur.Panel existing) |
int |
getColumnCount() |
T |
getItem(int index) |
GridModel<com.simsilica.lemur.Panel> |
getObject() |
int |
getRowCount() |
long |
getVersion() |
void |
setCell(int row,
int col,
com.simsilica.lemur.Panel value) |
public ListModel(VersionedList<T> list, CellRenderer<T> renderer)
public T getItem(int index)
public int getRowCount()
getRowCount
in interface GridModel<com.simsilica.lemur.Panel>
public int getColumnCount()
getColumnCount
in interface GridModel<com.simsilica.lemur.Panel>
public com.simsilica.lemur.Panel getCell(int row, int col, com.simsilica.lemur.Panel existing)
public void setCell(int row, int col, com.simsilica.lemur.Panel value)
public long getVersion()
getVersion
in interface com.simsilica.lemur.core.VersionedObject<GridModel<com.simsilica.lemur.Panel>>
public GridModel<com.simsilica.lemur.Panel> getObject()
getObject
in interface com.simsilica.lemur.core.VersionedObject<GridModel<com.simsilica.lemur.Panel>>