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
Modifier and TypeMethodDescriptionObject[]
getConditions
(Object field) Returns an array of strings to be presented as a combo box which are possible rule conditions for the specified field.Object[]
Returns an array of strings to be presented as a combo box which are available fields to define rules on.Object[]
Returns an array of strings to be presented as a combo box which are possible values for the field.
-
Method Details
-
getFields
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
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
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
-