trans.cel
Class CelLine

java.lang.Object
  extended bytrans.cel.CelLine
All Implemented Interfaces:
java.lang.Comparable

public class CelLine
extends java.lang.Object
implements java.lang.Comparable

Class for holding info about a text cel file line, enables sorting after rotation.


Constructor Summary
CelLine(int x, int y, java.lang.String line)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
          Sort first by y coordinate, then x.
 java.lang.String getLine()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CelLine

public CelLine(int x,
               int y,
               java.lang.String line)
Method Detail

compareTo

public int compareTo(java.lang.Object obj)
Sort first by y coordinate, then x.

Specified by:
compareTo in interface java.lang.Comparable

getLine

public java.lang.String getLine()