|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Advanceable
This is a interface to mark those Classes which are able to advance
something.
The primitive \advance is designed to be expanded. It is fairly
simple to write an advancable primitive. The associated code simply has to
implement the interface Advanceable. Whenever \advance
is encountered immediately followed by a token which has the proper code
associated, the method advance is invoked. It is up to this
method to gather further arguments and perform the functionality.
With this interface the functionality is in fact tied to the implementing
code and not to the primitive \advance. Each primitive can be
made aware for advancing without touching the code for \advance.
Extending \advance
| Method Summary | |
|---|---|
void |
advance(Flags prefix,
Context context,
TokenSource source,
Typesetter typesetter)
This method is called when the macro \advance has been seen. |
| Method Detail |
|---|
void advance(Flags prefix,
Context context,
TokenSource source,
Typesetter typesetter)
throws HelpingException,
TypesetterException
prefix - the prefix for the commandcontext - the processor contextsource - the token source to parsetypesetter - the typesetter
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter
ConfigurationException - in case of an configuration error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||