R
- the content typepublic interface XGridContentProvider<R>
Modifier and Type | Interface and Description |
---|---|
static interface |
XGridContentProvider.ContentChangeListener<T>
Listener to observe content changes
|
static class |
XGridContentProvider.ContentChangeType
content change types
|
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(XGridContentProvider.ContentChangeListener<R> listener)
Attach a listener
|
R |
getElementAt(int index)
Retrieve the element at the given index
|
void |
removeChangeListener(XGridContentProvider.ContentChangeListener<R> listener)
Remove the listener
|
int |
size() |
int size()
R getElementAt(int index) throws java.lang.IndexOutOfBoundsException
index
- the indexjava.lang.IndexOutOfBoundsException
- if index is negative or index >= size()
void addChangeListener(XGridContentProvider.ContentChangeListener<R> listener)
listener
- the listenervoid removeChangeListener(XGridContentProvider.ContentChangeListener<R> listener)
listener
- the listener