de.dante.extex.interpreter.context.tc
Interface TypesettingContext

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
ModifiableTypesettingContext
All Known Implementing Classes:
TypesettingContextImpl

public interface TypesettingContext
extends java.io.Serializable

The typesetting context is a container for attributes describing the appearance of glyphs or other nodes. This interface provides reading methods only. Thus the client can rely on an immutable object only.

Version:
$Revision: 1.2 $
Author:
Gerd Neugebauer
See Also:
ModifiableTypesettingContext

Method Summary
 Color getColor()
          Getter for the color.
 Direction getDirection()
          Getter for the writing direction.
 Font getFont()
          Getter for the font component.
 Language getLanguage()
          Getter for the hyphenation table.
 

Method Detail

getColor

public Color getColor()
Getter for the color.

Returns:
the current color

getDirection

public Direction getDirection()
Getter for the writing direction.

Returns:
the current direction

getFont

public Font getFont()
Getter for the font component.

Returns:
the font

getLanguage

public Language getLanguage()
Getter for the hyphenation table.

Returns:
the hyphenation table