|
||
| Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate | ||
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.aspose.cells.Validations
public class Validations
Represents data validation collection.
| Method Summary | |
|---|---|
int |
add()
Adds an empty data validation to the Validations. |
int |
add(int type,
int alertStyle,
int operator,
java.lang.String formula1,
java.lang.String formula2)
Adds a data validation to the Validations. |
Validation |
get(int index)
Gets validation object by index. |
int |
size()
Gets number of the Validation objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int add(int type,
int alertStyle,
int operator,
java.lang.String formula1,
java.lang.String formula2)
type - the validation data type.alertStyle - the validation alert style.operator - the operator for the data validation.formula1 - the value or expression associated with the data validation.formula2 - the value or expression associated with the data validation.
CellsException - if Validations object has bean removed.Validationpublic int add()
CellsException - if Validations object has bean removed.public Validation get(int index)
index - Validation object index.
java.lang.IllegalArgumentException - if index is out of range.
CellsException - if Validations object has bean removed.public int size()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||