org.jtheque.books.view.sort
Class ByCountrySorter

java.lang.Object
  extended by org.jtheque.books.view.sort.ByCountrySorter
All Implemented Interfaces:
org.jtheque.primary.view.impl.sort.Sorter

public final class ByCountrySorter
extends Object
implements org.jtheque.primary.view.impl.sort.Sorter

This class sort by country.

Author:
Baptiste Wicht

Constructor Summary
ByCountrySorter()
           
 
Method Summary
 boolean canSort(String content, String sortType)
           
 void sort(org.jtheque.primary.view.impl.models.tree.JThequeTreeModel model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByCountrySorter

public ByCountrySorter()
Method Detail

canSort

public boolean canSort(String content,
                       String sortType)
Specified by:
canSort in interface org.jtheque.primary.view.impl.sort.Sorter

sort

public void sort(org.jtheque.primary.view.impl.models.tree.JThequeTreeModel model)
Specified by:
sort in interface org.jtheque.primary.view.impl.sort.Sorter


Copyright © 2010 JTheque. All Rights Reserved.