Package xal.extension.bricks
Interface ViewNodeContainer
- All Superinterfaces:
BrickListener
interface of nodes which can contain view nodes
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add the views to this nodevoid
Add the views nodes to this nodeboolean
Determine if the brick can add the specified viewboolean
Determine if the brick can add all of the specified viewsboolean
canAddAllNodes
(List<BeanNode<?>> nodes) Determine if the brick can add all of the specified view nodesboolean
canAddNode
(BeanNode<?> node) Determine if the brick can add the specified view nodeboolean
canAllBeSiblings
(List<BeanProxy<?>> beanProxies) Determine if all views can be sibling viewsboolean
canAllNodesBeSiblings
(List<BeanNode<?>> nodes) Determine if all views can be sibling viewsboolean
canBeSibling
(BeanProxy<?> beanProxy) Determine if the brick can be inserted in this view's parentint
Get the tree index offset from the view indexvoid
insertSiblingNodes
(List<BeanNode<?>> nodes) Insert the view nodes in this node beginning at the specified indexvoid
insertSiblings
(List<BeanProxy<?>> beanProxies) Insert the views in this node beginning at the specified indexvoid
insertViewNode
(ViewNode node, int viewIndex) Insert the bean nodes in this node beginning at the specified indexvoid
moveDownNodes
(List<BeanNode<?>> nodes) Move the specified nodes downvoid
moveUpNodes
(List<BeanNode<?>> nodes) Move the specified nodes upvoid
removeNode
(BeanNode<?> node) Remove the view node from this containervoid
removeNodes
(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
-