|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.interpreter.max.context.LanguageObserver
public class LanguageObserver
This observer is meant for keeping the current typesetting context in sync with the registers \language and \lang.
The tokens register \lang is considered first. Only if this register is not set or it is empty then the count register \language is taken into account.
| Constructor Summary | |
|---|---|
LanguageObserver()
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
receiveCountChange(ContextInternals context,
java.lang.String name,
Count value)
Receive a notification on a count change. |
void |
receiveTokensChange(ContextInternals context,
java.lang.String name,
Tokens value)
Receive a notification on a tokens change. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LanguageObserver()
| Method Detail |
|---|
public void receiveCountChange(ContextInternals context,
java.lang.String name,
Count value)
receiveCountChange in interface CountObservercontext - the interpreter contextname - the token containing the name of the changed Count.value - the new value assigned to the name. In case of
null the name is unbound.CountObserver.receiveCountChange(
org.extex.interpreter.context.ContextInternals, java.lang.String,
org.extex.core.count.Count)
public void receiveTokensChange(ContextInternals context,
java.lang.String name,
Tokens value)
receiveTokensChange in interface TokensObservercontext - the interpreter contextname - the token containing the name of the changed tokens.value - the new value assigned to the name. In case of
null the name is unbound.TokensObserver.receiveTokensChange(
org.extex.interpreter.context.ContextInternals, java.lang.String,
org.extex.scanner.type.tokens.Tokens)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||