com.aspose.slides
Class SmartArtNode

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

public class SmartArtNode
extends java.lang.Object
implements ISmartArtNode

Represents node of a SmartArt object


Method Summary
 IFillFormat getBulletFillFormat()
           Returns the FillFormat object that contains fill formatting properties for a node bullet.
 ISmartArtNodeCollection getChildNodes()
           Returns collections of all child nodes of the current node.
 int getLevel()
           Returns nesting level of the node.
 int getOrganizationChartLayout()
           Returns or sets organization chart layout type associated with current node.
 int getPosition()
           Returns or sets zero-based position of node among sibling nodes.
 ISmartArtShapeCollection getShapes()
           Returns collections of all shapes associated with the node.
 ITextFrame getTextFrame()
           Returns or sets text of the node.
 boolean isAssistant()
           Returns or sets the node as assistant.
 boolean isHidden()
           Returns true if this node is a hidden node in the data model.
 boolean remove()
           Remove current node.
 void setAssistant(boolean value)
           Returns or sets the node as assistant.
 void setOrganizationChartLayout(int value)
           Returns or sets organization chart layout type associated with current node.
 void setPosition(int value)
           Returns or sets zero-based position of node among sibling nodes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getChildNodes

public ISmartArtNodeCollection getChildNodes()

Returns collections of all child nodes of the current node. Read-only ISmartArtNodeCollection.

Specified by:
getChildNodes in interface ISmartArtNode

getShapes

public ISmartArtShapeCollection getShapes()

Returns collections of all shapes associated with the node. Read-only ISmartArtShapeCollection.

Specified by:
getShapes in interface ISmartArtNode

getTextFrame

public ITextFrame getTextFrame()

Returns or sets text of the node. Read-only ITextFrame.

Specified by:
getTextFrame in interface ISmartArtNode

isAssistant

public boolean isAssistant()

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

Specified by:
isAssistant in interface ISmartArtNode

setAssistant

public void setAssistant(boolean value)

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

Specified by:
setAssistant in interface ISmartArtNode

getLevel

public int getLevel()

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

Specified by:
getLevel in interface ISmartArtNode

getBulletFillFormat

public 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 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 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 boolean isHidden()

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

Specified by:
isHidden in interface ISmartArtNode

getOrganizationChartLayout

public int getOrganizationChartLayout()

Returns or sets organization chart layout type associated with current node. Read/write OrganizationChartLayoutType.

Specified by:
getOrganizationChartLayout in interface ISmartArtNode

setOrganizationChartLayout

public void setOrganizationChartLayout(int value)

Returns or sets organization chart layout type associated with current node. Read/write OrganizationChartLayoutType.

Specified by:
setOrganizationChartLayout in interface ISmartArtNode

remove

public boolean remove()

Remove current node.

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


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.