|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Divideable
This is a interface to mark those classes which are able to divide something.
The primitive \divide is designed to be expanded. It is fairly
simple to write a dividable primitive. The associated code simply has to
implement the interface Divideable. Whenever \divide
is encountered immediately followed by a token which has the proper code
associated, the method divide is invoked. It is up to this
method to gather further arguments and perform the division.
With this interface the division is in fact tied to the implementing
code and not to the primitive \divide. Each primitive can be
made aware for division without touching the code for \divide.
Extending \divide
| Method Summary | |
|---|---|
void |
divide(Flags prefix,
Context context,
TokenSource source,
Typesetter typesetter)
This method is called when the macro \divide has been seen. |
| Method Detail |
|---|
void divide(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 | |||||||||