|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--i3mclient.i3m.TranslationGUI
GUI to translate text.
| Constructor Summary | |
TranslationGUI(Display parentWindow)
Constructor. |
|
| Method Summary | |
void |
i3mServerException(I3MServerException exception)
Called if a server exception is thrown. |
void |
setGUIEnabled(boolean enabled)
En- or disable all gui elements. |
void |
setOriginalText(String originalText)
Set the original text input field to a value. |
void |
translationReceived(String translation)
Called if translate was successfull. |
void |
widgetDefaultSelected(SelectionEvent arg0)
|
void |
widgetDisposed(DisposeEvent arg0)
|
void |
widgetSelected(SelectionEvent event)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TranslationGUI(Display parentWindow)
parentWindow - The parent window of the new created translation shell| Method Detail |
public void widgetDisposed(DisposeEvent arg0)
widgetDisposed in interface DisposeListenerpublic void setGUIEnabled(boolean enabled)
enabled - Enable or disablepublic void widgetSelected(SelectionEvent event)
widgetSelected in interface SelectionListenerpublic void widgetDefaultSelected(SelectionEvent arg0)
widgetDefaultSelected in interface SelectionListenerpublic void translationReceived(String translation)
SMTranslateListener
translationReceived in interface SMTranslateListenertranslation - The translated textpublic void i3mServerException(I3MServerException exception)
ServerMethodListener
i3mServerException in interface ServerMethodListenerexception - The converted I3M-server exceptionpublic void setOriginalText(String originalText)
originalText - The new text in the original text widget
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||