Class Line

    • Method Detail

      • clone

        protected java.lang.Object clone()
        FOR INTERNAL USE ONLY
        Overrides:
        clone in class java.lang.Object
      • setDropShadow

        public void setDropShadow​(boolean newValue)
        Lines can not have drop shadows. So this method throws an UnsupportedOperationException.
        Specified by:
        setDropShadow in interface BorderProperties
        Overrides:
        setDropShadow in class Element
        Parameters:
        newValue - has no effect
        Throws:
        java.lang.UnsupportedOperationException - will always be thrown
        Since:
        6.1
      • setDropShadowFormula

        public void setDropShadowFormula​(FormulaField newFormula)
        Lines can not have drop shadows. So this method throws an UnsupportedOperationException.
        Specified by:
        setDropShadowFormula in interface BorderProperties
        Overrides:
        setDropShadowFormula in class Element
        Parameters:
        newFormula - has no effect
        Throws:
        java.lang.UnsupportedOperationException - will always be thrown
        Since:
        6.1
      • setHyperlinkUrl

        public void setHyperlinkUrl​(java.lang.String url)
        Setting hyperlinks on lines is not possible and will throw an UnsupportedOperationException
        Overrides:
        setHyperlinkUrl in class Element
        Parameters:
        url - not used
        Throws:
        java.lang.UnsupportedOperationException - always because it is not possible to set hyperlinks on lines
        Since:
        9.0
      • setHyperlinkUrlFormula

        public void setHyperlinkUrlFormula​(FormulaField newFormula)
        Setting hyperlinks on lines is not possible and will throw an UnsupportedOperationException
        Overrides:
        setHyperlinkUrlFormula in class Element
        Parameters:
        newFormula - not used
        Throws:
        java.lang.UnsupportedOperationException - always because it is not possible to set hyperlinks on lines
        Since:
        9.0
      • getSubComponents

        public java.util.List<? extends ReportComponent> getSubComponents()
        Returns all ReportComponents that are descendants of this one. E.G. this will return all Element of a Section. But it's as well useful for CrossTabs or Text elements which have additional elements.
        Specified by:
        getSubComponents in class ReportComponent
        Returns:
        a list with all sub components which can be empty as well; will be null if the component has no descendants