Lines Matching refs:xNode
151 UnoTreeListEntry( const Reference< XTreeNode >& xNode, TreeControlPeer* pPeer );
216 UnoTreeListEntry* TreeControlPeer::getEntry( const Reference< XTreeNode >& xNode, bool bThrow /* = … in getEntry() argument
220 TreeNodeMap::iterator aIter( mpTreeNodeMap->find( xNode ) ); in getEntry()
258 UnoTreeListEntry* TreeControlPeer::createEntry( const Reference< XTreeNode >& xNode, UnoTreeListEnt… in createEntry() argument
264 pEntry = new UnoTreeListEntry( xNode, this ); in createEntry()
271 if( xNode->getNodeGraphicURL().getLength() ) in createEntry()
273 pUnoItem->SetGraphicURL( xNode->getNodeGraphicURL() ); in createEntry()
275 loadImage( xNode->getNodeGraphicURL(), aNodeImage ); in createEntry()
374 void TreeControlPeer::onRequestChildNodes( const Reference< XTreeNode >& xNode ) in onRequestChildNodes() argument
379 TreeExpansionEvent aEvent( xSource, xNode ); in onRequestChildNodes()
389 bool TreeControlPeer::onExpanding( const Reference< XTreeNode >& xNode, bool bExpanding ) in onExpanding() argument
394 TreeExpansionEvent aEvent( xSource, xNode ); in onExpanding()
413 void TreeControlPeer::onExpanded( const Reference< XTreeNode >& xNode, bool bExpanding ) in onExpanded() argument
418 TreeExpansionEvent aEvent( xSource, xNode ); in onExpanded()
461 void TreeControlPeer::addNode( UnoTreeListBoxImpl& rTree, const Reference< XTreeNode >& xNode, UnoT… in addNode() argument
463 if( xNode.is() ) in addNode()
465 UnoTreeListEntry* pEntry = createEntry( xNode, pParentEntry, LIST_APPEND ); in addNode()
466 const sal_Int32 nChildCount = xNode->getChildCount(); in addNode()
468 addNode( rTree, xNode->getChildAt( nChild ), pEntry ); in addNode()
801 sal_Bool SAL_CALL TreeControlPeer::isNodeExpanded( const Reference< XTreeNode >& xNode ) throw (Run… in isNodeExpanded() argument
806 UnoTreeListEntry* pEntry = getEntry( xNode ); in isNodeExpanded()
812 sal_Bool SAL_CALL TreeControlPeer::isNodeCollapsed( const Reference< XTreeNode >& xNode ) throw (Ru… in isNodeCollapsed() argument
815 return !isNodeExpanded( xNode ); in isNodeCollapsed()
820 void SAL_CALL TreeControlPeer::makeNodeVisible( const Reference< XTreeNode >& xNode ) throw (Runtim… in makeNodeVisible() argument
825 UnoTreeListEntry* pEntry = getEntry( xNode ); in makeNodeVisible()
832 sal_Bool SAL_CALL TreeControlPeer::isNodeVisible( const Reference< XTreeNode >& xNode ) throw (Runt… in isNodeVisible() argument
837 UnoTreeListEntry* pEntry = getEntry( xNode ); in isNodeVisible()
843 void SAL_CALL TreeControlPeer::expandNode( const Reference< XTreeNode >& xNode ) throw (RuntimeExce… in expandNode() argument
848 UnoTreeListEntry* pEntry = getEntry( xNode ); in expandNode()
855 void SAL_CALL TreeControlPeer::collapseNode( const Reference< XTreeNode >& xNode ) throw (RuntimeEx… in collapseNode() argument
860 UnoTreeListEntry* pEntry = getEntry( xNode ); in collapseNode()
887 Reference< XTreeNode > xNode; in getNodeForLocation() local
892 xNode = pEntry->mxNode; in getNodeForLocation()
894 return xNode; in getNodeForLocation()
905 Reference< XTreeNode > xNode; in getClosestNodeForLocation() local
910 xNode = pEntry->mxNode; in getClosestNodeForLocation()
912 return xNode; in getClosestNodeForLocation()
968 void SAL_CALL TreeControlPeer::startEditingAtNode( const Reference< XTreeNode >& xNode ) throw (Ill… in startEditingAtNode() argument
973 UnoTreeListEntry* pEntry = getEntry( xNode ); in startEditingAtNode()
1083 Reference< XTreeNode > xNode( rEvent.ParentNode ); in updateTree() local
1084 if( !xNode.is() && Nodes.getLength() ) in updateTree()
1086 xNode = Nodes[0]; in updateTree()
1089 if( xNode.is() ) in updateTree()
1090 updateNode( rTree, xNode, bRecursive ); in updateTree()
1093 void TreeControlPeer::updateNode( UnoTreeListBoxImpl& rTree, const Reference< XTreeNode >& xNode, b… in updateNode() argument
1095 if( xNode.is() ) in updateNode()
1097 UnoTreeListEntry* pNodeEntry = getEntry( xNode, false ); in updateNode()
1101 Reference< XTreeNode > xParentNode( xNode->getParent() ); in updateNode()
1108 nChild = xParentNode->getIndex( xNode ); in updateNode()
1111 pNodeEntry = createEntry( xNode, pParentEntry, nChild ); in updateNode()
1115 updateChildNodes( rTree, xNode, pNodeEntry ); in updateNode()
1128 Reference< XTreeNode > xNode( xParentNode->getChildAt( nChild ) ); in updateChildNodes() local
1129 if( !pCurrentChild || ( pCurrentChild->mxNode != xNode ) ) in updateChildNodes()
1131 UnoTreeListEntry* pNodeEntry = getEntry( xNode, false ); in updateChildNodes()
1135 pCurrentChild = createEntry( xNode, pParentEntry, nChild ); in updateChildNodes()
1746 UnoTreeListEntry::UnoTreeListEntry( const Reference< XTreeNode >& xNode, TreeControlPeer* pPeer ) in UnoTreeListEntry() argument
1748 , mxNode( xNode ) in UnoTreeListEntry()