mirror of https://github.com/apache/poi.git
update javadoc for clarification about non-literal lists
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1749133 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
09c37d43e5
commit
41517168f9
|
@ -37,6 +37,12 @@ public interface DataValidationConstraint {
|
|||
*/
|
||||
public abstract void setOperator(int operator);
|
||||
|
||||
/**
|
||||
* If validation type is {@link ValidationType#LIST}
|
||||
* and <code>formula1</code> was comma-separated literal values rather than a range or named range,
|
||||
* returns list of literal values.
|
||||
* Otherwise returns <code>null</code>.
|
||||
*/
|
||||
public abstract String[] getExplicitListValues();
|
||||
|
||||
public abstract void setExplicitListValues(String[] explicitListValues);
|
||||
|
|
|
@ -90,9 +90,7 @@ public class XSSFDataValidationConstraint implements DataValidationConstraint {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* If validation type is {@link org.apache.poi.ss.usermodel.DataValidationConstraint.ValidationType#LIST}, returns list of literal values.
|
||||
* Otherwise returns <code>null</code>.
|
||||
/* (non-Javadoc)
|
||||
* @see org.apache.poi.ss.usermodel.DataValidationConstraint#getExplicitListValues()
|
||||
*/
|
||||
public String[] getExplicitListValues() {
|
||||
|
|
Loading…
Reference in New Issue