jxl.biff
Class DVParser

java.lang.Object
  extended byjxl.biff.DVParser

public class DVParser
extends java.lang.Object

Class which parses the binary data associated with Data Validity (DV) setting


Nested Class Summary
static class DVParser.Condition
           
static class DVParser.DVType
           
static class DVParser.ErrorStyle
           
 
Field Summary
static DVParser.DVType ANY
           
static DVParser.Condition BETWEEN
           
static DVParser.DVType DATE
           
static DVParser.DVType DECIMAL
           
static DVParser.Condition EQUAL
           
static DVParser.DVType FORMULA
           
static DVParser.Condition GREATER_EQUAL
           
static DVParser.Condition GREATER_THAN
           
static DVParser.ErrorStyle INFO
           
static DVParser.DVType INTEGER
           
static DVParser.Condition LESS_EQUAL
           
static DVParser.Condition LESS_THAN
           
static DVParser.DVType LIST
           
static DVParser.Condition NOT_BETWEEN
           
static DVParser.Condition NOT_EQUAL
           
static DVParser.ErrorStyle STOP
           
static DVParser.DVType TEXT_LENGTH
           
static DVParser.DVType TIME
           
static DVParser.ErrorStyle WARNING
           
 
Constructor Summary
DVParser(byte[] data, ExternalSheet es, WorkbookMethods nt, WorkbookSettings ws)
          Constructor
 
Method Summary
 byte[] getData()
          Gets the data
 int getFirstColumn()
          Accessor for first column
 int getFirstRow()
          Accessor for first row
 int getLastColumn()
          Accessor for the last column
 int getLastRow()
          Accessor for the last row
 void insertColumn(int col)
          Inserts a column
 void insertRow(int row)
          Inserts a row
 void removeColumn(int col)
          Removes a column
 void removeRow(int row)
          Removes a row
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANY

public static final DVParser.DVType ANY

INTEGER

public static final DVParser.DVType INTEGER

DECIMAL

public static final DVParser.DVType DECIMAL

LIST

public static final DVParser.DVType LIST

DATE

public static final DVParser.DVType DATE

TIME

public static final DVParser.DVType TIME

TEXT_LENGTH

public static final DVParser.DVType TEXT_LENGTH

FORMULA

public static final DVParser.DVType FORMULA

STOP

public static final DVParser.ErrorStyle STOP

WARNING

public static final DVParser.ErrorStyle WARNING

INFO

public static final DVParser.ErrorStyle INFO

BETWEEN

public static final DVParser.Condition BETWEEN

NOT_BETWEEN

public static final DVParser.Condition NOT_BETWEEN

EQUAL

public static final DVParser.Condition EQUAL

NOT_EQUAL

public static final DVParser.Condition NOT_EQUAL

GREATER_THAN

public static final DVParser.Condition GREATER_THAN

LESS_THAN

public static final DVParser.Condition LESS_THAN

GREATER_EQUAL

public static final DVParser.Condition GREATER_EQUAL

LESS_EQUAL

public static final DVParser.Condition LESS_EQUAL
Constructor Detail

DVParser

public DVParser(byte[] data,
                ExternalSheet es,
                WorkbookMethods nt,
                WorkbookSettings ws)
         throws FormulaException
Constructor

Method Detail

getData

public byte[] getData()
Gets the data


insertRow

public void insertRow(int row)
Inserts a row

Parameters:
row - the row to insert

insertColumn

public void insertColumn(int col)
Inserts a column

Parameters:
col - the column to insert

removeRow

public void removeRow(int row)
Removes a row

Parameters:
row - the row to insert

removeColumn

public void removeColumn(int col)
Removes a column

Parameters:
col - the row to remove

getFirstColumn

public int getFirstColumn()
Accessor for first column

Returns:
the first column

getLastColumn

public int getLastColumn()
Accessor for the last column

Returns:
the last column

getFirstRow

public int getFirstRow()
Accessor for first row

Returns:
the first row

getLastRow

public int getLastRow()
Accessor for the last row

Returns:
the last row