JIDE 3.5.15

com.jidesoft.treemap
Class OrderingFactory

java.lang.Object
  extended by com.jidesoft.treemap.OrderingFactory

public class OrderingFactory
extends Object

Factory class for accessing predefined ordering schemes.


Field Summary
static Ordering ASCENDING_SIZE
          Order nodes according to their size (from smallest to largest).
static Ordering ORIGINAL
          Keep the original ordering of the nodes.
static Ordering SIZE
          Order nodes according to their size (from largest to smallest).
 
Method Summary
 void add(Ordering entry)
           
 Ordering get(String name)
           
 Ordering getDefault()
           
static OrderingFactory getInstance()
           
 List<Ordering> getOrderings()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

public static final Ordering SIZE
Order nodes according to their size (from largest to smallest).


ASCENDING_SIZE

public static final Ordering ASCENDING_SIZE
Order nodes according to their size (from smallest to largest).


ORIGINAL

public static final Ordering ORIGINAL
Keep the original ordering of the nodes.

Method Detail

getInstance

public static OrderingFactory getInstance()

add

public void add(Ordering entry)

getDefault

public Ordering getDefault()

getOrderings

public List<Ordering> getOrderings()

get

public Ordering get(String name)

JIDE 3.5.15