|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface to be implemented by any class that can contain an ordered set of Blocks.
| Method Summary | |
void |
addChild(Block b)
|
Block |
getChild(int idx)
Returns the child and the given index. |
int |
getChildCnt()
Returns the number of children held by this BlockParent. |
void |
removeAllChildren()
|
Block |
removeChild(int idx)
Removes and returns the child at the given index. |
void |
sortChildren(java.util.Comparator c)
|
| Method Detail |
public int getChildCnt()
public Block getChild(int idx)
public Block removeChild(int idx)
java.lang.UnsupportedOperationException - - if the implementation is not mutablepublic void addChild(Block b)
java.lang.UnsupportedOperationException - - if the implementation is not mutablepublic void sortChildren(java.util.Comparator c)
java.lang.UnsupportedOperationException - - if the implementation is not mutablepublic void removeAllChildren()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||