public interface ViewNodeContainer extends BrickListener
Modifier and Type | Method and Description |
---|---|
void |
add(java.util.List<BeanProxy<?>> beanProxies)
Add the views to this node
|
void |
addNodes(java.util.List<BeanNode<?>> nodes)
Add the views nodes to this node
|
boolean |
canAdd(BeanProxy<?> beanProxy)
Determine if the brick can add the specified view
|
boolean |
canAddAll(java.util.List<BeanProxy<?>> views)
Determine if the brick can add all of the specified views
|
boolean |
canAddAllNodes(java.util.List<BeanNode<?>> nodes)
Determine if the brick can add all of the specified view nodes
|
boolean |
canAddNode(BeanNode<?> node)
Determine if the brick can add the specified view node
|
boolean |
canAllBeSiblings(java.util.List<BeanProxy<?>> beanProxies)
Determine if all views can be sibling views
|
boolean |
canAllNodesBeSiblings(java.util.List<BeanNode<?>> nodes)
Determine if all views can be sibling views
|
boolean |
canBeSibling(BeanProxy<?> beanProxy)
Determine if the brick can be inserted in this view's parent
|
int |
getTreeIndexOffsetFromViewIndex()
Get the tree index offset from the view index
|
void |
insertSiblingNodes(java.util.List<BeanNode<?>> nodes)
Insert the view nodes in this node beginning at the specified index
|
void |
insertSiblings(java.util.List<BeanProxy<?>> beanProxies)
Insert the views in this node beginning at the specified index
|
void |
insertViewNode(ViewNode node,
int viewIndex)
Insert the bean nodes in this node beginning at the specified index
|
void |
moveDownNodes(java.util.List<BeanNode<?>> nodes)
Move the specified nodes down
|
void |
moveUpNodes(java.util.List<BeanNode<?>> nodes)
Move the specified nodes up
|
void |
removeNode(BeanNode<?> node)
Remove the view node from this container
|
void |
removeNodes(java.util.List<BeanNode<?>> nodes)
Remove the view nodes from this container
|
nodesAdded, nodesRemoved, propertyChanged, treeNeedsRefresh
void add(java.util.List<BeanProxy<?>> beanProxies)
beanProxies
- the views to add to this nodevoid insertSiblings(java.util.List<BeanProxy<?>> beanProxies)
beanProxies
- the views to add to this nodevoid addNodes(java.util.List<BeanNode<?>> nodes)
nodes
- the nodes to add to this nodeint getTreeIndexOffsetFromViewIndex()
void insertViewNode(ViewNode node, int viewIndex)
node
- the node to add to this nodeviewIndex
- the initial index at which to begin inserting the nodesvoid insertSiblingNodes(java.util.List<BeanNode<?>> nodes)
nodes
- the nodes to add to this nodevoid moveDownNodes(java.util.List<BeanNode<?>> nodes)
void moveUpNodes(java.util.List<BeanNode<?>> nodes)
void removeNode(BeanNode<?> node)
node
- the node to removevoid removeNodes(java.util.List<BeanNode<?>> nodes)
nodes
- the nodes to removeboolean canAdd(BeanProxy<?> beanProxy)
boolean canBeSibling(BeanProxy<?> beanProxy)
boolean canAllBeSiblings(java.util.List<BeanProxy<?>> beanProxies)
boolean canAddAll(java.util.List<BeanProxy<?>> views)
boolean canAddNode(BeanNode<?> node)
boolean canAddAllNodes(java.util.List<BeanNode<?>> nodes)
boolean canAllNodesBeSiblings(java.util.List<BeanNode<?>> nodes)