All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.ValidationCollection.html Maven / Gradle / Ivy

There is a newer version: 23.1
Show newest version





ValidationCollection




com.aspose.cells
Class ValidationCollection

java.lang.Object
  extended by CollectionBase
      extended by com.aspose.cells.ValidationCollection
All Implemented Interfaces:
java.lang.Iterable

public class ValidationCollection 
extends CollectionBase

Represents data validation collection.


Property Getters/Setters Summary
intgetCount()→ inherited from com.aspose.cells.CollectionBase
          
Validationget(int)
           Gets the Validation element at the specified index.
 
Method Summary
intadd()
           Adds a data validation to the collection.
intadd(CellArea ca)
           Adds a data validation to the collection.
intadd(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
voidclear()→ inherited from com.aspose.cells.CollectionBase
          
booleancontains(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
ValidationgetValidationInCell(int row, int column)
           Gets the validation applied to given cell.
intindexOf(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
java.util.Iteratoriterator()→ inherited from com.aspose.cells.CollectionBase
          
voidremoveACell(int row, int column)
           Removes all validation setting on the cell.
voidremoveArea(CellArea ca)
           Removes all validation setting on the range..
voidremoveAt(int index)→ inherited from com.aspose.cells.CollectionBase
          
 

Property Getters/Setters Detail

getCount

→ inherited from com.aspose.cells.CollectionBase
public int getCount()

get

public Validation get(int index)
Gets the Validation element at the specified index.
Parameters:
index - The zero based index of the element.
Returns:
The element at the specified index.

Method Detail

add

public int add()
Adds a data validation to the collection. NOTE: This member is now obsolete. Instead, please use ValidationCollection.Add(CellArea) method. This property will be removed 12 months later since JANUARY 2015. Aspose apologizes for any inconvenience you may have experienced.
Returns:
Validation object index.

add

public int add(CellArea ca)
Adds a data validation to the collection.
Parameters:
ca - The area contains this validation.
Returns:
Validation object index.

removeACell

public void removeACell(int row, int column)
Removes all validation setting on the cell.
Parameters:
row - The row index of the cell.
column - The column index of the cell.

removeArea

public void removeArea(CellArea ca)
Removes all validation setting on the range..
Parameters:
ca - The range which contains the validations setting.

getValidationInCell

public Validation getValidationInCell(int row, int column)
Gets the validation applied to given cell.
Parameters:
row - The row index.
column - The column index.
Returns:
Returns a Validation object or null if there is no validation for given cell

clear

→ inherited from com.aspose.cells.CollectionBase
public void clear()

removeAt

→ inherited from com.aspose.cells.CollectionBase
public void removeAt(int index)

iterator

→ inherited from com.aspose.cells.CollectionBase
public java.util.Iterator iterator()

contains

→ inherited from com.aspose.cells.CollectionBase
public boolean contains(java.lang.Object value)
Reserved for internal use.

add

→ inherited from com.aspose.cells.CollectionBase
public int add(java.lang.Object value)
Reserved for internal use.

indexOf

→ inherited from com.aspose.cells.CollectionBase
public int indexOf(java.lang.Object value)
Reserved for internal use.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy