com.github.dandelion.datatables.core.ajax
Class ColumnDef

java.lang.Object
  extended by com.github.dandelion.datatables.core.ajax.ColumnDef
All Implemented Interfaces:
Serializable

public class ColumnDef
extends Object
implements Serializable

A column definition, containing the different information used when server-side processing is enabled.

Since:
0.8.2
Author:
Thibault Duchateau
See Also:
Serialized Form

Nested Class Summary
static class ColumnDef.SortDirection
           
 
Constructor Summary
ColumnDef()
           
 
Method Summary
 String getName()
           
 String getRegex()
           
 String getSearch()
           
 String getSearchFrom()
           
 String getSearchTo()
           
 ColumnDef.SortDirection getSortDirection()
           
 boolean isFilterable()
           
 boolean isFiltered()
           
 boolean isSortable()
           
 boolean isSorted()
           
 void setFilterable(boolean filterable)
           
 void setFiltered(boolean filtered)
           
 void setName(String name)
           
 void setRegex(String regex)
           
 void setSearch(String search)
           
 void setSearchFrom(String searchFrom)
           
 void setSearchTo(String searchTo)
           
 void setSortable(boolean sortable)
           
 void setSortDirection(ColumnDef.SortDirection sortDirection)
           
 void setSorted(boolean sorted)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColumnDef

public ColumnDef()
Method Detail

getSortDirection

public ColumnDef.SortDirection getSortDirection()

setSortDirection

public void setSortDirection(ColumnDef.SortDirection sortDirection)

getName

public String getName()

setName

public void setName(String name)

isSortable

public boolean isSortable()

setSortable

public void setSortable(boolean sortable)

isFilterable

public boolean isFilterable()

setFilterable

public void setFilterable(boolean filterable)

getRegex

public String getRegex()

setRegex

public void setRegex(String regex)

getSearch

public String getSearch()

setSearch

public void setSearch(String search)

getSearchFrom

public String getSearchFrom()

setSearchFrom

public void setSearchFrom(String searchFrom)

getSearchTo

public String getSearchTo()

setSearchTo

public void setSearchTo(String searchTo)

isSorted

public boolean isSorted()

setSorted

public void setSorted(boolean sorted)

isFiltered

public boolean isFiltered()

setFiltered

public void setFiltered(boolean filtered)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013–2014 Dandelion Project. All rights reserved.