|
|||||||||||
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 shellMethod Detail |
public void widgetDisposed(DisposeEvent arg0)
widgetDisposed
in interface DisposeListener
public void setGUIEnabled(boolean enabled)
enabled
- Enable or disablepublic void widgetSelected(SelectionEvent event)
widgetSelected
in interface SelectionListener
public void widgetDefaultSelected(SelectionEvent arg0)
widgetDefaultSelected
in interface SelectionListener
public void translationReceived(String translation)
SMTranslateListener
translationReceived
in interface SMTranslateListener
translation
- The translated textpublic void i3mServerException(I3MServerException exception)
ServerMethodListener
i3mServerException
in interface ServerMethodListener
exception
- 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 |