|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.typesetter.listMaker.AbstractListMaker
public abstract class AbstractListMaker
This abstract class provides some methods common to all ListMakers.
| Constructor Summary | |
|---|---|
AbstractListMaker(ListManager theManager,
Locator locator)
Creates a new object. |
|
| Method Summary | |
|---|---|
protected Localizer |
getLocalizer()
Getter for the localizer. |
Locator |
getLocator()
Getter for the locator. |
ListManager |
getManager()
Getter for manager. |
abstract Mode |
getMode()
Getter for the current mode. |
protected Localizer |
getMyLocalizer()
Getter for the localizer. |
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 |
mathShift(Context context,
TokenSource source,
Token t)
Treat a math shift character. |
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 |
subscriptMark(Context context,
TokenSource source,
Typesetter typesetter,
Token token)
Treat a subscript mark. |
void |
superscriptMark(Context context,
TokenSource source,
Typesetter typesetter,
Token token)
Treat a superscript mark. |
void |
tab(Context context,
TokenSource source,
Token token)
Treat a alignment tab character. |
java.lang.String |
toString()
Get the string representation of this object for debugging purposes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.extex.typesetter.listMaker.TokenDelegateListMaker |
|---|
cr, letter |
| Methods inherited from interface org.extex.typesetter.ListMaker |
|---|
add, add, addAndAdjust, addSpace, afterParagraph, complete, getLastNode, par, removeLastNode, showlist |
| Constructor Detail |
|---|
public AbstractListMaker(ListManager theManager,
Locator locator)
theManager - the manager to ask for global changeslocator - the locator| Method Detail |
|---|
protected Localizer getLocalizer()
public Locator getLocator()
getLocator in interface ListMakerListMaker.getLocator()public ListManager getManager()
public abstract Mode getMode()
getMode in interface ListMakerMode.ListMaker.getMode()protected Localizer getMyLocalizer()
public FixedDimen getPrevDepth()
throws TypesetterUnsupportedException
getPrevDepth in interface ListMakerTypesetterUnsupportedException - in case of an errorListMaker.getPrevDepth()
public long getSpacefactor()
throws TypesetterUnsupportedException
ListMaker
getSpacefactor in interface ListMakerTypesetterUnsupportedException - in case of an errorListMaker.getSpacefactor()public void leftBrace()
leftBrace in interface ListMakerListMaker.leftBrace()
public void mathShift(Context context,
TokenSource source,
Token t)
throws TypesetterException,
ConfigurationException,
HelpingException
mathShift in interface TokenDelegateListMakercontext - the interpreter contextsource - the source for new tokenst - the actual math shift character token
TypesetterException - in case of an error
ConfigurationException - in case of a configuration error
HelpingException - in case of an errorTokenDelegateListMaker.mathShift(
org.extex.interpreter.context.Context,
org.extex.interpreter.TokenSource,
org.extex.scanner.type.token.Token)
public void rightBrace()
throws TypesetterException
rightBrace in interface ListMakerTypesetterException - in case of an errorListMaker.rightBrace()
public void setPrevDepth(FixedDimen pd)
throws TypesetterUnsupportedException
setPrevDepth in interface ListMakerpd - the previous depth parameter
TypesetterUnsupportedException - in case of an errorListMaker.setPrevDepth(
org.extex.core.dimen.FixedDimen)
public void setSpacefactor(FixedCount sf)
throws TypesetterUnsupportedException,
InvalidSpacefactorException
setSpacefactor in interface ListMakersf - the space factor to set
TypesetterUnsupportedException - in case of an error
InvalidSpacefactorException - in case of an invalid space factorListMaker.setSpacefactor(
org.extex.core.count.FixedCount)
public void subscriptMark(Context context,
TokenSource source,
Typesetter typesetter,
Token token)
throws TypesetterException,
HelpingException
subscriptMark in interface TokenDelegateListMakercontext - the interpreter contextsource - the source for new tokenstypesetter - the typesettertoken - the actual sub mark token
TypesetterException - in case of an error
HelpingException - in case of an errorTokenDelegateListMaker.subscriptMark(
org.extex.interpreter.context.Context,
org.extex.interpreter.TokenSource, org.extex.typesetter.Typesetter,
org.extex.scanner.type.token.Token)
public void superscriptMark(Context context,
TokenSource source,
Typesetter typesetter,
Token token)
throws TypesetterException,
HelpingException
superscriptMark in interface TokenDelegateListMakercontext - the interpreter contextsource - the source for new tokenstypesetter - the typesettertoken - the actual super mark token
TypesetterException - in case of an error
HelpingException - in case of an errorTokenDelegateListMaker.superscriptMark(
org.extex.interpreter.context.Context,
org.extex.interpreter.TokenSource, org.extex.typesetter.Typesetter,
org.extex.scanner.type.token.Token)
public void tab(Context context,
TokenSource source,
Token token)
throws TypesetterException,
ConfigurationException
tab in interface TokenDelegateListMakercontext - the interpreter contextsource - the source for new tokenstoken - the actual tab token
TypesetterException - in case of an error
ConfigurationException - in case of a configuration errorTokenDelegateListMaker.tab(
org.extex.interpreter.context.Context,
org.extex.interpreter.TokenSource,
org.extex.scanner.type.token.Token)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||