com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class ControlPropertiesCollection

  • java.lang.Object
    • com.aspose.slides.ControlPropertiesCollection
  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>, com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>, IControlPropertiesCollection, java.lang.Iterable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>


    public class ControlPropertiesCollection
    extends java.lang.Object
    implements IControlPropertiesCollection

    A collection of AcitveX properties.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void add(java.lang.String name, java.lang.String value)
      Adds a property to the collection.
      void clear()
      Removes all properties.
      java.lang.String get_Item(java.lang.String name)
      Returns or sets property.
      int getCount()
      Returns a number of properties in the collection.
      com.aspose.ms.System.Collections.Generic.IGenericCollection<java.lang.String> getNamesOfProperties()
      Returns the collection of properties names.
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>> iterator()
      Returns an enumerator that iterates through the collection.
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>> iteratorJava()
      Returns a java iterator for the entire collection.
      void remove(java.lang.String name)
      Removes a property with the specified name.
      void set_Item(java.lang.String name, java.lang.String value)
      Returns or sets property.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • add

        public final void add(java.lang.String name,
                              java.lang.String value)

        Adds a property to the collection.

        Specified by:
        add in interface IControlPropertiesCollection
        Parameters:
        name - The name of the property.
        value - The alue of the property.
      • remove

        public final void remove(java.lang.String name)

        Removes a property with the specified name.

        Specified by:
        remove in interface IControlPropertiesCollection
        Parameters:
        name - The name of property to remove.
      • get_Item

        public final java.lang.String get_Item(java.lang.String name)

        Returns or sets property.

        Specified by:
        get_Item in interface IControlPropertiesCollection
        Parameters:
        name - Name of property.
        Returns:
        Property.
      • set_Item

        public final void set_Item(java.lang.String name,
                                   java.lang.String value)

        Returns or sets property.

        Specified by:
        set_Item in interface IControlPropertiesCollection
        Parameters:
        name - Name of property.
      • getNamesOfProperties

        public com.aspose.ms.System.Collections.Generic.IGenericCollection<java.lang.String> getNamesOfProperties()

        Returns the collection of properties names. Read-only ICollection.

        Specified by:
        getNamesOfProperties in interface IControlPropertiesCollection
      • iterator

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>> iterator()

        Returns an enumerator that iterates through the collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>
        Specified by:
        iterator in interface java.lang.Iterable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>
        Returns:
        A System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.
      • iteratorJava

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>> iteratorJava()

        Returns a java iterator for the entire collection.

        Returns:
        An Iterator for the entire collection.