public interface InternalChildrenList
Modifier and Type | Method and Description |
---|---|
void |
addChild(Object child)
Adds a child to the list.
|
<T> void |
addChildren(Collection<T> children)
Adds a list of children to the list.
|
<T> void |
addChildren(T... children) |
void |
addChildWithoutRefresh(Object child) |
Object |
getChild(int index)
Returns the object with this index from the list.
|
Object[] |
getChildren()
Returns the children of this list.
|
Object |
getParent()
Return the parent element of this list.
|
boolean |
hasChildren()
Whether this list has children.
|
boolean |
isComplete()
Whether this list is complete or not.
|
boolean |
isSlow()
Whether this list is slow or not.
|
void |
setComplete() |
int |
size()
The size of the list.
|
int size()
boolean hasChildren()
Object[] getChildren()
Object getChild(int index)
index
- the index of the element to getObject getParent()
boolean isSlow()
boolean isComplete()
void addChildWithoutRefresh(Object child)
void addChild(Object child)
child
- the child<T> void addChildren(T... children)
<T> void addChildren(Collection<T> children)
children
- a collection of new childrenvoid setComplete()
Copyright © 2019. All rights reserved.