Save This Page
Home » jexcelapi_2_6_8 » jxl.biff » [javadoc | source]
jxl.biff
public class: DataValidation [javadoc | source]
java.lang.Object
   jxl.biff.DataValidation
Class which encapsulates a data validation (typically in the form of a dropdown list box)
Field Summary
public static final  int DEFAULT_OBJECT_ID     
Constructor:
 public DataValidation(DataValidityListRecord dvlr) 
    Constructor
 public DataValidation(int objId,
    ExternalSheet es,
    WorkbookMethods wm,
    WorkbookSettings ws) 
    Constructor used to create writable data validations
 public DataValidation(DataValidation dv,
    ExternalSheet es,
    WorkbookMethods wm,
    WorkbookSettings ws) 
    Copy constructor used to copy from read to write
Method from jxl.biff.DataValidation Summary:
add,   getComboBoxObjectId,   getDataValidityList,   getDataValiditySettings,   getDataValiditySettings,   insertColumn,   insertRow,   removeColumn,   removeDataValidation,   removeRow,   write
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jxl.biff.DataValidation Detail:
 public  void add(DataValiditySettingsRecord dvsr) 
    Adds a new settings object to this data validation
 public int getComboBoxObjectId() 
    Accessor for the combo box, used when copying sheets
 public DataValidityListRecord getDataValidityList() 
    Accessor for the validity list. Used when copying sheets
 public DataValiditySettingsRecord[] getDataValiditySettings() 
    Accessor for the validity settings. Used when copying sheets
 public DataValiditySettingsRecord getDataValiditySettings(int col,
    int row) 
    Used during the copy process to retrieve the validity settings for a particular cell
 public  void insertColumn(int col) 
    Inserts a column
 public  void insertRow(int row) 
    Inserts a row
 public  void removeColumn(int col) 
    Removes a column
 public  void removeDataValidation(int col,
    int row) 
    Removes the data validation for a specific cell
 public  void removeRow(int row) 
    Inserts a row
 public  void write(File outputFile) throws IOException 
    Writes out the data validation