| Modifier and Type | Class and Description |
|---|---|
| public static class | DataValidation.
Error style constants for error box |
| Modifier and Type | Method and Description |
|---|---|
| public void | createErrorBox(String
The error box's title title, String The error box's text text)Sets the title and text for the error box . |
| public void | createPromptBox(String
The prompt box's title title, String The prompt box's text text)Sets the title and text for the prompt box . |
| public boolean | Returns: True if this object should treats empty as valid value , false otherwiseRetrieve the settings for empty cells allowed |
| public String | |
| public String | |
| public int | |
| public String | |
| public String | |
| public CellRangeAddressList | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if a list should display the values into a drop down list ,
false otherwise .Useful only list validation objects . |
| public DataValidationConstraint | |
| public void | setEmptyCellAllowed(boolean
true if this object should treats empty as valid value , false
otherwiseSets if this object allows empty as a valid value |
| public void | |
| public void | setShowErrorBox(boolean
true if an error box should be displayed , false otherwiseSets the behaviour when an invalid value is entered |
| public void | setShowPromptBox(boolean
true if an prompt box should be displayed , false otherwiseSets the behaviour when a cell which belongs to this object is selected |
| public void | setSuppressDropDownArrow(boolean
True if a list should display the values into a drop down list ,
false otherwise . In other words , if a list should display
the arrow sign on its right side suppress)Useful for list validation objects . |
| createErrorBox | back to summary |
|---|---|
| public void createErrorBox(String title, String text) Sets the title and text for the error box . Error box is displayed when the user enters an invalid value int o a cell which belongs to this validation object . In order for an error box to be displayed you should also use method setShowErrorBox( boolean show ) | |
| createPromptBox | back to summary |
|---|---|
| public void createPromptBox(String title, String text) Sets the title and text for the prompt box . Prompt box is displayed when the user selects a cell which belongs to this validation object . In order for a prompt box to be displayed you should also use method setShowPromptBox( boolean show ) | |
| getEmptyCellAllowed | back to summary |
|---|---|
| public boolean getEmptyCellAllowed() Retrieve the settings for empty cells allowed
| |
| getErrorBoxText | back to summary |
|---|---|
public String getErrorBoxText()
| |
| getErrorBoxTitle | back to summary |
|---|---|
public String getErrorBoxTitle()
| |
| getErrorStyle | back to summary |
|---|---|
| public int getErrorStyle() o
| |
| getPromptBoxText | back to summary |
|---|---|
public String getPromptBoxText()
| |
| getPromptBoxTitle | back to summary |
|---|---|
public String getPromptBoxTitle()
| |
| getRegions | back to summary |
|---|---|
| public CellRangeAddressList getRegions() | |
| getShowErrorBox | back to summary |
|---|---|
public boolean getShowErrorBox()
| |
| getShowPromptBox | back to summary |
|---|---|
public boolean getShowPromptBox()
| |
| getSuppressDropDownArrow | back to summary |
|---|---|
| public boolean getSuppressDropDownArrow() Useful only list validation objects . This method always returns false if the object isn't a list validation object
| |
| getValidationConstraint | back to summary |
|---|---|
| public DataValidationConstraint getValidationConstraint() | |
| setEmptyCellAllowed | back to summary |
|---|---|
| public void setEmptyCellAllowed(boolean allowed) Sets if this object allows empty as a valid value
| |
| setErrorStyle | back to summary |
|---|---|
| public void setErrorStyle(int error_style) Sets the error style for error box
| |
| setShowErrorBox | back to summary |
|---|---|
| public void setShowErrorBox(boolean show) Sets the behaviour when an invalid value is entered
| |
| setShowPromptBox | back to summary |
|---|---|
| public void setShowPromptBox(boolean show) Sets the behaviour when a cell which belongs to this object is selected
| |
| setSuppressDropDownArrow | back to summary |
|---|---|
| public void setSuppressDropDownArrow(boolean suppress) Useful for list validation objects .
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | INFO
INFO style |
| public static final int | STOP
STOP style |
| public static final int | WARNING
WARNING style |
| Access | Constructor and Description |
|---|---|
| public |
| INFO | back to summary |
|---|---|
| public static final int INFO INFO style | |
| STOP | back to summary |
|---|---|
| public static final int STOP STOP style | |
| WARNING | back to summary |
|---|---|
| public static final int WARNING WARNING style | |
| ErrorStyle | back to summary |
|---|---|
| public ErrorStyle() | |