public interface FwkInfoBusItemGroupInterface
Modifier and Type | Method and Description |
---|---|
boolean |
addChild(FwkInfoBusItemGroupInterface child)
Add a child to group.
|
void |
addChildListener(FwkChildListenerInterface l)
Add a child listener.
|
boolean |
containsChild(FwkInfoBusItemGroupInterface child)
Return a boolean whether the given child is already in group.
|
FwkArrayInterface |
getAllChildren()
Returns the children of the group recursively.
|
FwkArrayInterface |
getAllChildren(FwkArrayInterface array)
Returns the children of the group recursively.
|
FwkArrayInterface |
getChildren()
Returns the children of the group.
|
FwkArrayInterface |
getChildren(FwkArrayInterface array)
Returns the children of the group.
|
int |
getChildrenCount(boolean recursive)
Return the total number of children.
|
java.lang.String |
getName()
Get the name of the element.
|
boolean |
hasChildren()
Returns a boolean that indicates whether the group has children.
|
void |
removeAllChildren()
Remove all children from group.
|
void |
removeChild(FwkInfoBusItemGroupInterface child)
Remove a child from group.
|
void |
removeChild(FwkInfoBusItemGroupInterface child,
boolean recursive)
Remove a child recursively from group.
|
void |
removeChildListener(FwkChildListenerInterface l)
Remove a child listener.
|
void |
setChildren(FwkArrayInterface array)
Sets the children of the group.
|
java.lang.String getName()
boolean hasChildren()
int getChildrenCount(boolean recursive)
recursive
- if true the counter will parse the child groups.FwkArrayInterface getChildren()
FwkArrayInterface getChildren(FwkArrayInterface array)
array
- An array to store the children.
If this parameter is null the routine must create it.
The parameter or the newly created array will be returned.FwkArrayInterface getAllChildren()
FwkArrayInterface getAllChildren(FwkArrayInterface array)
array
- An array to store the recursive children.
If this parameter is null the routine must create it.
The parameter or the newly created array will be returned.void setChildren(FwkArrayInterface array)
array
- An array containing the names of children of the group.boolean addChild(FwkInfoBusItemGroupInterface child)
child
- The new child.boolean containsChild(FwkInfoBusItemGroupInterface child)
child
- the child to be checked.void removeChild(FwkInfoBusItemGroupInterface child)
child
- The child to be removed.void removeAllChildren()
void removeChild(FwkInfoBusItemGroupInterface child, boolean recursive)
child
- The new child.void addChildListener(FwkChildListenerInterface l)
l
- The listener to be added.void removeChildListener(FwkChildListenerInterface l)
l
- The listener to be removed.