|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BlockParent
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 |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |