javax.rad.model.ui
Interface ITranslatable

All Known Subinterfaces:
IChart, IControl, IEditor, IEditorControl, ITable, ITableControl, ITree, ITreeControl
All Known Implementing Classes:
About, AbstractControllable, AbstractFrame, AbstractUIActionComponent, AbstractUIButton, AbstractUIMenuItem, AbstractUITextField, AbstractUIToggleButton, AbstractWindow, Application, Application, Content, ControllerContent, Dialog, Error, JVxCalendarPane, JVxChart, JVxComboBase, JVxDateCombo, JVxEditor, JVxTable, JVxTree, Login, Message, RemoteApplication, RemoteWorkScreen, RemoteWorkScreenApplication, SwingChart, SwingEditor, SwingTable, SwingTree, UIButton, UIChart, UICheckBox, UICheckBoxMenuItem, UIComponent, UIContainer, UICustomComponent, UICustomContainer, UIDesktopPanel, UIEditor, UIFrame, UIGroupPanel, UIIcon, UIInternalFrame, UILabel, UILauncher, UIMenu, UIMenuBar, UIMenuItem, UIPanel, UIPasswordField, UIPopupMenu, UIRadioButton, UIScrollPanel, UISeparator, UISplitPanel, UITable, UITabsetPanel, UITextArea, UITextField, UIToggleButton, UIToolBar, UIToolBarPanel, UITree, UIWindow, WorkScreen

public interface ITranslatable

The ITranslatable is the interface for text oriented objects which needs translation support.


Method Summary
 TranslationMap getTranslation()
          Gets the possible translation mapping.
 boolean isTranslationEnabled()
          Gets whether the translation is en- or disabled.
 void setTranslation(TranslationMap pTranslation)
          Sets the possible translations.
 void setTranslationEnabled(boolean pEnabled)
          Sets the translation en- or disabled.
 

Method Detail

setTranslation

void setTranslation(TranslationMap pTranslation)
Sets the possible translations.

Parameters:
pTranslation - the translation mapping

getTranslation

TranslationMap getTranslation()
Gets the possible translation mapping.

Returns:
the translation mapping

setTranslationEnabled

void setTranslationEnabled(boolean pEnabled)
Sets the translation en- or disabled.

Parameters:
pEnabled - true to enable the translation, false to disable

isTranslationEnabled

boolean isTranslationEnabled()
Gets whether the translation is en- or disabled.

Returns:
true if translation is performed, false otherwise


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.