Lines Matching refs:root

65         Container root = (aContainer.isFocusCycleRoot())
69 // Support for mixed 1.4/pre-1.4 focus APIs. If a particular root's
71 if (root != null) {
72 FocusTraversalPolicy policy = root.getFocusTraversalPolicy();
74 return policy.getComponentAfter(root, aComponent);
77 comparator.setComponentOrientation(root.getComponentOrientation());
78 return layoutPolicy.getComponentAfter(root, aComponent);
87 Container root = (aContainer.isFocusCycleRoot())
91 // Support for mixed 1.4/pre-1.4 focus APIs. If a particular root's
93 if (root != null) {
94 FocusTraversalPolicy policy = root.getFocusTraversalPolicy();
96 return policy.getComponentBefore(root, aComponent);
99 comparator.setComponentOrientation(root.getComponentOrientation());
100 return layoutPolicy.getComponentBefore(root, aComponent);
107 Container root = (aContainer.isFocusCycleRoot())
111 // Support for mixed 1.4/pre-1.4 focus APIs. If a particular root's
113 if (root != null) {
114 FocusTraversalPolicy policy = root.getFocusTraversalPolicy();
116 return policy.getFirstComponent(root);
119 comparator.setComponentOrientation(root.getComponentOrientation());
120 return layoutPolicy.getFirstComponent(root);
127 Container root = (aContainer.isFocusCycleRoot())
131 // Support for mixed 1.4/pre-1.4 focus APIs. If a particular root's
133 if (root != null) {
134 FocusTraversalPolicy policy = root.getFocusTraversalPolicy();
136 return policy.getLastComponent(root);
139 comparator.setComponentOrientation(root.getComponentOrientation());
140 return layoutPolicy.getLastComponent(root);