Class CCMultiLanguageField

java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.ccaddons.pbc.CCMultiLanguageField
All Implemented Interfaces:
Serializable, org.eclnt.jsfserver.elements.IConfiguredByLayout, org.eclnt.jsfserver.pagebean.component.IPageBeanComponent, org.eclnt.jsfserver.pagebean.IPageBean, org.eclnt.jsfserver.util.valuemgmt.IDynamicContentBindingObject
Direct Known Subclasses:
CCMultiLanguageTextArea

public class CCMultiLanguageField extends org.eclnt.jsfserver.pagebean.component.PageBeanComponent implements Serializable
See Also:
  • Constructor Details

    • CCMultiLanguageField

      public CCMultiLanguageField()
  • Method Details

    • getRootExpressionUsedInPage

      public String getRootExpressionUsedInPage()
      Specified by:
      getRootExpressionUsedInPage in interface org.eclnt.jsfserver.pagebean.IPageBean
      Specified by:
      getRootExpressionUsedInPage in class org.eclnt.jsfserver.pagebean.PageBean
    • prepare

      public void prepare(String text, List<CCMultiLanguageField.TranslatedText> translations, CCMultiLanguageField.IListener listener)
    • initializePageBean

      public void initializePageBean(Map<String,String> initData)
      Specified by:
      initializePageBean in interface org.eclnt.jsfserver.pagebean.component.IPageBeanComponent
      Overrides:
      initializePageBean in class org.eclnt.jsfserver.pagebean.component.PageBeanComponent
    • getLabeltext

      public String getLabeltext()
    • setLabeltext

      public void setLabeltext(String labeltext)
    • getEnabled

      public boolean getEnabled()
    • setEnabled

      public void setEnabled(boolean value)
    • getPopupWidth

      public String getPopupWidth()
    • setPopupWidth

      public void setPopupWidth(String value)
    • getWithFlush

      public boolean getWithFlush()
    • setWithFlush

      public void setWithFlush(boolean value)
    • getWidth

      public String getWidth()
    • getHeight

      public String getHeight()
    • setHeight

      public void setHeight(String height)
    • setWidth

      public void setWidth(String value)
    • getText

      public String getText()
    • setText

      public void setText(String value)
    • getStyleseq

      public String getStyleseq()
    • setStyleseq

      public void setStyleseq(String value)
    • getForeground

      public String getForeground()
    • setForeground

      public void setForeground(String value)
    • getBackground

      public String getBackground()
    • setBackground

      public void setBackground(String value)
    • getBgpaint

      public String getBgpaint()
    • setBgpaint

      public void setBgpaint(String value)
    • getDisabledPopupAvailable

      public boolean getDisabledPopupAvailable()
      By default, setting the component to disabled by calling method setEnabled(boolean) does not allow the user to open the multi language popup. By setting this property to true the popup still is available - but only in display mode.
    • setDisabledPopupAvailable

      public void setDisabledPopupAvailable(boolean disabledPopupAvailable)
    • onTextAction

      public void onTextAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
    • getControlEnabled

      public boolean getControlEnabled()
    • getControlEditable

      public boolean getControlEditable()
    • openTranslationPopup

      protected org.eclnt.jsfserver.defaultscreens.ModelessPopup openTranslationPopup(boolean multiLine)