Package xal.extension.bricks
Interface ViewNodeContainer
- All Superinterfaces:
BrickListener
interface of nodes which can contain view nodes
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd the views to this nodevoidAdd the views nodes to this nodebooleanDetermine if the brick can add the specified viewbooleanDetermine if the brick can add all of the specified viewsbooleancanAddAllNodes(List<BeanNode<?>> nodes) Determine if the brick can add all of the specified view nodesbooleancanAddNode(BeanNode<?> node) Determine if the brick can add the specified view nodebooleancanAllBeSiblings(List<BeanProxy<?>> beanProxies) Determine if all views can be sibling viewsbooleancanAllNodesBeSiblings(List<BeanNode<?>> nodes) Determine if all views can be sibling viewsbooleancanBeSibling(BeanProxy<?> beanProxy) Determine if the brick can be inserted in this view's parentintGet the tree index offset from the view indexvoidinsertSiblingNodes(List<BeanNode<?>> nodes) Insert the view nodes in this node beginning at the specified indexvoidinsertSiblings(List<BeanProxy<?>> beanProxies) Insert the views in this node beginning at the specified indexvoidinsertViewNode(ViewNode node, int viewIndex) Insert the bean nodes in this node beginning at the specified indexvoidmoveDownNodes(List<BeanNode<?>> nodes) Move the specified nodes downvoidmoveUpNodes(List<BeanNode<?>> nodes) Move the specified nodes upvoidremoveNode(BeanNode<?> node) Remove the view node from this containervoidremoveNodes(List<BeanNode<?>> nodes) Remove the view nodes from this containerMethods inherited from interface xal.extension.bricks.BrickListener
nodesAdded, nodesRemoved, propertyChanged, treeNeedsRefresh
-
Method Details
-
add
Add the views to this node- Parameters:
beanProxies- the views to add to this node
-
insertSiblings
Insert the views in this node beginning at the specified index- Parameters:
beanProxies- the views to add to this node
-
addNodes
Add the views nodes to this node- Parameters:
nodes- the nodes to add to this node
-
getTreeIndexOffsetFromViewIndex
int getTreeIndexOffsetFromViewIndex()Get the tree index offset from the view index- Returns:
- the tree index offset
-
insertViewNode
Insert the bean nodes in this node beginning at the specified index- Parameters:
node- the node to add to this nodeviewIndex- the initial index at which to begin inserting the nodes
-
insertSiblingNodes
Insert the view nodes in this node beginning at the specified index- Parameters:
nodes- the nodes to add to this node
-
moveDownNodes
Move the specified nodes down -
moveUpNodes
Move the specified nodes up -
removeNode
Remove the view node from this container- Parameters:
node- the node to remove
-
removeNodes
Remove the view nodes from this container- Parameters:
nodes- the nodes to remove
-
canAdd
Determine if the brick can add the specified view- Returns:
- true if it can add the specified view and false if not
-
canBeSibling
Determine if the brick can be inserted in this view's parent- Returns:
- true the view can be a sibling to this view and false if not
-
canAllBeSiblings
Determine if all views can be sibling views- Returns:
- true if all views can be siblings and false if not
-
canAddAll
Determine if the brick can add all of the specified views- Returns:
- true if it can add the specified view and false if not
-
canAddNode
Determine if the brick can add the specified view node- Returns:
- true if it can add the specified view node and false if not
-
canAddAllNodes
Determine if the brick can add all of the specified view nodes- Returns:
- true if it can add all of the specified view nodes and false if not
-
canAllNodesBeSiblings
Determine if all views can be sibling views- Returns:
- true if all views can be siblings and false if not
-