|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.iisc.jwc.jsheet.SheetEvent
The SheetEvent contains information about the events that occur on a sheet.
Field Summary | |
static int |
ACTIVE_CELL_CHANGED
Active cell changed event type. |
static int |
CELL_STYLE_UPDATED
Cell style updated event type. |
static int |
CELL_VALUE_UPDATED
Cell value updated event type. |
static int |
COL_WIDTH_UPDATED
Column width updated event type. |
static int |
DELETED_LEFT
Deleted left event type. |
static int |
DELETED_UP
Deleted up event type. |
static int |
DOUBLE_CLICKED
Cell double-clicked event type. |
static int |
INSERTED_DOWN
Inserted down event type. |
static int |
INSERTED_RIGHT
Inserted right event type. |
static int |
LEFT_COL_CHANGED
Left column changed event type. |
static int |
RANGE_STYLE_UPDATED
Range style updated event type. |
static int |
ROW_HEIGHT_UPDATED
Row height updated event type. |
static int |
SHEET_PROPERTIES_UPDATED
Sheet properties updated event type. |
static int |
STYLE_INDEX_CLEARED
Style index cleared event type. |
static int |
TEXT_MODIFIED
Cell text modified event type. |
static int |
TOP_ROW_CHANGED
Top row changed event type. |
Constructor Summary | |
SheetEvent(java.lang.Object source,
int id,
Cell cell)
Constructs a SheetEvent. |
|
SheetEvent(java.lang.Object source,
int id,
Cell cell,
java.lang.String str)
Constructs a SheetEvent |
|
SheetEvent(java.lang.Object source,
int id,
Range range)
Constructs a SheetEvent. |
|
SheetEvent(java.lang.Object source,
int id,
Range range,
int styleIdx)
Constructs a SheetEvent. |
|
SheetEvent(java.lang.Object source,
int id,
Range range,
int[] styleIdxs)
Constructs a SheetEvent. |
|
SheetEvent(java.lang.Object source,
int id,
short sheetIdx,
int styleIdx)
Constructs a SheetEvent. |
|
SheetEvent(java.lang.Object source,
int id,
short sheetIdx,
int start,
int end,
int[] size)
Constructs a SheetEvent. |
Method Summary | |
Cell |
getCell()
Returns the Cell reference. |
com.iisc.jwc.orb.CCellData[] |
getCellData()
For internal use only! |
int |
getEnd()
Returns the ending row/col. |
java.lang.String |
getEntryString()
Returns the entry string. |
int |
getID()
Returns the event ID. |
Range |
getRange()
Returns the Range reference. |
short |
getSheetIndex()
Returns the sheet index. |
com.iisc.jwc.orb.CSheetProperties |
getSheetProperties()
For internal use only! |
int[] |
getSizes()
Returns the array of sizes for row/columns. |
int |
getStart()
Returns the starting row/column. |
int |
getStyleIndex()
Returns the style index. |
int[] |
getStyleIndexes()
Returns the array of the style indices. |
int |
getValue()
Returns the value. |
java.lang.String |
toString()
Returns the string representation of this object. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ACTIVE_CELL_CHANGED
public static final int CELL_STYLE_UPDATED
public static final int CELL_VALUE_UPDATED
public static final int COL_WIDTH_UPDATED
public static final int DELETED_LEFT
public static final int DELETED_UP
public static final int DOUBLE_CLICKED
public static final int INSERTED_DOWN
public static final int INSERTED_RIGHT
public static final int LEFT_COL_CHANGED
public static final int RANGE_STYLE_UPDATED
public static final int ROW_HEIGHT_UPDATED
public static final int SHEET_PROPERTIES_UPDATED
public static final int STYLE_INDEX_CLEARED
public static final int TEXT_MODIFIED
public static final int TOP_ROW_CHANGED
Constructor Detail |
public SheetEvent(java.lang.Object source, int id, Cell cell)
source
- the object where the event originated.id
- the event type.cell
- the Cell reference.public SheetEvent(java.lang.Object source, int id, Cell cell, java.lang.String str)
source
- the object where the event originated.id
- the event type.cell
- the Cell reference.str
- entry string data.public SheetEvent(java.lang.Object source, int id, Range range)
source
- the object where the event originated.id
- the event type.range
- the range reference.public SheetEvent(java.lang.Object source, int id, Range range, int styleIdx)
source
- the object where the event originated.id
- the event type.range
- the range reference.styleIdx
- the style index for this range.public SheetEvent(java.lang.Object source, int id, Range range, int[] styleIdxs)
source
- the object where the event originated.id
- the event type.range
- the range reference.styleIdxs
- an array of style indices for this range.public SheetEvent(java.lang.Object source, int id, short sheetIdx, int styleIdx)
source
- the object where the event originated.id
- the event type.sheetIdx
- the sheet index where the event occurred.styleIdx
- the style index that was changed.public SheetEvent(java.lang.Object source, int id, short sheetIdx, int start, int end, int[] size)
source
- the object where the event originated.id
- the event type.sheetIdx
- the sheet index where the event occurred.start
- the starting row/col.end
- the ending row/col.size
- an array of sizes for row/columns.Method Detail |
public Cell getCell()
public com.iisc.jwc.orb.CCellData[] getCellData()
public int getEnd()
public java.lang.String getEntryString()
public int getID()
public Range getRange()
public short getSheetIndex()
public com.iisc.jwc.orb.CSheetProperties getSheetProperties()
public int[] getSizes()
public int getStart()
public int getStyleIndex()
public int[] getStyleIndexes()
public int getValue()
public java.lang.String toString()
|
Email JSheet Support | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |