|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The Validation Format interface.
| Inner Class Summary | |
static class |
ValidationFormat.EProperty
Validation Format property enumeration |
| Field Summary | |
static ValidationFormat.EProperty |
eRule
Rule property |
static ValidationFormat.EProperty |
eText
Text property |
| Method Summary | |
java.lang.String |
getRule(int row,
int col)
Returns the validation rule associated with the active cell in US english. |
java.lang.String |
getRuleLocal(int row,
int col)
Returns the validation rule associated with the active cell in the user's language. |
java.lang.String |
getText()
Returns the text to be displayed in the cell if the validation rule fails. |
void |
setRule(java.lang.String rule,
int row,
int col)
Sets the validation rule expression, in US English. |
void |
setRuleLocal(java.lang.String rule,
int row,
int col)
Sets the validation rule expression, in the user's language. |
void |
setText(java.lang.String text)
Sets the text to display if a validation rule fails. |
| Methods inherited from interface com.f1j.util.FormatBase |
isUndefined,
isUndefined,
isUsed,
setUndefined,
undefineAll,
useAll |
| Field Detail |
public static final ValidationFormat.EProperty eRule
public static final ValidationFormat.EProperty eText
| Method Detail |
public java.lang.String getRule(int row,
int col)
row - the coordinate of the row used as a starting point for the calculated
relative reference.col - the coordinate of the column used as the starting point for the
calculated relative reference."(A1 > 100)").setRule(java.lang.String, int, int)
public java.lang.String getRuleLocal(int row,
int col)
row - the coordinate of the row used as a starting point for the calculated
relative reference.col - the coordinate of the column used as the starting point for the
calculated relative reference."(A1 > 100)").setRuleLocal(java.lang.String, int, int)public java.lang.String getText()
setText(String)
public void setRule(java.lang.String rule,
int row,
int col)
throws F1Exception
rule - the validation rule expression (such as "(A1>100)").
The cell reference in the expression represents the ending point of a calculated
relative reference.row - the coordinate of the row used as a starting point for the calculated
relative reference.col - the coordinate of the column used as the starting point for the
calculated relative reference.getRule(int,int)
public void setRuleLocal(java.lang.String rule,
int row,
int col)
throws F1Exception
rule - the validation rule expression, such as (such as "(A1>100)").
The cell reference in the expression represents the ending point of a calculated
relative reference.row - the coordinate of the row used as a starting point for the
calculated relative reference.col - the coordinate of the column used as the starting point for the
calculated relative reference.getRuleLocal(int,int)public void setText(java.lang.String text)
text - the text to display if the entered data does not meet the
condition specified by the validation expression.getText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||