SmartArtNode

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.ISmartArtNode

public final class SmartArtNode implements ISmartArtNode

Represents node of a SmartArt object

Methods

MethodDescription
getChildNodes()Returns collections of all child nodes of the current node.
getShapes()Returns collections of all shapes associated with the node.
getTextFrame()Returns or sets text of the node.
isAssistant()Returns or sets the node as assistant.
setAssistant(boolean value)Returns or sets the node as assistant.
getLevel()Returns nesting level of the node.
getBulletFillFormat()Returns the FillFormat object that contains fill formatting properties for a node bullet.
getPosition()Returns or sets zero-based position of node among sibling nodes.
setPosition(int value)Returns or sets zero-based position of node among sibling nodes.
isHidden()Returns true if this node is a hidden node in the data model.
getOrganizationChartLayout()Returns or sets organization chart layout type associated with current node.
setOrganizationChartLayout(int value)Returns or sets organization chart layout type associated with current node.
remove()Remove current node.

getChildNodes()

public final ISmartArtNodeCollection getChildNodes()

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

Returns: ISmartArtNodeCollection

getShapes()

public final ISmartArtShapeCollection getShapes()

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

Returns: ISmartArtShapeCollection

getTextFrame()

public final ITextFrame getTextFrame()

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

Returns: ITextFrame

isAssistant()

public final boolean isAssistant()

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

Returns: boolean

setAssistant(boolean value)

public final void setAssistant(boolean value)

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

Parameters:

ParameterTypeDescription
valueboolean

getLevel()

public final int getLevel()

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

Returns: int

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.

Returns: IFillFormat

getPosition()

public final int getPosition()

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

Returns: int

setPosition(int value)

public final void setPosition(int value)

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

Parameters:

ParameterTypeDescription
valueint

isHidden()

public final boolean isHidden()

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

Returns: boolean

getOrganizationChartLayout()

public final int getOrganizationChartLayout()

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

Returns: int

setOrganizationChartLayout(int value)

public final void setOrganizationChartLayout(int value)

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

Parameters:

ParameterTypeDescription
valueint

remove()

public final boolean remove()

Remove current node.

Returns: boolean - true if removed succesfully, otherwise false