|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBufferManager
This interface defines the operations available on a buffer manager.
Method Summary | |
---|---|
void |
close()
Close the current buffer. |
boolean |
hasBeenModified()
Test if the current buffer has been modified. |
void |
next()
Switch to the next buffer. |
void |
open()
Open an empty buffer. |
void |
open(IFile file)
Open the given file in a buffer. |
void |
previous()
Switch to the previous buffer. |
boolean |
save()
Save the file in the current buffer. |
void |
save(IFile file)
Save the current buffer into the given file. |
Methods inherited from interface palmed.io.ISerializable |
---|
marshall, unmarshall |
Method Detail |
---|
void open()
void open(IFile file)
file
- the file to read fromvoid close()
boolean save()
This operation must fail if no file is associated to the buffer.
void save(IFile file)
file
- the file to write intoboolean hasBeenModified()
void previous()
void next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |