Package org.luwrain.controls
Class CommanderArea.ListModelAdapter<E>
java.lang.Object
org.luwrain.controls.CommanderArea.ListModelAdapter<E>
- All Implemented Interfaces:
ListArea.Model<CommanderArea.Wrapper<E>>
- Enclosing class:
CommanderArea<E>
protected static class CommanderArea.ListModelAdapter<E>
extends Object
implements ListArea.Model<CommanderArea.Wrapper<E>>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionListModelAdapter
(CommanderArea.Model<E> model, CommanderArea.Filter<E> filter, Comparator<CommanderArea.NativeItem<E>> comparator) -
Method Summary
-
Field Details
-
model
-
-
Constructor Details
-
ListModelAdapter
public ListModelAdapter(CommanderArea.Model<E> model, CommanderArea.Filter<E> filter, Comparator<CommanderArea.NativeItem<E>> comparator)
-
-
Method Details
-
getItemCount
public int getItemCount()- Specified by:
getItemCount
in interfaceListArea.Model<E>
-
getItem
- Specified by:
getItem
in interfaceListArea.Model<E>
-
refresh
public void refresh()- Specified by:
refresh
in interfaceListArea.Model<E>
-