com.sun.electric.database.text
Class TextUtils.CellsByView

java.lang.Object
  extended by com.sun.electric.database.text.TextUtils.CellsByView
All Implemented Interfaces:
java.util.Comparator<Cell>
Enclosing class:
TextUtils

public static class TextUtils.CellsByView
extends java.lang.Object
implements java.util.Comparator<Cell>

Comparator class for sorting Cells by their view order.


Constructor Summary
TextUtils.CellsByView()
           
 
Method Summary
 int compare(Cell c1, Cell c2)
          Method to sort Cells by their view order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

TextUtils.CellsByView

public TextUtils.CellsByView()
Method Detail

compare

public int compare(Cell c1,
                   Cell c2)
Method to sort Cells by their view order.

Specified by:
compare in interface java.util.Comparator<Cell>