|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.interpreter.context.tc.TypesettingContextImpl
This implementation of a typesetting context provides the required functionality for the container or attributes describing the appearance of glyphs or other nodes.
Field Summary | |
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
Constructor Summary | |
TypesettingContextImpl()
Creates a new object filled with default values. |
|
TypesettingContextImpl(Font theFont)
Creates a new object with the given initial font, the color black and no hyphenation. |
|
TypesettingContextImpl(TypesettingContext tc)
Creates a new object (copy constructor). |
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. |
void |
set(TypesettingContext context)
Setter for all components. |
void |
setColor(Color theColor)
Setter for the color. |
void |
setDirection(Direction theDirection)
Setter for the writing direction. |
void |
setFont(Font theFont)
Setter for the font component. |
void |
setLanguage(Language language)
Setter for the hyphenation table. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static final long serialVersionUID
Constructor Detail |
public TypesettingContextImpl()
public TypesettingContextImpl(Font theFont)
theFont
- the font to usepublic TypesettingContextImpl(TypesettingContext tc)
tc
- the typesetting context to copyMethod Detail |
public Color getColor()
TypesettingContext
getColor
in interface TypesettingContext
de.dante.extex.interpreter.context.TypesettingContext#getColor()
public Direction getDirection()
TypesettingContext
getDirection
in interface TypesettingContext
de.dante.extex.interpreter.context.TypesettingContext#getDirection()
public Font getFont()
TypesettingContext
getFont
in interface TypesettingContext
de.dante.extex.interpreter.context.TypesettingContext#getFont()
public Language getLanguage()
TypesettingContext
getLanguage
in interface TypesettingContext
de.dante.extex.interpreter.context.TypesettingContext#getLanguage()
public void set(TypesettingContext context)
ModifiableTypesettingContext
set
in interface ModifiableTypesettingContext
context
- the context to clonede.dante.extex.interpreter.context.ModifiableTypesettingContext#set(
de.dante.extex.interpreter.context.TypesettingContext)
public void setColor(Color theColor)
ModifiableTypesettingContext
setColor
in interface ModifiableTypesettingContext
theColor
- the new colorde.dante.extex.interpreter.context.ModifiableTypesettingContext#setColor(
de.dante.extex.interpreter.context.Color)
public void setDirection(Direction theDirection)
ModifiableTypesettingContext
setDirection
in interface ModifiableTypesettingContext
theDirection
- the new directionde.dante.extex.interpreter.context.ModifiableTypesettingContext#setDirection(
de.dante.extex.interpreter.context.Direction)
public void setFont(Font theFont)
ModifiableTypesettingContext
setFont
in interface ModifiableTypesettingContext
theFont
- the font to storede.dante.extex.interpreter.context.ModifiableTypesettingContext#setFont(
de.dante.extex.interpreter.type.font.Font)
public void setLanguage(Language language)
ModifiableTypesettingContext
setLanguage
in interface ModifiableTypesettingContext
language
- the hyphenation tablede.dante.extex.interpreter.context.ModifiableTypesettingContext#setLanguage(
de.dante.extex.language.Language)
public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |