Lines Matching refs:parent
228 TreeNode parent = n.getParent(); in setNodeVisible() local
232 int index = getIndexOfChild(parent, n); in setNodeVisible()
233 nodeInserted(parent, n, index); in setNodeVisible()
236 int index = getIndexOfChild(parent, n); in setNodeVisible()
238 nodeRemoved(parent, n, index); in setNodeVisible()
267 public Object getChild(Object parent, int index) { in getChild() argument
268 if(parent instanceof TreeNode) { in getChild()
269 TreeNode p = (TreeNode) parent; in getChild()
284 public int getChildCount(Object parent) { in getChildCount() argument
286 if(parent instanceof TreeNode) { in getChildCount()
287 TreeNode p = (TreeNode) parent; in getChildCount()
299 public int getIndexOfChild(Object parent, Object child) { in getIndexOfChild() argument
301 if(parent instanceof TreeNode && child instanceof TreeNode) { in getIndexOfChild()
302 TreeNode p = (TreeNode)parent; in getIndexOfChild()