Class FunctionEditorTransform

    • Constructor Detail

      • FunctionEditorTransform

        public FunctionEditorTransform()
    • Method Detail

      • renderJavascript

        protected void renderJavascript​(MarkupOutput out)
        This method should be used by the Editor transforms to generate any javascript necessary.
        The default implementation includes a call to the ClientSideHelper to render the dynamic scrips and the registerBone call.
        Overrides:
        renderJavascript in class AbstractEditorTransform
        Parameters:
        out - MarkupOutput where the output should be rendered.
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: Transform
        Returns a textual description of the transform.
        Specified by:
        getDescription in interface Transform
        Returns:
        The textual description of the transform.
      • isStepOne

        public boolean isStepOne()
      • isStepTwo

        public boolean isStepTwo()
      • renderAvailableCategory

        public void renderAvailableCategory​(MarkupOutput out)
        Render methods***
      • renderAvailableFunction

        public void renderAvailableFunction​(MarkupOutput out)
      • renderFunctionName

        public void renderFunctionName​(MarkupOutput out)
      • renderSortByDirectionAsRadioButtons

        public void renderSortByDirectionAsRadioButtons​(MarkupOutput out)
      • 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
        Overrides:
        getSupportedBeanType in class AbstractAppTransform
        Returns:
        a root class/interface supported by this transform.
      • renderFunctionDescription

        public void renderFunctionDescription​(MarkupOutput out)
      • getFunctionParameterList

        public java.util.Iterator getFunctionParameterList()
      • getFunctionPropertyList

        public java.util.Iterator getFunctionPropertyList()
      • getFunctionExposedPropertyList

        public java.util.Iterator<WebFunctionProperty> getFunctionExposedPropertyList()
      • hasBreakBySection

        public boolean hasBreakBySection()
      • hasSortBySection

        public boolean hasSortBySection()
      • renderBreakBySectionName

        public void renderBreakBySectionName​(MarkupOutput out)
      • renderBreakBySectionInput

        public void renderBreakBySectionInput​(MarkupOutput out)
      • renderSortBySectionName

        public void renderSortBySectionName​(MarkupOutput out)
      • renderSortBySectionInput

        public void renderSortBySectionInput​(MarkupOutput out)
      • renderAttrMetricOption

        public void renderAttrMetricOption​(SelectTag pulldown,
                                           java.util.ArrayList<RWDataSetItem> list,
                                           boolean hideDatasetPrefix)
        Render the given attribute/metric list from all datasets in order
        Parameters:
        pulldown -
        list - is the given attribute/metric list
        hideDatasetPrefix - specify if the dataset name as a prefix should be hidden