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

All Superinterfaces:
java.io.Serializable, TypesettingContext
All Known Implementing Classes:
TypesettingContextImpl

public interface ModifiableTypesettingContext
extends TypesettingContext

The typesetting context is a container for attributes describing the appearance of glyphs or other nodes.

Version:
$Revision: 1.2 $
Author:
Gerd Neugebauer

Method Summary
 void set(TypesettingContext context)
          Setter for all components.
 void setColor(Color color)
          Setter for the color.
 void setDirection(Direction direction)
          Setter for the writing direction.
 void setFont(Font font)
          Setter for the font component.
 void setLanguage(Language language)
          Setter for the hyphenation table.
 
Methods inherited from interface de.dante.extex.interpreter.context.tc.TypesettingContext
getColor, getDirection, getFont, getLanguage
 

Method Detail

set

public void set(TypesettingContext context)
Setter for all components. The components color, direction, font, language, etc are copied from the instance given.

Parameters:
context - the context to clone

setColor

public void setColor(Color color)
Setter for the color.

Parameters:
color - the new color
See Also:
TypesettingContext.getColor()

setDirection

public void setDirection(Direction direction)
Setter for the writing direction.

Parameters:
direction - the new direction
See Also:
TypesettingContext.getDirection()

setFont

public void setFont(Font font)
Setter for the font component.

Parameters:
font - the font to store
See Also:
TypesettingContext.getFont()

setLanguage

public void setLanguage(Language language)
Setter for the hyphenation table.

Parameters:
language - the hyphenation table
See Also:
TypesettingContext.getLanguage()