|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iisc.jwc.jsheet.BookAdapter
The BookAdapter handles events that occur on a book. 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 | |
BookAdapter()
|
Method Summary | |
void |
activeSheetChanged(BookEvent e)
Invoked when the active sheet is changed. |
void |
bookClosed(BookEvent e)
Invoked when this book is closed on the server while this client is still accessing it. |
void |
bookSaved(BookEvent e)
Invoked when the book is saved on the server. |
void |
clientJoined(BookEvent e)
Invoked when another user first accesses this shared book. |
void |
clientLeft(BookEvent e)
Invoked when another user stops accessing this book. |
void |
sheetInserted(BookEvent e)
Invoked when a new sheet is inserted into the book. |
void |
sheetMoved(BookEvent e)
Invoked when a sheet is moved in the book. |
void |
sheetNameChanged(BookEvent e)
Invoked when a sheet name changes in the book. |
void |
sheetRemoved(BookEvent e)
Invoked when a sheet is removed from the book. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BookAdapter()
Method Detail |
public void activeSheetChanged(BookEvent e)
activeSheetChanged
in interface BookListener
e
- getSheetIndex() returns the index of the new active sheet.public void bookClosed(BookEvent e)
bookClosed
in interface BookListener
e
- the BookEvent, no extra parameters.public void bookSaved(BookEvent e)
bookSaved
in interface BookListener
e
- getName() returns the name of the user that saved the book.public void clientJoined(BookEvent e)
clientJoined
in interface BookListener
e
- getName() returns the user name.public void clientLeft(BookEvent e)
clientLeft
in interface BookListener
e
- getName() returns the user name.public void sheetInserted(BookEvent e)
sheetInserted
in interface BookListener
e
- getName(), getSheetIndex(), and getNameID() returns the new sheet name, new sheet index and net sheet internal ID.public void sheetMoved(BookEvent e)
sheetMoved
in interface BookListener
e
- getFrom() and getTo() return the moved indices of the sheets.public void sheetNameChanged(BookEvent e)
sheetNameChanged
in interface BookListener
e
- getName() and, getSheetIndex() return the new sheet name and the new sheet index.public void sheetRemoved(BookEvent e)
sheetRemoved
in interface BookListener
e
- getSheetIndex() returns the index of the removed sheet.
|
Email JSheet Support | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |