public class LocalizedStringAttributeEditor extends StringAttributeEditor
| Modifier and Type | Field and Description |
|---|---|
protected LanguageModel |
currentLanguage |
protected static String |
EDITOR_LANGUAGE |
protected Map<LanguageModel,Textbox> |
editors |
protected List<LanguageModel> |
languages |
multilineattrConfig, editor, model| Constructor and Description |
|---|
LocalizedStringAttributeEditor(AttributeConfiguration attrConfig,
boolean multiline) |
| Modifier and Type | Method and Description |
|---|---|
Component |
createEditorComponent() |
Map<LanguageModel,String> |
getAllValues()
Returns parameter map from Textboxes
|
LanguageModel |
getCurrentLanguage()
Returns current session language
|
Map<LanguageModel,Textbox> |
getEditors() |
List<LanguageModel> |
getLanguages()
Returns languages list
|
Object |
getValue() |
void |
loadAllValues(Map<LanguageModel,String> values) |
void |
setEditors(Map<LanguageModel,Textbox> editors) |
void |
setValue(Object value) |
addAttributeValueChangedListener, componentCreated, getEditorComponentprotected static final String EDITOR_LANGUAGE
protected Map<LanguageModel,Textbox> editors
protected LanguageModel currentLanguage
protected List<LanguageModel> languages
public LocalizedStringAttributeEditor(AttributeConfiguration attrConfig, boolean multiline)
public Component createEditorComponent()
createEditorComponent in class StringAttributeEditorpublic Map<LanguageModel,String> getAllValues()
public LanguageModel getCurrentLanguage()
public Map<LanguageModel,Textbox> getEditors()
public final List<LanguageModel> getLanguages()
public Object getValue()
getValue in class StringAttributeEditorpublic void loadAllValues(Map<LanguageModel,String> values)
public void setEditors(Map<LanguageModel,Textbox> editors)
editors - the editors to setpublic void setValue(Object value)
setValue in class StringAttributeEditorCopyright © 2017 SAP SE. All Rights Reserved.