com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class SmartArtNode

  • java.lang.Object
    • com.aspose.slides.SmartArtNode
  • All Implemented Interfaces:
    ISmartArtNode


    public class SmartArtNode
    extends java.lang.Object
    implements ISmartArtNode

    Represents node of a SmartArt object

    • Method Detail

      • isAssistant

        public final boolean isAssistant()

        Returns or sets the node as assistant. Read/write boolean.

        Specified by:
        isAssistant in interface ISmartArtNode
      • setAssistant

        public final void setAssistant(boolean value)

        Returns or sets the node as assistant. Read/write boolean.

        Specified by:
        setAssistant in interface ISmartArtNode
      • getLevel

        public final int getLevel()

        Returns nesting level of the node. Read-only int.

        Specified by:
        getLevel in interface ISmartArtNode
      • getBulletFillFormat

        public final IFillFormat getBulletFillFormat()

        Returns the FillFormat object that contains fill formatting properties for a node bullet. Note: can return null for certain types of SmartArt layout which does not provide bullets for nodes. Read-only IFillFormat.

        Specified by:
        getBulletFillFormat in interface ISmartArtNode
      • getPosition

        public final int getPosition()

        Returns or sets zero-based position of node among sibling nodes. Read/write int.

        Specified by:
        getPosition in interface ISmartArtNode
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - value is less than 0. -or- value is equal to or greater than siblings count
      • setPosition

        public final void setPosition(int value)

        Returns or sets zero-based position of node among sibling nodes. Read/write int.

        Specified by:
        setPosition in interface ISmartArtNode
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - value is less than 0. -or- value is equal to or greater than siblings count
      • isHidden

        public final boolean isHidden()

        Returns true if this node is a hidden node in the data model. Read-only boolean.

        Specified by:
        isHidden in interface ISmartArtNode
      • remove

        public final boolean remove()

        Remove current node.

        Specified by:
        remove in interface ISmartArtNode
        Returns:
        true if removed succesfully, otherwise false