|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines an interface for objects that are notified when DocumentBuffers have changed.
DocumentBuffer
Method Summary | |
void |
bufferSaved(DocumentBuffer source)
Called whenever the buffer is saved. |
void |
nameChanged(DocumentBuffer source,
String newName)
Called whenever the buffers name has changed |
void |
statusChanged(DocumentBuffer source,
int statusType,
boolean oldStatus)
Called whenever a status for the buffer has changed such as read-only status or dirty status. |
Method Detail |
public void nameChanged(DocumentBuffer source, String newName)
source
- the source DocumentBuffer whose name has changednewName
- the new name of the bufferpublic void bufferSaved(DocumentBuffer source)
source
- source buffer that was savedpublic void statusChanged(DocumentBuffer source, int statusType, boolean oldStatus)
DocumentBuffer.getStatus(int)
method.
source
- the source documentstatusType
- the status type that changedoldStatus
- the old status
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |