|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Document
The Document
interface is an attempt
to create common classes and interfaces (the package
de.sciss.app
) which can be shared by
different programmes, such as Meloncillo or FScape,
without having to make adjustments in different places
each time a modification is made. This interface
describes the most prominent methods needed for
a general application document.
Method Summary | |
---|---|
Application |
getApplication()
Returns the application carrying this document. |
java.lang.String |
getName()
|
UndoManager |
getUndoManager()
Returns the undo manager responsible for this document. |
boolean |
isDirty()
Asks whether this document contains unsaved changes or not. |
void |
setDirty(boolean dirty)
Marks this document as having unsaved changes or as being saved. |
Methods inherited from interface de.sciss.util.Disposable |
---|
dispose |
Method Detail |
---|
Application getApplication()
UndoManager getUndoManager()
boolean isDirty()
true
indicates that the
document contains unsaved changes,
false
indicates that the
document was saved or cleared.void setDirty(boolean dirty)
dirty
- true
indicates that the
document contains unsaved changes,
false
indicates that the
document was saved or cleared.java.lang.String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |