public class ListControl
extends java.lang.Object
Constructor and Description |
---|
ListControl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Character,java.lang.Integer> |
createIndex(DataResult dr)
Create index on the DataResult dr
|
void |
filterData(DataResult dr)
Restrict the data that is in the list so that it matches the requested data.
|
java.lang.String |
getFilterColumn()
Get the column on which to filter
|
java.lang.String |
getFilterData()
Get the data to filter for
|
boolean |
hasFilter()
Determine if this list should have a filter box
|
boolean |
hasIndex()
Determine if this list should have an indexData
|
void |
setCustomFilter(ResultsFilter filterIn)
set the ListFilter object to use in filtering the data results
|
void |
setFilter(boolean filterIn)
Set if this list should have a filter box
|
void |
setFilterColumn(java.lang.String fColumn)
Set the column on which to filter
|
void |
setFilterData(java.lang.String fData)
set the data to filter for
|
void |
setIndexData(boolean abar)
Set if this list should have an indexData
|
public boolean hasIndex()
public void setIndexData(boolean abar)
abar
- True if an indexData is desiredpublic boolean hasFilter()
public void setFilter(boolean filterIn)
filterIn
- True if filtering is desiredpublic java.lang.String getFilterColumn()
public void setFilterColumn(java.lang.String fColumn)
fColumn
- The column on which to filter.public java.lang.String getFilterData()
public void setFilterData(java.lang.String fData)
fData
- The to filter for.public void setCustomFilter(ResultsFilter filterIn)
filterIn
- filter to usepublic java.util.Map<java.lang.Character,java.lang.Integer> createIndex(DataResult dr)
dr
- DataResult to create index onpublic void filterData(DataResult dr)
dr
- DataResult to filter