|
||||||||||
| 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.InnerVerticalListMaker
public class InnerVerticalListMaker
This is the derived class for a list maker in inner vertical list mode.
| Constructor Summary | |
|---|---|
InnerVerticalListMaker(ListManager manager,
Locator locator)
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
add(FixedGlue g)
Add a glue node to the list. |
void |
add(Node n)
Add an arbitrary node to the internal list of nodes gathered so far. |
void |
addAndAdjust(NodeList list,
TypesetterOptions options)
Add a node list to the current list maker and adjust the spacing between the elements of the list. |
void |
addSpace(TypesettingContext typesettingContext,
FixedCount spacefactor)
Add a space node to the list. |
void |
afterParagraph(ParagraphObserver observer)
Register an observer to be invoked at the end of the paragraph. |
NodeList |
complete(TypesetterOptions context)
Close the node list. |
void |
cr(Context context,
TypesettingContext tc,
UnicodeChar uc)
Process a carriage return. |
Node |
getLastNode()
Access the last node on the list. |
Mode |
getMode()
Getter for the current mode. |
FixedDimen |
getPrevDepth()
Getter for the previous depth parameter. |
boolean |
letter(UnicodeChar symbol,
TypesettingContext tc,
Context context,
TokenSource source,
Locator locator)
Add a letter to the current list or treat it in some other appropriate way. |
void |
par()
\par s are silently ignored in vertical mode. |
void |
removeLastNode()
Removes the last node from the list. |
void |
setPrevDepth(FixedDimen pd)
Setter for the previous depth parameter. |
void |
showlist(java.lang.StringBuffer sb,
long l,
long m)
Print the status for \showlists. |
java.lang.String |
toString()
Get the string representation of this object for debugging purposes. |
| Methods inherited from class org.extex.typesetter.listMaker.AbstractListMaker |
|---|
getLocalizer, getLocator, getManager, getMyLocalizer, getSpacefactor, leftBrace, mathShift, rightBrace, setSpacefactor, subscriptMark, superscriptMark, tab |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InnerVerticalListMaker(ListManager manager,
Locator locator)
manager - the manager to ask for global changeslocator - the locator| Method Detail |
|---|
public void add(Node n)
n - the node to addListMaker.add( org.extex.typesetter.type.Node)
public void addAndAdjust(NodeList list,
TypesetterOptions options)
throws TypesetterException,
ConfigurationException
list - the listoptions - the options to use
TypesetterException - in case of an error
ConfigurationException - in case of a configuration errorListMaker.addAndAdjust(
org.extex.typesetter.type.NodeList,
org.extex.typesetter.TypesetterOptions)
public void add(FixedGlue g)
throws TypesetterException
g - the glue to add
TypesetterException - in case of an errorListMaker.add( org.extex.core.glue.FixedGlue)
public void addSpace(TypesettingContext typesettingContext,
FixedCount spacefactor)
typesettingContext - the typesetting context for the spacespacefactor - the space factor to use for this space or
null to indicate that the default space factor should
be used.ListMaker.addSpace(
org.extex.typesetter.tc.TypesettingContext,
FixedCount)public void afterParagraph(ParagraphObserver observer)
observer - the observer to registerListMaker.afterParagraph(ParagraphObserver)public NodeList complete(TypesetterOptions context)
context - the typesetter options mapping a fragment of the
interpreter context
ListMaker.complete(TypesetterOptions)
public void cr(Context context,
TypesettingContext tc,
UnicodeChar uc)
throws TypesetterException
context - the interpreter contexttc - the typesetting contextuc - the character
TypesetterException - in case of an errorTokenDelegateListMaker.cr(
org.extex.interpreter.context.Context,
org.extex.typesetter.tc.TypesettingContext,
org.extex.core.UnicodeChar)public Node getLastNode()
null if the
list is emptyListMaker.getLastNode()public Mode getMode()
getMode in interface ListMakergetMode in class AbstractListMakerMode.ListMaker.getMode()
public FixedDimen getPrevDepth()
throws TypesetterUnsupportedException
getPrevDepth in interface ListMakergetPrevDepth in class AbstractListMakerTypesetterUnsupportedException - in case of an errorListMaker.getPrevDepth()
public boolean letter(UnicodeChar symbol,
TypesettingContext tc,
Context context,
TokenSource source,
Locator locator)
throws TypesetterException
symbol - the charactertc - the typesetting contextcontext - the interpreter contextsource - the source for new tokenslocator - the locator
true iff the character has been discarded because
it is not defined in the current font.
TypesetterException - in case of an errorTokenDelegateListMaker.letter(
org.extex.core.UnicodeChar,
org.extex.typesetter.tc.TypesettingContext,
org.extex.interpreter.context.Context,
org.extex.interpreter.TokenSource, org.extex.core.Locator)
public void par()
throws TypesetterException,
ConfigurationException
TypesetterException - in case of an error
ConfigurationException - in case of a configuration errorListMaker.par()public void removeLastNode()
ListMaker.removeLastNode()public void setPrevDepth(FixedDimen pd)
setPrevDepth in interface ListMakersetPrevDepth in class AbstractListMakerpd - the previous depth parameterListMaker.setPrevDepth(
org.extex.core.dimen.FixedDimen)
public void showlist(java.lang.StringBuffer sb,
long l,
long m)
sb - the target bufferl - the depth of the list displaym - the breadth of the list displayListMaker.showlist( java.lang.StringBuffer,
long, long)public java.lang.String toString()
toString in class AbstractListMakerObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||