com.raelity.jvi
Class ViFPOS.abstractFPOS

java.lang.Object
  extended by com.raelity.jvi.ViFPOS.abstractFPOS
All Implemented Interfaces:
ViFPOS, Comparable<ViFPOS>
Direct Known Subclasses:
FPOS
Enclosing interface:
ViFPOS

public abstract static class ViFPOS.abstractFPOS
extends Object
implements ViFPOS


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.raelity.jvi.ViFPOS
ViFPOS.abstractFPOS
 
Constructor Summary
ViFPOS.abstractFPOS()
           
 
Method Summary
 int compareTo(ViFPOS p)
           
 boolean equals(Object o)
           
 void set(ViFPOS fpos)
          This is a convenience for set(fpos.getLine(), fpos.getColumn());
 void setColumn(int column)
          Set the column, leave the line unchanged.
 void setLine(int line)
          Set the line, leave the column unchanged.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.raelity.jvi.ViFPOS
copy, getColumn, getLine, getOffset, set
 

Constructor Detail

ViFPOS.abstractFPOS

public ViFPOS.abstractFPOS()
Method Detail

set

public void set(ViFPOS fpos)
Description copied from interface: ViFPOS
This is a convenience for set(fpos.getLine(), fpos.getColumn());

Specified by:
set in interface ViFPOS

setColumn

public void setColumn(int column)
Description copied from interface: ViFPOS
Set the column, leave the line unchanged.
This is optional, may throw an UnsupportedOperationException

Specified by:
setColumn in interface ViFPOS

setLine

public void setLine(int line)
Description copied from interface: ViFPOS
Set the line, leave the column unchanged.
This is optional, may throw an UnsupportedOperationException

Specified by:
setLine in interface ViFPOS

equals

public final boolean equals(Object o)
Overrides:
equals in class Object

compareTo

public final int compareTo(ViFPOS p)
Specified by:
compareTo in interface Comparable<ViFPOS>

toString

public String toString()
Overrides:
toString in class Object