@OpenApiAll
public class SortTable
extends com.nomagic.magicreport.engine.tools.SortTool
Constructor and Description |
---|
SortTable() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBlankValue()
Return the value for blank field.
|
void |
setProperties(java.util.Properties properties)
method for set value to blankValue.
|
java.util.Collection |
sort(java.util.Collection collection)
sort collection from JTable to ascendant collection.
|
java.util.Collection |
sortDesc(java.util.Collection collection)
sort collection from JTable to descendant collection.
|
getNextToken, getValue, humanSort, humanSort, sort, sortByFirstNumber, sortByFirstNumber, sortByLocale, sortByLocale
clone, getContext, getProperties, getProperty, getProperty, notifyObservers, setContext
public void setProperties(java.util.Properties properties)
setProperties
in interface com.nomagic.magicreport.engine.ITool
setProperties
in class com.nomagic.magicreport.engine.Tool
properties
- propertiesTool.setProperties(java.util.Properties)
public java.lang.String getBlankValue()
public java.util.Collection sort(java.util.Collection collection)
sort
in class com.nomagic.magicreport.engine.tools.SortTool
collection
- collection from JTableSortTool.sort(java.util.Collection)
public java.util.Collection sortDesc(java.util.Collection collection)
collection
- collection from JTable