org.extex.interpreter.type.box
Interface Boxable
- All Superinterfaces:
- BoxOrRule
- All Known Implementing Classes:
- AbstractBoxPrimitive, BoxPrimitive, Copy, Halign, Hbox, Lastbox, Lower, Moveleft, Moveright, Raise, Vbox, Vsplit, Vtop
public interface Boxable
- extends BoxOrRule
This interface describes the capability to deliver a Box. Usually this box is
gathered from the input stream and build by the typesetter.
- Version:
- $Revision:4399 $
- Author:
- Gerd Neugebauer
getBox
Box getBox(Context context,
TokenSource source,
Typesetter typesetter,
Token insert)
throws ConfigurationException,
HelpingException,
TypesetterException
- Getter for the content as Box.
- Parameters:
context - the interpreter contextsource - the source for new tokenstypesetter - the typesetter to useinsert - the token to insert either at the beginning of the box or
after the box has been gathered. If it is null then
nothing is inserted
- Returns:
- an appropriate Box
- Throws:
ConfigurationException - in case of an configuration error
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter