org.gcube.portlets.admin.resourcesweeper.client.grids
Class CustomSorter

java.lang.Object
  extended by com.extjs.gxt.ui.client.store.StoreSorter<com.extjs.gxt.ui.client.data.ModelData>
      extended by org.gcube.portlets.admin.resourcesweeper.client.grids.CustomSorter

public class CustomSorter
extends com.extjs.gxt.ui.client.store.StoreSorter<com.extjs.gxt.ui.client.data.ModelData>


Field Summary
 
Fields inherited from class com.extjs.gxt.ui.client.store.StoreSorter
comparator, DEFAULT_COMPARATOR
 
Constructor Summary
CustomSorter()
           
 
Method Summary
 int compare(com.extjs.gxt.ui.client.store.Store<com.extjs.gxt.ui.client.data.ModelData> store, com.extjs.gxt.ui.client.data.ModelData m1, com.extjs.gxt.ui.client.data.ModelData m2, String property)
          need to recalculate the percentage as the returned value is not what the render returns
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomSorter

public CustomSorter()
Method Detail

compare

public int compare(com.extjs.gxt.ui.client.store.Store<com.extjs.gxt.ui.client.data.ModelData> store,
                   com.extjs.gxt.ui.client.data.ModelData m1,
                   com.extjs.gxt.ui.client.data.ModelData m2,
                   String property)
need to recalculate the percentage as the returned value is not what the render returns

Overrides:
compare in class com.extjs.gxt.ui.client.store.StoreSorter<com.extjs.gxt.ui.client.data.ModelData>


Copyright © 2014. All Rights Reserved.