|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SentenceSuggestion
This interface represents a change suggestion for a newly created sentence. The user can decide whether to follow this suggestion or not. If the suggestion is followed, the sentence is automatically changed.
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the message to be presented to the user. |
java.lang.String[] |
getOptions()
Returns the options given to the user to change or not change the sentence. |
Sentence |
getSentence(java.lang.String option)
Returns the possibly changed sentence accoring to the option chosen by the user. |
Method Detail |
---|
java.lang.String getMessage()
java.lang.String[] getOptions()
Sentence getSentence(java.lang.String option)
option
- The chosen option.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |