Class SingleObjectSelectorTransform

    • Constructor Detail

      • SingleObjectSelectorTransform

        public SingleObjectSelectorTransform()
        Default no-args constructor, initialize formal parameters.
    • Method Detail

      • getSupportedBeanType

        public java.lang.Class getSupportedBeanType()
        Description copied from class: AbstractAppTransform
        Returns the supported bean type. This abstract Transform supports all WebComponents so every sub-class should override this method to return the class of the Bean the Transform is expecting, for example:
         public class CustomReportClass extends AbstractAppTransform {
            public Class getSupportedBeanType() {
                //This Transform is expected to work only with a ReportBean,
                //therefore this method needs to return this class:
                return ReportBean.class;
        Specified by:
        getSupportedBeanType in interface Transform
        getSupportedBeanType in class AbstractAppTransform
        a root class/interface supported by this transform.
      • initEditor

        protected void initEditor​(Editor editor)
        Initialize the editor with the global settings.
        initEditor in class AbstractEditorTransform
        editor - Editor instance, abstraction of the container where output is rendered.
      • renderNameProperty

        public void renderNameProperty​(MarkupOutput out)
      • renderNameLabel

        public void renderNameLabel​(MarkupOutput out)
      • renderNameField

        public void renderNameField​(MarkupOutput out)
      • renderTypeProperty

        public void renderTypeProperty​(MarkupOutput out)
      • renderTypeLabel

        public void renderTypeLabel​(MarkupOutput out)
        Renders the title label that appears before the formula name section
        out - MarkupOutput instance where to create the HTML output.
      • renderTypeField

        public void renderTypeField​(MarkupOutput out)
        Renders the text input for the formula name section
        out - MarkupOutput instance where to create the HTML output.
      • renderProjectBrowser

        public void renderProjectBrowser​(MarkupOutput out)
      • getEditorTitle

        public java.lang.String getEditorTitle()
                                        throws java.lang.IllegalArgumentException
        getEditorTitle in class AbstractEditorTransform
      • getObjectTypeName

        public java.lang.String getObjectTypeName()
      • renderHeader

        public void renderHeader​(MarkupOutput out)
      • getDescription

        public java.lang.String getDescription()
        Returns the textual Type of current transform class.
        Specified by:
        getDescription in interface Transform
        String the description of the transform.
      • getApplyEvent

        protected WebEvent getApplyEvent()
        Returns an instance of the event responsible for processing the editor's actions
        a WebEvent instance with the information needed for submitting an apply request.
      • getTypeRestriction

        public int[] getTypeRestriction()
      • getTypeString

        public java.lang.String getTypeString​(int type)