|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.webapp.user.UserContext
public class UserContext
This interface is needed to Contextualize the actions of the user. By contextualization I mean here whether the user is working in a book (and the in which book), which windows are open (dictionary?) and similar stuff.
| Constructor Summary | |
|---|---|
UserContext()
constructor for userContext objects. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
ContextDescription |
getContextDescription()
returns a short description of the context the user is in (e.g. |
String |
getContextParameter(String paramName)
returns a contexts paramValue if it exists, null otherwise |
boolean |
mustReassert()
|
void |
setContextDescription(ContextDescription ctx)
sets the current Context's ContextDescription |
void |
setContextParameter(String paramName,
String paramValue)
sets the given paramName to paramValue in this UserContext. |
void |
setReassert(boolean reassert)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UserContext()
| Method Detail |
|---|
public ContextDescription getContextDescription()
public void setContextDescription(ContextDescription ctx)
public String getContextParameter(String paramName)
paramName - the name of the paramtere to get from this context
public void setContextParameter(String paramName,
String paramValue)
paramName to paramValue in this UserContext.
paramName - the name of the parameter to setparamValue - the value of the parameter to set.public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic boolean mustReassert()
public void setReassert(boolean reassert)
reassert - whether this UserContext should be reasserted into the jess FB.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||