Class ColumnFilterData
java.lang.Object
org.eclipse.nebula.widgets.xviewer.core.model.ColumnFilterData
public class ColumnFilterData
extends java.lang.Object
Storage for column filters
-
Constructor Summary
Constructors Constructor Description ColumnFilterData()
-
Method Summary
Modifier and Type Method Description void
clear()
java.util.Set<java.lang.String>
getColIds()
ColumnDateFilter
getDateFilter(java.lang.String columnId)
java.lang.String
getFilterText(java.lang.String colId)
java.lang.String
getXml()
boolean
isFiltered()
void
removeDateFilter(java.lang.String columnId)
void
removeFilterText(java.lang.String colId)
void
setDateFilter(java.lang.String columnId, DateRangeType dateRangeType, java.util.Date date1, java.util.Date date2)
void
setFilterText(java.lang.String colId, java.lang.String filterText)
void
setFromXml(java.lang.String xml)
java.lang.String
toString()
-
Constructor Details
-
ColumnFilterData
public ColumnFilterData()
-
-
Method Details
-
getFilterText
public java.lang.String getFilterText(java.lang.String colId) -
getColIds
public java.util.Set<java.lang.String> getColIds() -
setFilterText
public void setFilterText(java.lang.String colId, java.lang.String filterText) -
clear
public void clear() -
removeFilterText
public void removeFilterText(java.lang.String colId) -
getXml
public java.lang.String getXml() -
setFromXml
public void setFromXml(java.lang.String xml) -
isFiltered
public boolean isFiltered() -
setDateFilter
public void setDateFilter(java.lang.String columnId, DateRangeType dateRangeType, java.util.Date date1, java.util.Date date2) -
getDateFilter
-
removeDateFilter
public void removeDateFilter(java.lang.String columnId) -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-