Class XDDFChartLegend

  • All Implemented Interfaces:
    TextContainer

    @Beta
    public final class XDDFChartLegend
    extends java.lang.Object
    implements TextContainer
    Represents a DrawingML chart legend
    • Constructor Detail

      • XDDFChartLegend

        public XDDFChartLegend​(org.openxmlformats.schemas.drawingml.x2006.chart.CTChart ctChart)
        Create a new DrawingML chart legend
    • Method Detail

      • getXmlObject

        @Internal
        protected org.openxmlformats.schemas.drawingml.x2006.chart.CTLegend getXmlObject()
        Return the underlying CTLegend bean.
        Returns:
        the underlying CTLegend bean
      • getShapeProperties

        @Internal
        public org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties getShapeProperties()
      • setShapeProperties

        @Internal
        public void setShapeProperties​(org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties properties)
      • setTextBody

        public void setTextBody​(XDDFTextBody body)
      • setLayout

        public void setLayout​(XDDFLayout layout)
      • isOverlay

        public boolean isOverlay()
      • setOverlay

        public void setOverlay​(boolean value)
      • findDefinedParagraphProperty

        public <R> java.util.Optional<R> findDefinedParagraphProperty​(java.util.function.Function<org.openxmlformats.schemas.drawingml.x2006.main.CTTextParagraphProperties,​java.lang.Boolean> isSet,
                                                                      java.util.function.Function<org.openxmlformats.schemas.drawingml.x2006.main.CTTextParagraphProperties,​R> getter)
        Specified by:
        findDefinedParagraphProperty in interface TextContainer
      • findDefinedRunProperty

        public <R> java.util.Optional<R> findDefinedRunProperty​(java.util.function.Function<org.openxmlformats.schemas.drawingml.x2006.main.CTTextCharacterProperties,​java.lang.Boolean> isSet,
                                                                java.util.function.Function<org.openxmlformats.schemas.drawingml.x2006.main.CTTextCharacterProperties,​R> getter)
        Specified by:
        findDefinedRunProperty in interface TextContainer