com.aspose.diagram

Class FormatTxtCollection

  • java.lang.Object
    • Collection
      • com.aspose.diagram.FormatTxtCollection
  • All Implemented Interfaces:
    java.lang.Iterable
    public class FormatTxtCollection 
    extends Collection

FormatTxt collection which contains the text of a shape.

Property Getters/Setters Summary
intgetCount()
Gets the number of elements actually contained in the collection.
java.lang.StringgetText()
Contains the text of a shape with formating.
FormatTxtget(int index)
Gets the element at the specified index.
 
Method Summary
intadd(FormatTxt item)
Add the FormatTxt object in the collection.
voidclear()
Removes all elements from collection.
booleanisExist(int index)
Is exist item in the collection.
java.util.Iteratoriterator()
Supports a simple iteration over a nongeneric collection.
voidremove(FormatTxt item)
Remove the FormatTxt object from the collection.
voidsetWholeText(java.lang.String text)
Set the text of a shape without formating.
 

    • Property Getters/Setters Detail

      • getText

        public java.lang.String getText()
        
        Contains the text of a shape with formating.
      • getCount

        public int getCount()
        
        Gets the number of elements actually contained in the collection.
      • get

        public FormatTxt get(int index)
        
        Gets the element at the specified index.
        Parameters:
        index -
        Returns:
    • Method Detail

      • add

        public int add(FormatTxt item)
        Add the FormatTxt object in the collection.
        Returns:
      • remove

        public void remove(FormatTxt item)
        Remove the FormatTxt object from the collection.
      • setWholeText

        public void setWholeText(java.lang.String text)
        Set the text of a shape without formating.
        Parameters:
        text -
      • iterator

        public java.util.Iterator iterator()
        Supports a simple iteration over a nongeneric collection.
        Returns:
      • isExist

        public boolean isExist(int index)
        Is exist item in the collection.
        Parameters:
        index - index of element.
        Returns:
      • clear

        public void clear()
        Removes all elements from collection.