public interface ItemRenderer<T>
Selectbox
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
render(Component owner,
T data,
int index)
Renders the data to the corresponding HTML fragment, and returns
the HTML fragment.
|
java.lang.String render(Component owner, T data, int index) throws java.lang.Exception
owner
- the component that this renderer belongs to (never null).data
- that is returned from ListModel.getElementAt(int)
index
- the data index that is currently being renderedjava.lang.Exception
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.