gzz
Interface CellTexter

gzz.Cell gzz.Dim gzz.Space gzz.CellTexter gzz.VStreamCellTexter gzz.JavaObjector gzz.Obs gzz.ObsTrigger ../../Gzz_CoreAPIs.gen.html#core core_small gzz.Space gzz.impl.AbstractSpace gzz.CellTexter gzz.VStreamCellTexter gzz.impl.SimpleVStreamTexter gzz.impl.ModularSpace gzz.ObsTrigger gzz.impl.SimpleObsTrigger gzz.IdentityManager gzz.impl.DummyIdentityManager gzz.CellManager gzz.impl.AbstractCellManager gzz.impl.PlainCellManager gzz.DimManager gzz.impl.AbstractDimManager SimpleDim.Manager gzz.diff.DeltaSpace gzz.impl.ModularDeltaSpace gzz.diff.DeltaDimManager gzz.diff.DeltaCellTexter gzz.impl.AbstractDeltaDimManager gzz.impl.SimpleDeltaVStreamTexter ../../Gzz_Backend.gen.html#modularspace modularspace_small
All Known Subinterfaces:
DeltaCellTexter, IndexedVStreamCellTexter, ModularCellTexter, SearchableCellTexter, VStreamCellTexter
All Known Implementing Classes:
EvilCellTexter, SimpleDeltaVStreamTexter, SimpleVStreamTexter

public interface CellTexter

An interface for getting and setting referential text in cells.


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.
 java.util.Set getCellsWithContent()
          Get the set of all cells for which there is a content mapping.
 java.lang.String getText(Cell c, Obs o)
          Get the text for the given cell.
 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 setText(Cell c, java.lang.String s)
          Set the text for the given cell.
 

Method Detail

setText

public void setText(Cell c,
                    java.lang.String s)
Set the text for the given cell.


getText

public java.lang.String getText(Cell c,
                                Obs o)
Get the text for the given cell.


insertText

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


deleteText

public void deleteText(Cell c,
                       int begin,
                       int end)
Delete a piece of text from a cell.

See Also:
Cell.deleteText

copyText

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


moveText

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


getCellsWithContent

public java.util.Set getCellsWithContent()
Get the set of all cells for which there is a content mapping. Most important use: Saving.