oracle.ide.model
Interface Dirtyable
- All Known Subinterfaces:
- Container, DerivedLibrary, Document, JavaNode, Layout, Library, LibraryList, Node, SubDirtyable, TextDocument, WorkEnvironment, WorkEnvironment.Setting, WorkEnvironment.Settings
- All Known Implementing Classes:
- DataElement, DataFolder, DefaultDirtyable
- public interface Dirtyable
Objects that implement the Dirtyable
interface indicate
that they are able to track their own dirty state.
Method Summary |
boolean |
isDirty()
True if the data in the object has been modified. |
void |
markDirty(boolean dirty)
Marks the data with the specified dirty state. |
isDirty
public boolean isDirty()
- True if the data in the object has been modified.
- Returns:
true
if the data in the object has been modified.
markDirty
public void markDirty(boolean dirty)
- Marks the data with the specified dirty state. This
method is called
markDirty(...)
instead of
setDirty(...)
so that the JavaBeans
Introspector
will not
mistakenly identify "dirty" as a JavaBean property.
- Parameters:
dirty
- If true
, sets the object as being
dirty; if false
, sets the object as being up-to-date.