|
|||||||||
| Home >> All >> javax >> ide >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.ide.model
Interface Folder

- All Known Implementing Classes:
- Project
- public interface Folder
The Folder interface extends Element by adding
methods for managing child Elements 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 |
canAdd
public boolean canAdd(Element element)
- Other classes can call this method to determine whether the given
Element can be added to the
Folder.
add
public boolean add(Element child)
- Appends a child Element to the end of the
Folder.
add
public boolean add(java.util.Collection children)
- Appends children Element to the end of the
Folder.
canRemove
public boolean canRemove(Element element)
- Other classes can call this method to determine whether the
specified Element can be removed from this
Folder.
remove
public boolean remove(Element child)
- Removes the specified child Element. If the child object
appears more than once, only the first instance is removed.
remove
public boolean remove(java.util.Collection children)
- Removes the specified children Element. If any of the children
appears more than once, only the first instance is removed.
containsChild
public boolean containsChild(Element child)
- Returns
trueif the folder contains the specified child Element; returnsfalseotherwise.
size
public int size()
- Returns the current number of children in the folder.
removeAll
public void removeAll()
- Removes all children from the folder.
|
|||||||||
| Home >> All >> javax >> ide >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC