gzz
Interface VStreamCellTexter

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 Superinterfaces:
CellTexter
All Known Subinterfaces:
IndexedVStreamCellTexter
All Known Implementing Classes:
SimpleVStreamTexter

public interface VStreamCellTexter
extends CellTexter

An extension of CellTexter for referential text. The cells contain non-formatted vstreams. (Formatting support to be added... sometime.

The vstreams are represented as Lists containing Span1Ds and Cells. Cells represent special objects in the vstream.


Method Summary
 Enfilade1D getEnfilade(Cell c, Obs o)
          Get the vstream in this cell.
 java.lang.String getText(Cell c, Obs o)
          Return the vstream in this cell, merged into a single String.
 void setEnfilade(Cell c, Enfilade1D vstream)
          Set the vstream in this cell.
 void setText(Cell c, java.lang.String s)
          Create a new text span and make it the vstream of this Cell.
 EnfiladeAligner.Instance startEnfiladeAligner(Cell c)
          Create an enfilade aligner instance for the enfilade in a given cell.
 
Methods inherited from interface gzz.CellTexter
copyText, deleteText, getCellsWithContent, insertText, moveText
 

Method Detail

getEnfilade

public Enfilade1D getEnfilade(Cell c,
                              Obs o)
Get the vstream in this cell. Never returns null.


setEnfilade

public void setEnfilade(Cell c,
                        Enfilade1D vstream)
Set the vstream in this cell.


startEnfiladeAligner

public EnfiladeAligner.Instance startEnfiladeAligner(Cell c)
Create an enfilade aligner instance for the enfilade in a given cell. This can be used to externalize the content of a cell.


getText

public java.lang.String getText(Cell c,
                                Obs o)
Return the vstream in this cell, merged into a single String. This is the text of all TextSpans in this cell, in order. Cells and Span1Ds that are not TextSpans are ignored.

Specified by:
getText in interface CellTexter

setText

public void setText(Cell c,
                    java.lang.String s)
Create a new text span and make it the vstream of this Cell.

Specified by:
setText in interface CellTexter