|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iisc.jwc.jsheet.SheetAdapter
The SheetAdapter handles events that occur on the sheet. The methods in this class are empty; this class is provided as a convenience to easily create listeners by extending this class and overriding only the methods of interest.
Constructor Summary | |
SheetAdapter()
|
Method Summary | |
void |
activeCellChanged(SheetEvent e)
Invoked when the user selects a new cell. |
void |
cellStyleUpdated(SheetEvent e)
Invoked when the style of a cell that is being observed changes on the server. |
void |
cellValueUpdated(SheetEvent e)
Invoked when the value of a cell that is being observed changes on the server. |
void |
colWidthUpdated(SheetEvent e)
Invoked when a column size is changed. |
void |
deletedLeft(SheetEvent e)
Invoked when a cell or column is deleted. |
void |
deletedUp(SheetEvent e)
Invoked when a cell or row is deleted. |
void |
doubleClicked(SheetEvent e)
Invoked when the user double-clicks in a cell. |
void |
insertedDown(SheetEvent e)
Invoked when a cell or row is inserted. |
void |
insertedRight(SheetEvent e)
Invoked when a cell or column is inserted. |
void |
leftColChanged(SheetEvent e)
Invoked when the user scrolls the sheet left or right. |
void |
rangeStyleUpdated(SheetEvent e)
Invoked when a range of values that is being observed changes on the server. |
void |
rowHeightUpdated(SheetEvent e)
Invoked when a row size is changed. |
void |
sheetPropertiesUpdated(SheetEvent e)
Invoked when one of the sheet properties has changed. |
void |
styleIndexCleared(SheetEvent e)
Invoked when a style is no longer being used. |
void |
textModified(SheetEvent e)
Invoked when the value of the cell is being edited. |
void |
topRowChanged(SheetEvent e)
Invoked when the user scrolls the sheet down or up. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SheetAdapter()
Method Detail |
public void activeCellChanged(SheetEvent e)
activeCellChanged
in interface SheetListener
e
- getCell() returns the new active cell.public void cellStyleUpdated(SheetEvent e)
cellStyleUpdated
in interface SheetListener
e
- getRange() returns the range and getStyleIndexes() returns array of indices for the styles applied.public void cellValueUpdated(SheetEvent e)
cellValueUpdated
in interface SheetListener
e
- getSheetIndex() returns the sheet index and
getCellData() returns the CCellData changed.public void colWidthUpdated(SheetEvent e)
colWidthUpdated
in interface SheetListener
e
- getSheetIndex() returns the sheet index,
getStart() returns the starting row,
getEnd() returns the ending row, and
getSizes() returns an array of sizes for each of those columns.public void deletedLeft(SheetEvent e)
deletedLeft
in interface SheetListener
e
- getRange() returns the range that was deleted.public void deletedUp(SheetEvent e)
deletedUp
in interface SheetListener
e
- getRange() returns the range that was deleted.public void doubleClicked(SheetEvent e)
doubleClicked
in interface SheetListener
e
- getCell() returns the cell that is double-clicked.public void insertedDown(SheetEvent e)
insertedDown
in interface SheetListener
e
- getRange() returns the range that was inserted.public void insertedRight(SheetEvent e)
insertedRight
in interface SheetListener
e
- getRange() returns the range that was inserted.public void leftColChanged(SheetEvent e)
leftColChanged
in interface SheetListener
e
- getSheetIndex() returns the sheet index and getValue() returns the new left column.public void rangeStyleUpdated(SheetEvent e)
rangeStyleUpdated
in interface SheetListener
e
- getRange() returns the range and getStyleIndexes() returns array of indices for the styles applied.public void rowHeightUpdated(SheetEvent e)
rowHeightUpdated
in interface SheetListener
e
- getSheetIndex() returns the sheet index,
getStart() returns the starting row,
getEnd() returns the ending row, and
getSizes() returns an array of sizes for each of those rows.public void sheetPropertiesUpdated(SheetEvent e)
sheetPropertiesUpdated
in interface SheetListener
e
- getSheetIndex() reutnrs the sheet index and
getSheetProperties() returns the CSheetProperties that have changed.public void styleIndexCleared(SheetEvent e)
styleIndexCleared
in interface SheetListener
e
- getRange() returns the range and getStyleIndex() returns the index for the style that was cleared.public void textModified(SheetEvent e)
textModified
in interface SheetListener
e
- getCell() returns the cell and getEntryString() returns the new string in the cell.public void topRowChanged(SheetEvent e)
topRowChanged
in interface SheetListener
e
- getSheetIndex() returns the sheet index and getValue() returns the new top row.
|
Email JSheet Support | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |