Class SortingData
java.lang.Object
org.eclipse.nebula.widgets.xviewer.core.model.SortingData
public class SortingData
extends java.lang.Object
Provides object for storage of sorting data
-
Constructor Summary
Constructors Constructor Description SortingData()
SortingData(java.lang.String xml)
SortingData(CustomizeData custData)
-
Method Summary
Modifier and Type Method Description void
addSortingName(java.lang.String name)
void
clearSorter()
java.util.List<java.lang.String>
getSortingIds()
java.util.List<XViewerColumn>
getSortXCols(java.util.Map<java.lang.String,XViewerColumn> oldNameToColumnId)
java.lang.String
getXml()
boolean
isSorting()
void
removeSortingName(java.lang.String name)
void
setFromXml(java.lang.String xml)
void
setSortingNames(java.lang.String... xViewerColumnId)
void
setSortXCols(java.util.List<XViewerColumn> sortXCols)
java.lang.String
toString()
-
Constructor Details
-
SortingData
public SortingData() -
SortingData
-
SortingData
public SortingData(java.lang.String xml)
-
-
Method Details
-
clearSorter
public void clearSorter() -
isSorting
public boolean isSorting() -
getSortXCols
public java.util.List<XViewerColumn> getSortXCols(java.util.Map<java.lang.String,XViewerColumn> oldNameToColumnId) -
setSortXCols
-
getXml
public java.lang.String getXml() -
setFromXml
public void setFromXml(java.lang.String xml) -
getSortingIds
public java.util.List<java.lang.String> getSortingIds() -
removeSortingName
public void removeSortingName(java.lang.String name) -
addSortingName
public void addSortingName(java.lang.String name) -
setSortingNames
public void setSortingNames(java.lang.String... xViewerColumnId) -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-