|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.typesetter.listMaker.AbstractListMaker
org.extex.typesetter.listMaker.HorizontalListMaker
org.extex.typesetter.listMaker.RestrictedHorizontalListMaker
org.extex.unit.tex.table.util.HAlignListMaker
public class HAlignListMaker
This class provides a list maker for horizontal alignments.
| Nested Class Summary | |
|---|---|
protected static class |
HAlignListMaker.Cell
This inner class is a container for the cell information in an alignment. |
| Constructor Summary | |
|---|---|
HAlignListMaker(ListManager manager,
Context context,
TokenSource source,
java.util.List<PreambleItem> thePreamble,
FixedDimen theWidth,
boolean theSpread)
Creates a new object. |
|
| Method Summary | |
|---|---|
NodeList |
complete(TypesetterOptions context)
Close the node list. |
void |
cr(Context context,
TokenSource source,
NodeList noalign)
This method is invoked when a row in the alignment is complete and the cells can be integrated. |
void |
crcr(Context context,
TokenSource source,
Typesetter typesetter)
This method is invoked when a row in the alignment is complete and the cells can be integrated. |
void |
omit()
The invocation of this method indicates that the pattern for the current cell should not be taken from the preamble but the default should be used instead. |
void |
span(Context context,
TokenSource source)
This method is invoked when a cell is complete which should be continued in the next cell. |
static Dimen |
sum(Dimen[] d)
Compute the sum of an array of dimens. |
void |
tab(Context context,
TokenSource source,
Token token)
Treat a alignment tab character. |
| Methods inherited from class org.extex.typesetter.listMaker.RestrictedHorizontalListMaker |
|---|
getMode |
| Methods inherited from class org.extex.typesetter.listMaker.HorizontalListMaker |
|---|
add, add, addAndAdjust, addSpace, afterParagraph, cr, getLastNode, getNodes, getSpacefactor, letter, par, removeLastNode, setNodes, setSpacefactor, showlist, toString |
| Methods inherited from class org.extex.typesetter.listMaker.AbstractListMaker |
|---|
getLocalizer, getLocator, getManager, getMyLocalizer, getPrevDepth, leftBrace, mathShift, rightBrace, setPrevDepth, subscriptMark, superscriptMark |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HAlignListMaker(ListManager manager,
Context context,
TokenSource source,
java.util.List<PreambleItem> thePreamble,
FixedDimen theWidth,
boolean theSpread)
throws HelpingException,
TypesetterException
manager - the managercontext - the interpreter contextsource - the token sourcethePreamble - the list of preamble itemstheWidth - the target width or null if the natural
width should be usedtheSpread - indicator that the width should be interpreted relative
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter| Method Detail |
|---|
public NodeList complete(TypesetterOptions context)
throws TypesetterException,
ConfigurationException
complete in interface ListMakercomplete in class RestrictedHorizontalListMakercontext - the typesetter options mapping a fragment of the
interpreter context
TypesetterException - in case of an error
ConfigurationException - in case of a configuration errorRestrictedHorizontalListMaker.complete(
org.extex.typesetter.TypesetterOptions)
public void cr(Context context,
TokenSource source,
NodeList noalign)
throws TypesetterException
cr in interface AlignmentListcontext - the interpreter contextsource - the token sourcenoalign - the tokens to be inserted or null
TypesetterException - in case of an errorAlignmentList.cr(
org.extex.interpreter.context.Context,
org.extex.interpreter.TokenSource,
org.extex.typesetter.type.NodeList)
public void crcr(Context context,
TokenSource source,
Typesetter typesetter)
throws TypesetterException
cr() this method is a noop
when the alignment is at the beginning of a row.
crcr in interface AlignmentListcontext - the interpreter contextsource - the token sourcetypesetter - the typesetter
TypesetterException - in case of an errorAlignmentList.crcr(
org.extex.interpreter.context.Context,
org.extex.interpreter.TokenSource, org.extex.typesetter.Typesetter)
public void omit()
throws TypesetterException
omit in interface AlignmentListTypesetterException - in case of an errorAlignmentList.omit()
public void span(Context context,
TokenSource source)
throws TypesetterException
span in interface AlignmentListcontext - the interpreter contextsource - the token source
TypesetterException - in case of an errorAlignmentList.span(
org.extex.interpreter.context.Context,
org.extex.interpreter.TokenSource)public static Dimen sum(Dimen[] d)
d - the dimen array
public void tab(Context context,
TokenSource source,
Token token)
throws TypesetterException,
ConfigurationException
tab in interface TokenDelegateListMakertab in class AbstractListMakercontext - the interpreter contextsource - the source for new tokenstoken - the actual tab token
TypesetterException - in case of an error
ConfigurationException - in case of a configuration errorAbstractListMaker.tab(
org.extex.interpreter.context.Context,
org.extex.interpreter.TokenSource,
org.extex.scanner.type.token.Token)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||