Example usage for Java org.apache.poi.ss.usermodel DataValidation fields, constructors, methods, implement or subclass
The text is from its open source code.
void | createErrorBox(String title, String text) Sets the title and text for the error box . |
void | createPromptBox(String title, String text) Sets the title and text for the prompt box . |
boolean | getEmptyCellAllowed() Retrieve the settings for empty cells allowed |
String | getErrorBoxText() |
String | getErrorBoxTitle() |
int | getErrorStyle() o |
String | getPromptBoxText() |
String | getPromptBoxTitle() |
CellRangeAddressList | getRegions() |
boolean | getShowErrorBox() |
boolean | getShowPromptBox() |
boolean | getSuppressDropDownArrow() Useful only list validation objects . |
DataValidationConstraint | getValidationConstraint() |
void | setEmptyCellAllowed(boolean allowed) Sets if this object allows empty as a valid value |
void | setErrorStyle(int error_style) Sets the error style for error box |
void | setShowErrorBox(boolean show) Sets the behaviour when an invalid value is entered |
void | setShowPromptBox(boolean show) Sets the behaviour when a cell which belongs to this object is selected |
void | setSuppressDropDownArrow(boolean suppress) Useful for list validation objects . |