|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ListMaker
This interface describes the capabilities of a list maker.
| Method Summary | |
|---|---|
void |
add(FixedGlue g)
Add a glue node to the list. |
void |
add(Node node)
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. |
Node |
getLastNode()
Access the last node on the list. |
Locator |
getLocator()
Getter for the locator. |
Mode |
getMode()
Getter for the current mode. |
FixedDimen |
getPrevDepth()
Getter for the previous depth parameter. |
long |
getSpacefactor()
Getter for the space factor. |
void |
leftBrace()
Notification method to deal the case that a left brace has been encountered. |
void |
par()
Emit a new paragraph. |
void |
removeLastNode()
Removes the last node from the list. |
void |
rightBrace()
Notification method to deal the case that a right brace has been encountered. |
void |
setPrevDepth(FixedDimen pd)
Setter for the previous depth parameter. |
void |
setSpacefactor(FixedCount sf)
Setter for the space factor. |
void |
showlist(java.lang.StringBuffer sb,
long depth,
long breadth)
Print the status for \showlists. |
| Method Detail |
|---|
void add(Node node)
throws TypesetterException,
ConfigurationException
node - the node to add
TypesetterException - in case of an error
ConfigurationException - in case of a configuration error
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 error
void add(FixedGlue g)
throws TypesetterException
g - the glue to add
TypesetterException - in case of an error
void addSpace(TypesettingContext typesettingContext,
FixedCount spacefactor)
throws TypesetterException,
ConfigurationException
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.
TypesetterException - in case of an error
ConfigurationException - in case of a configuration errorvoid afterParagraph(ParagraphObserver observer)
observer - the observer to register
NodeList complete(TypesetterOptions context)
throws TypesetterException,
ConfigurationException
context - the typesetter options mapping a fragment of the
interpreter context
TypesetterException - in case of an error
ConfigurationException - in case of a configuration errorNode getLastNode()
null if the
list is emptyLocator getLocator()
Mode getMode()
Mode.
FixedDimen getPrevDepth()
throws TypesetterUnsupportedException
TypesetterUnsupportedException - in case of an error
long getSpacefactor()
throws TypesetterUnsupportedException
TypesetterUnsupportedException - in case of an errorvoid leftBrace()
void par()
throws TypesetterException,
ConfigurationException
TypesetterException - in case of an error
ConfigurationException - in case of a configuration errorvoid removeLastNode()
void rightBrace()
throws TypesetterException
TypesetterException - in case of an error
void setPrevDepth(FixedDimen pd)
throws TypesetterUnsupportedException
pd - the previous depth parameter
TypesetterUnsupportedException - in case of an error
void setSpacefactor(FixedCount sf)
throws TypesetterUnsupportedException,
InvalidSpacefactorException
sf - the space factor to set
TypesetterUnsupportedException - in case of an error
InvalidSpacefactorException - in case of an invalid space factor
void showlist(java.lang.StringBuffer sb,
long depth,
long breadth)
sb - the target bufferdepth - the depth of the list displaybreadth - the breadth of the list display
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||