VKRep
Class VKRepEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--VKRep.VKRepEvent
All Implemented Interfaces:
java.io.Serializable

public class VKRepEvent
extends java.util.EventObject

Title:

Description: Event class for VK Reports.

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
Vlad Karpov
See Also:
Serialized Form

Field Summary
 boolean check
          Boolean indicator for control end of data source or necessity of change data in cell or data by mark.
 int colAbs
          Use in dataRequest event for indicate absolute and relative cell coordinates.
 int colRel
          Use in dataRequest event for indicate absolute and relative cell coordinates.
 int dataIndex
          Use in requestByNum event for indicate number of mark.
 java.lang.Object dataInput
          Use in dataRequest event.
 java.lang.String dataName
          Use in requestByName event for indicate name of mark.
 java.lang.Object dataOutput
          Use in dataRequest event.
 boolean eof
          End Of File boolean indicator for moveTop and moveNext events.
 java.lang.String errorMessage
          Error Message for reportError event.
(package private) static int MAX_LEN_BYTE_DATA
          Maximum length of byte data for report
(package private) static int MAX_LEN_SECTION_NAME
          Maximum length section name
 byte[] outData
          Use in requestByName, requestByNum events - it is new text in output blank instead of mark.
 int outDataLen
          The length of outData.
private  byte[] outPrivateData
          Intermediate array for store intermediate data.
private  int outPrivateDataLen
          The length of outPrivateData.
 int recno
          Record number for moveTop and moveNext events.
 int rowAbs
          Use in dataRequest event for indicate absolute and relative cell coordinates.
 int rowRel
          Use in dataRequest event for indicate absolute and relative cell coordinates.
 char[] sectionName
          Current section name.
 int sectionNum
          Current section number.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
VKRepEvent(java.lang.Object source)
          Constructor VKRepEvent object.
 
Method Summary
 boolean getCheck()
          Read method of check property.
 int getDataIndex()
          Read method of dataIndex property.
 boolean getEof()
          Read method of eof property.
 java.lang.String getErrorMessage()
          Read method of errorMessage property.
 int getRecno()
          Read method of recno property.
 java.lang.String getSectionName()
          Read method of sectionName property.
 int getSectionNum()
          Read method of sectionNum property.
 void outPrivateByte(byte outByte)
          Out byte into intermediate buffer.
 void setCheck(boolean newValue)
          Write method of check property.
 void setDataIndex(int newValue)
          Write method of dataIndex property.
 void setEof(boolean newValue)
          Write method of eof property.
 void setErrorMessage(java.lang.String errorMessage)
          Write method of errorMessage property.
 void setRecno(int newValue)
          Write method of recno property.
 void setSectionName(java.lang.String newValue)
          Write method of sectionName property.
 void setSectionNum(int newValue)
          Write method of sectionNum property.
 void startPrivateData()
          Start fill of intermediate buffer.
 void stopPrivateData()
          Stop fill of intermediate buffer and carry one in the outData variable.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_LEN_SECTION_NAME

static final int MAX_LEN_SECTION_NAME
Maximum length section name

See Also:
Constant Field Values

MAX_LEN_BYTE_DATA

static final int MAX_LEN_BYTE_DATA
Maximum length of byte data for report

See Also:
Constant Field Values

errorMessage

public java.lang.String errorMessage
Error Message for reportError event.


eof

public boolean eof
End Of File boolean indicator for moveTop and moveNext events.


recno

public int recno
Record number for moveTop and moveNext events.


sectionName

public char[] sectionName
Current section name. Use in sectionBegin, sectionEnd, sectionComplete, sectionCheck, dataRequest, requestByName, requestByNum, sectionPrepare events.


sectionNum

public int sectionNum
Current section number. Use in sectionBegin, sectionEnd, sectionComplete, sectionCheck, dataRequest, requestByName, requestByNum, sectionPrepare events.


check

public boolean check
Boolean indicator for control end of data source or necessity of change data in cell or data by mark.


dataIndex

public int dataIndex
Use in requestByNum event for indicate number of mark.


dataName

public java.lang.String dataName
Use in requestByName event for indicate name of mark.


rowAbs

public int rowAbs
Use in dataRequest event for indicate absolute and relative cell coordinates.


colAbs

public int colAbs
Use in dataRequest event for indicate absolute and relative cell coordinates.


rowRel

public int rowRel
Use in dataRequest event for indicate absolute and relative cell coordinates.


colRel

public int colRel
Use in dataRequest event for indicate absolute and relative cell coordinates.


dataInput

public java.lang.Object dataInput
Use in dataRequest event. May consists of Integer, String, Double, Date objects - old content of cell.


dataOutput

public java.lang.Object dataOutput
Use in dataRequest event. May consists of Integer, String, Double, Date objects - new content of cell.


outData

public byte[] outData
Use in requestByName, requestByNum events - it is new text in output blank instead of mark.


outDataLen

public int outDataLen
The length of outData. Should fill with outData for place outData in output stream (file).


outPrivateData

private byte[] outPrivateData
Intermediate array for store intermediate data.


outPrivateDataLen

private int outPrivateDataLen
The length of outPrivateData.

Constructor Detail

VKRepEvent

public VKRepEvent(java.lang.Object source)
Constructor VKRepEvent object.

Parameters:
source - owner of object.
Method Detail

startPrivateData

public void startPrivateData()
Start fill of intermediate buffer.


outPrivateByte

public void outPrivateByte(byte outByte)
Out byte into intermediate buffer.

Parameters:
outByte - - byte for out.

stopPrivateData

public void stopPrivateData()
Stop fill of intermediate buffer and carry one in the outData variable.


setDataIndex

public void setDataIndex(int newValue)
Write method of dataIndex property.

Parameters:
newValue -

getDataIndex

public int getDataIndex()
Read method of dataIndex property.

Returns:

getCheck

public boolean getCheck()
Read method of check property.

Returns:

setCheck

public void setCheck(boolean newValue)
Write method of check property.

Parameters:
newValue -

getSectionNum

public int getSectionNum()
Read method of sectionNum property.

Returns:

setSectionNum

public void setSectionNum(int newValue)
Write method of sectionNum property.

Parameters:
newValue -

getSectionName

public java.lang.String getSectionName()
Read method of sectionName property.

Returns:

setSectionName

public void setSectionName(java.lang.String newValue)
Write method of sectionName property.

Parameters:
newValue -

getRecno

public int getRecno()
Read method of recno property.

Returns:

setRecno

public void setRecno(int newValue)
Write method of recno property.

Parameters:
newValue -

getEof

public boolean getEof()
Read method of eof property.

Returns:

setEof

public void setEof(boolean newValue)
Write method of eof property.

Parameters:
newValue -

getErrorMessage

public java.lang.String getErrorMessage()
Read method of errorMessage property.

Returns:

setErrorMessage

public void setErrorMessage(java.lang.String errorMessage)
Write method of errorMessage property.