|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Folder
The Folder
interface extends Element
by adding methods for managing child Element
s contained by the Folder
.
Method Summary | |
---|---|
boolean |
add(java.util.Collection children) Appends children Element to the end of the Folder . |
boolean |
add(Element child) Appends a child Element to the end of the Folder . |
boolean |
canAdd(Element element) Other classes can call this method to determine whether the given Element can be added to the Folder . |
boolean |
canRemove(Element element) Other classes can call this method to determine whether the specified Element can be removed from this Folder . |
boolean |
containsChild(Element child) Returns true if the folder contains the specified child Element ; returns false otherwise. |
boolean |
remove(java.util.Collection children) Removes the specified children Element . |
boolean |
remove(Element child) Removes the specified child Element . |
void |
removeAll() Removes all children from the folder. |
int |
size() Returns the current number of children in the folder. |
Method Detail |
---|
boolean canAdd(Element element)
Element
can be added to the Folder
.element
- the Element
that is about to be added to this Folder
.true
if the specified Element
can be added to this Folder
; false
if the Element
cannot be added.boolean add(Element child)
Element
to the end of the Folder
.boolean add(java.util.Collection children)
Element
to the end of the Folder
.boolean canRemove(Element element)
Element
can be removed from this Folder
.element
- the Element
that is about to be removed from this Folder
.true
if the specified Element
can be removed from this Folder
; false
if the Element
cannot be removed.boolean remove(Element child)
Element
. If the child object appears more than once, only the first instance is removed.child
- The child object to remove.boolean remove(java.util.Collection children)
Element
. If any of the children appears more than once, only the first instance is removed.children
- The children to remove.boolean containsChild(Element child)
true
if the folder contains the specified child Element
; returns false
otherwise.int size()
void removeAll()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |