|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.model.DefaultDisplayable oracle.ide.model.DefaultElement oracle.ide.model.DataElement
DataElement
is a complete, default implementation of
the Element
and Dirtyable
interfaces. This is a convenient
starting point for the implementation of data classes which can be integrated with
the IDE framework.
DefaultElement
Constructor Summary | |
DataElement()
Creates a new DataElement instance. |
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. |
Methods inherited from class oracle.ide.model.DefaultElement |
getAttributes, getChildren, getData, mayHaveChildren |
Methods inherited from class oracle.ide.model.DefaultDisplayable |
getIcon, getLongLabel, getShortLabel, getToolTipText, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.ide.model.Displayable |
getIcon, getLongLabel, getShortLabel, getToolTipText, toString |
Constructor Detail |
public DataElement()
DataElement
instance.Subclasses that are designed to operate as a JavaBean must supply a default constructor.
Method Detail |
public boolean isDirty()
Dirtyable
isDirty
in interface Dirtyable
true
if the data in the object has been modified.public void markDirty(boolean dirty)
Dirtyable
markDirty(...)
instead of
setDirty(...)
so that the JavaBeans
Introspector
will not
mistakenly identify "dirty" as a JavaBean property.
markDirty
in interface Dirtyable
dirty
- If true
, sets the object as being
dirty; if false
, sets the object as being up-to-date.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.