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:
- AbstractDerivedLibrary, AbstractLibrary, BaseLayout, ConnectionNode, Connections, DataContainer, DataElement, DataFolder, DefaultContainer, DefaultDirtyable, DefaultDocument, DefaultLibraryList, DefaultNode, DefaultSubDirtyable, JavaClassNode, JavaSourceNode, JLibraryList, JPaths, Preferences, PropertiesContainer, RootGalleryFolder, TextNode, Trigger, Workspaces, XMLDataContainer
- 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.
Copyright © 1997, 2004, Oracle. All rights reserved.