oracle.ide.model
Interface Container
- All Superinterfaces:
- Category, Data, Dirtyable, Displayable, Document, Element, Folder, LazyLoadable, Locatable, Node, Subject
- All Known Subinterfaces:
- WorkEnvironment
- All Known Implementing Classes:
- DataContainer, DefaultContainer, PropertiesContainer, XMLDataContainer
- public interface Container
- extends Node, Folder
The Container interface specifies the protocol between
the IDE and objects which can contain other Nodes, including
other Containers.
- See Also:
Node,
Folder
|
Method Summary |
boolean |
add(Element element,
boolean notify)
This is a variant of the Folder.add(Element) method
that accepts an additional flag that indicates whether or not
notifications of the change should be sent to registered observers. |
boolean |
remove(Element element,
boolean notify)
This is a variant of the Folder.remove(Element) method
that accepts an additional flag that indiciates whether or not
notifications of the change should be sent to registered observers. |
void |
removeAll(boolean notify)
Removes all elements in the Container. |
| Methods inherited from interface oracle.ide.model.Data |
getData |
add
public boolean add(Element element,
boolean notify)
- This is a variant of the
Folder.add(Element) method
that accepts an additional flag that indicates whether or not
notifications of the change should be sent to registered observers.
- Parameters:
element - The Element to be added to this
Container.notify - If true, any observers are notified
of the change. If false, no notification is sent.
remove
public boolean remove(Element element,
boolean notify)
- This is a variant of the
Folder.remove(Element) method
that accepts an additional flag that indiciates whether or not
notifications of the change should be sent to registered observers.
- Parameters:
element - The Element to be removed from this
Container.notify - If true, any observers are notified
of the change. If false, no notification is sent.
removeAll
public void removeAll(boolean notify)
- Removes all elements in the
Container. The
notify flag indicates whether observers should be
notified of the change.
- Parameters:
notify - If true, any observers are notified
of the change. If false, no notification is sent.
Copyright ©1997, 2003, Oracle. All rights reserved.