public class ColumnDef extends Object implements Serializable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ColumnDef.SortDirection
The enum Sort direction.
|
| 构造器和说明 |
|---|
ColumnDef() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName()
Gets name.
|
String |
getRegex()
Gets regex.
|
String |
getSearch()
Gets search.
|
String |
getSearchFrom()
Gets search from.
|
String |
getSearchTo()
Gets search to.
|
ColumnDef.SortDirection |
getSortDirection()
Gets sort direction.
|
boolean |
isFilterable()
已过时。
Use
isSearchable() instead. |
boolean |
isFiltered()
Is filtered boolean.
|
boolean |
isSearchable()
Is searchable boolean.
|
boolean |
isSortable()
Is sortable boolean.
|
boolean |
isSorted()
Is sorted boolean.
|
void |
setFiltered(boolean filtered)
Sets filtered.
|
void |
setName(String name)
Sets name.
|
void |
setRegex(String regex)
Sets regex.
|
void |
setSearch(String search)
Sets search.
|
void |
setSearchable(boolean searchable)
Sets searchable.
|
void |
setSearchFrom(String searchFrom)
Sets search from.
|
void |
setSearchTo(String searchTo)
Sets search to.
|
void |
setSortable(boolean sortable)
Sets sortable.
|
void |
setSortDirection(ColumnDef.SortDirection sortDirection)
Sets sort direction.
|
void |
setSorted(boolean sorted)
Sets sorted.
|
String |
toString() |
public ColumnDef.SortDirection getSortDirection()
public void setSortDirection(ColumnDef.SortDirection sortDirection)
sortDirection - the sort directionpublic String getName()
public void setName(String name)
name - the namepublic boolean isSortable()
public void setSortable(boolean sortable)
sortable - the sortablepublic boolean isFilterable()
isSearchable() instead.true if the column is searchable, false otherwise.public boolean isSearchable()
true if the column is searchable, false otherwise.public void setSearchable(boolean searchable)
searchable - the searchablepublic String getRegex()
public void setRegex(String regex)
regex - the regexpublic String getSearch()
public void setSearch(String search)
search - the searchpublic String getSearchFrom()
public void setSearchFrom(String searchFrom)
searchFrom - the search frompublic String getSearchTo()
public void setSearchTo(String searchTo)
searchTo - the search topublic boolean isSorted()
public void setSorted(boolean sorted)
sorted - the sortedpublic boolean isFiltered()
public void setFiltered(boolean filtered)
filtered - the filteredCopyright © 2017. All rights reserved.