Package com.simsilica.lemur.list
Class ListModel<T>
java.lang.Object
com.simsilica.lemur.list.ListModel<T>
- All Implemented Interfaces:
VersionedObject<GridModel<Panel>>,GridModel<Panel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new VersionedReference that can be used to monitor when this object changes.intgetItem(int index) Returns the object that is being versioned.intlongReturns the current version of the versioned object.void
-
Constructor Details
-
ListModel
-
-
Method Details
-
getItem
-
getRowCount
public int getRowCount()- Specified by:
getRowCountin interfaceGridModel<T>
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCountin interfaceGridModel<T>
-
getCell
-
setCell
-
getVersion
public long getVersion()Description copied from interface:VersionedObjectReturns the current version of the versioned object.- Specified by:
getVersionin interfaceVersionedObject<T>
-
getObject
Description copied from interface:VersionedObjectReturns the object that is being versioned.- Specified by:
getObjectin interfaceVersionedObject<T>
-
createReference
Description copied from interface:VersionedObjectCreates a new VersionedReference that can be used to monitor when this object changes.- Specified by:
createReferencein interfaceVersionedObject<T>
-