Modifier and Type | Method and Description |
---|---|
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) |
int getChildCnt()
Block getChild(int idx)
Block removeChild(int idx)
java.lang.UnsupportedOperationException
- - if the implementation is not mutablevoid addChild(Block b)
java.lang.UnsupportedOperationException
- - if the implementation is not mutablevoid sortChildren(java.util.Comparator c)
java.lang.UnsupportedOperationException
- - if the implementation is not mutablevoid removeAllChildren()