com.acesoft.aceoffix.excelwriter
Class DataField

java.lang.Object
  extended by com.acesoft.aceoffix.excelwriter.DataField

public class DataField
extends java.lang.Object

DataField class represents a DataField item of DataFields.

Version:
5.0
Author:
Acesoft Corporation

Method Summary
 void setBackColor(java.awt.Color value)
          Sets the back color of the cell specified by the current DataField.
 void setForeColor(java.awt.Color value)
          Sets the fore color of the cell specified by the current DataField.
 void setFormula(java.lang.String value)
          Sets the formula of the cell specified by the current DataField.
 void setValue(java.lang.String value)
          Sets the value of the cell specified by the current DataField.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setValue

public void setValue(java.lang.String value)
              throws java.io.IOException
Sets the value of the cell specified by the current DataField.

This DataField represents a cell.

Throws:
java.io.IOException
See Also:
Sheet.openTable() to learn how to set the value of the cell.

setFormula

public void setFormula(java.lang.String value)
                throws java.io.IOException
Sets the formula of the cell specified by the current DataField.

This DataField represents a cell. The formula uses A1-style notation which is defined in Microsoft Excel.

Throws:
java.io.IOException
See Also:
Sheet.openTable() to learn how to set the formula of the cell in code example 2.

setBackColor

public void setBackColor(java.awt.Color value)
                  throws java.io.IOException
Sets the back color of the cell specified by the current DataField. This DataField represents a cell.

Throws:
java.io.IOException
See Also:
Sheet.openTable() to learn how to set the back color of the cell in code example 2.

setForeColor

public void setForeColor(java.awt.Color value)
                  throws java.io.IOException
Sets the fore color of the cell specified by the current DataField. This DataField represents a cell.

Throws:
java.io.IOException
See Also:
Sheet.openTable() to learn how to set the fore color of the cell in code example 2.