Save This Page
Home » jexcelapi_2_6_8 » jxl.biff » [javadoc | source]
jxl.biff
public class: BaseCellFeatures [javadoc | source]
java.lang.Object
   jxl.biff.BaseCellFeatures

Direct Known Subclasses:
    WritableCellFeatures, CellFeatures

Container for any additional cell features
Nested Class Summary:
protected static class  BaseCellFeatures.ValidationCondition   
Field Summary
public static  Logger logger    The logger 
public static final  BaseCellFeatures.ValidationCondition BETWEEN     
public static final  BaseCellFeatures.ValidationCondition NOT_BETWEEN     
public static final  BaseCellFeatures.ValidationCondition EQUAL     
public static final  BaseCellFeatures.ValidationCondition NOT_EQUAL     
public static final  BaseCellFeatures.ValidationCondition GREATER_THAN     
public static final  BaseCellFeatures.ValidationCondition LESS_THAN     
public static final  BaseCellFeatures.ValidationCondition GREATER_EQUAL     
public static final  BaseCellFeatures.ValidationCondition LESS_EQUAL     
Constructor:
 protected BaseCellFeatures() 
 public BaseCellFeatures(BaseCellFeatures cf) 
    Copy constructor
    Parameters:
    the - cell to copy
Method from jxl.biff.BaseCellFeatures Summary:
getComment,   getCommentDrawing,   getCommentHeight,   getCommentWidth,   getDVParser,   getDataValidationList,   hasDataValidation,   hasDropDown,   removeComment,   removeDataValidation,   setComboBox,   setComment,   setComment,   setCommentDrawing,   setDataValidationList,   setDataValidationRange,   setDataValidationRange,   setNumberValidation,   setNumberValidation,   setReadComment,   setValidationSettings,   setWritableCell
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jxl.biff.BaseCellFeatures Detail:
 protected String getComment() 
    Accessor for the cell comment
 public final Comment getCommentDrawing() 
    Accessor for the comment drawing
 public double getCommentHeight() 
    Accessor for the comment height
 public double getCommentWidth() 
    Accessor for the comment width
 public DVParser getDVParser() 
    Gets the dv parser
 public String getDataValidationList() 
    Gets the data validation list as a formula. Used only when reading
 public boolean hasDataValidation() 
    Accessor for the data validation
 public boolean hasDropDown() 
    Accessor for whether a drop down is required
 public  void removeComment() 
    Removes the cell comment, if present
 public  void removeDataValidation() 
    Removes any data validation, if present
 public  void setComboBox(ComboBox cb) 
    Sets the combo box drawing object for list validations
 public  void setComment(String s) 
    Sets the cell comment
 public  void setComment(String s,
    double width,
    double height) 
    Sets the cell comment
 public final  void setCommentDrawing(Comment c) 
    Sets the comment drawing object
 public  void setDataValidationList(Collection c) 
    The list of items to validate for this cell. For each object in the collection, the toString() method will be called and the data entered will be validated against that string
 public  void setDataValidationRange(String namedRange) 
    Sets the data validation based upon a named range
 public  void setDataValidationRange(int col1,
    int r1,
    int col2,
    int r2) 
    The list of items to validate for this cell in the form of a cell range.
 public  void setNumberValidation(double val,
    BaseCellFeatures.ValidationCondition c) 
 public  void setNumberValidation(double val1,
    double val2,
    BaseCellFeatures.ValidationCondition c) 
 public  void setReadComment(String s,
    double w,
    double h) 
    Internal method to set the cell comment. Used when reading
 public  void setValidationSettings(DataValiditySettingsRecord dvsr) 
    Internal method to set the data validation. Used when reading
 public final  void setWritableCell(CellValue wc) 
    Called by the cell when the features are added