gzz.impl
Class EvilCellTexter

java.lang.Object
  |
  +--gzz.impl.EvilCellTexter
All Implemented Interfaces:
CellTexter

public abstract class EvilCellTexter
extends java.lang.Object
implements CellTexter

Some non-referential implementations of CellTexter methods. These are far too trivial to be useful with vstreams...


Constructor Summary
EvilCellTexter()
           
 
Method Summary
 void copyText(Cell to, int ind, Cell from, int begin, int end)
          Copy some text from one cell to another.
 void deleteText(Cell c, int begin, int end)
          Delete a piece of text from a cell.
abstract  Span getSpan(Cell c, Obs o)
           
 void insertText(Cell c, int ind, java.lang.String s)
          Insert the given string into the text in the cell C.
 void moveText(Cell to, int ind, Cell from, int begin, int end)
          Move some text from one cell to another.
 void setSpace(Space s)
           
abstract  void setSpan(Cell c, Span s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gzz.CellTexter
getCellsWithContent, getText, setText
 

Constructor Detail

EvilCellTexter

public EvilCellTexter()
Method Detail

setSpace

public void setSpace(Space s)

setSpan

public abstract void setSpan(Cell c,
                             Span s)

getSpan

public abstract Span getSpan(Cell c,
                             Obs o)

insertText

public void insertText(Cell c,
                       int ind,
                       java.lang.String s)
Description copied from interface: CellTexter
Insert the given string into the text in the cell C. This can be a routine that preserves Xanadu-model permanence.

Specified by:
insertText in interface CellTexter

deleteText

public void deleteText(Cell c,
                       int begin,
                       int end)
Description copied from interface: CellTexter
Delete a piece of text from a cell.

Specified by:
deleteText in interface CellTexter
See Also:
Cell.deleteText

copyText

public void copyText(Cell to,
                     int ind,
                     Cell from,
                     int begin,
                     int end)
Description copied from interface: CellTexter
Copy some text from one cell to another.

Specified by:
copyText in interface CellTexter

moveText

public void moveText(Cell to,
                     int ind,
                     Cell from,
                     int begin,
                     int end)
Description copied from interface: CellTexter
Move some text from one cell to another.

Specified by:
moveText in interface CellTexter