public class SmartArtNode extends java.lang.Object implements ISmartArtNode
Represents node of a SmartArt object
Modifier and Type | Method and Description |
---|---|
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.
|
public final ISmartArtNodeCollection getChildNodes()
Returns collections of all child nodes of the current node.
Read-only ISmartArtNodeCollection
.
getChildNodes
in interface ISmartArtNode
public final ISmartArtShapeCollection getShapes()
Returns collections of all shapes associated with the node.
Read-only ISmartArtShapeCollection
.
getShapes
in interface ISmartArtNode
public final ITextFrame getTextFrame()
Returns or sets text of the node.
Read-only ITextFrame
.
getTextFrame
in interface ISmartArtNode
public final boolean isAssistant()
Returns or sets the node as assistant.
Read/write bool
.
isAssistant
in interface ISmartArtNode
public final void setAssistant(boolean value)
Returns or sets the node as assistant.
Read/write bool
.
setAssistant
in interface ISmartArtNode
public final int getLevel()
Returns nesting level of the node.
Read-only int
.
getLevel
in interface ISmartArtNode
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
.
getBulletFillFormat
in interface ISmartArtNode
public final int getPosition()
Returns or sets zero-based position of node among sibling nodes.
Read/write int
.
getPosition
in interface ISmartArtNode
com.aspose.ms.System.ArgumentOutOfRangeException
- value is less than 0. -or- value is equal to or greater than siblings countpublic final void setPosition(int value)
Returns or sets zero-based position of node among sibling nodes.
Read/write int
.
setPosition
in interface ISmartArtNode
com.aspose.ms.System.ArgumentOutOfRangeException
- value is less than 0. -or- value is equal to or greater than siblings countpublic final boolean isHidden()
Returns true if this node is a hidden node in the data model.
Read-only bool
.
isHidden
in interface ISmartArtNode
public final int getOrganizationChartLayout()
Returns or sets organization chart layout type associated with current node.
Read/write OrganizationChartLayoutType
.
getOrganizationChartLayout
in interface ISmartArtNode
public final void setOrganizationChartLayout(int value)
Returns or sets organization chart layout type associated with current node.
Read/write OrganizationChartLayoutType
.
setOrganizationChartLayout
in interface ISmartArtNode
public final boolean remove()
Remove current node.
remove
in interface ISmartArtNode
True
if removed succesfully, otherwise false