Package jam.panels
Interface RuleModel
-
public interface RuleModel
RuleModel.- Version:
- $Id: RuleModel.java 182 2006-01-23 21:24:01Z rambaut $
- Author:
- Andrew Rambaut
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object[]
getConditions(java.lang.Object field)
Returns an array of strings to be presented as a combo box which are possible rule conditions for the specified field.java.lang.Object[]
getFields()
Returns an array of strings to be presented as a combo box which are available fields to define rules on.java.lang.Object[]
getValues(java.lang.Object field, java.lang.Object condition)
Returns an array of strings to be presented as a combo box which are possible values for the field.
-
-
-
Method Detail
-
getFields
java.lang.Object[] getFields()
Returns an array of strings to be presented as a combo box which are available fields to define rules on.- Returns:
- the field names
-
getConditions
java.lang.Object[] getConditions(java.lang.Object field)
Returns an array of strings to be presented as a combo box which are possible rule conditions for the specified field.- Returns:
- the condition names
-
getValues
java.lang.Object[] getValues(java.lang.Object field, java.lang.Object condition)
Returns an array of strings to be presented as a combo box which are possible values for the field. Should return null if a text box is required.- Returns:
- the values
-
-