Searched refs:child (Results 101 - 125 of 300) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DDefaultStyledDocument.java235 * element is the sole child, its parent element is removed as well,
369 * resolve from bottom up so an attribute specified in a child
589 * A paragraph consists of at least one child Element, which is usually
1455 Element child = elem.getElement(index);
1457 elem = child;
1461 Element child = ec.parent.getElement(ec.index);
1463 child.getAttributes(), getLength(),
1464 child.getEndOffset()));
1465 ec.removed.addElement(child);
1536 Element child
[all...]
H A DElementIterator.java79 * as well as a child index. If the
85 * represents the "index"th child of the element
219 // return the child at location "index".
255 Element child = elem.getElement(index+1);
256 if (child.isLeaf()) {
258 the child index of the item on top of the
262 /* In this case we need to push the child(branch)
265 elementStack.push(new StackItem(child));
267 return child;
273 /* Increment the child inde
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DTextImpl.java196 // boolean to indicate whether node is a child of an entity reference
244 // boolean to indicate whether node is a child of an entity reference
385 * EntityReference node, get it's last child. If the last child was a Text
388 * child was neither Text nor CDATASection nor a replaceable EntityReference
389 * Node, then return true. If the last child was a Text or CDATASection node
420 //reference nodes or the last child should be neither of these
431 //If the EntityReference child contains
437 //If the last child was replaceable and others are not
470 * EntityReference node, get it's last child
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthSplitPaneDivider.java87 Component child = getComponent(counter);
88 Rectangle childBounds = child.getBounds();
91 child.paint(childG);
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DTreePath.java319 * plus <code>child</code>. <code>child</code> is the last element
322 * @param child the path element to add
323 * @throws NullPointerException if {@code child} is {@code null}
325 public TreePath pathByAddingChild(Object child) { argument
326 if(child == null)
327 throw new NullPointerException("Null child not allowed");
329 return new TreePath(this, child);
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/
H A DDOMSignatureProperties.java102 Node child = nodes.item(i);
103 if (child.getNodeType() == Node.ELEMENT_NODE) {
104 properties.add(new DOMSignatureProperty((Element) child));
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWChoicePeer.java182 Accessible child = getAccessibleContext().getAccessibleChild(i);
183 if (child instanceof JPopupMenu) {
184 return (JPopupMenu) child;
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DUnsupportedElement.java90 SyntaxTreeNode child = (SyntaxTreeNode)children.elementAt(i);
91 if (child instanceof Fallback) {
92 Fallback fallback = (Fallback)child;
98 _fallbacks.addElement(child);
139 // If the unsupported element does not have any fallback child, then
H A DForEach.java102 final Object child = children.nextElement();
103 if (child instanceof Sort) {
104 sortObjects.addElement(child);
190 final Object child = getContents().elementAt(i);
191 if (child instanceof Variable) {
192 Variable var = (Variable)child;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/tree/
H A DEnumTreeNodeAdapter.java58 public int getIndexOfChild(SimpleTreeNode child) { argument
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A Djavax_swing_JTree.java75 public int getIndexOfChild(Object parent, Object child) { argument
/openjdk7/jdk/test/java/security/cert/PolicyNode/
H A DGetPolicyQualifiers.java62 PolicyNode child = (PolicyNode) children.next();
63 Set policyQualifiers = child.getPolicyQualifiers();
/openjdk7/jdk/test/sun/jvmstat/testlibrary/
H A Dutils.sh129 # children of ${kill_pid} (should be only one child) and kill them.
134 for child in ${children} ; do
135 kill_proc_common ${child}
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/daemon/
H A DSnmpMibTree.java225 TreeNode child = retrieveChild(oid, cursor);
226 if (child == null) {
227 // Create a child and register it !
230 child= new TreeNode(theValue, agent, this);
231 children.addElement(child);
241 child.setAgent(agent);
244 child.registerNode(oid, cursor+1, agent);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/
H A DArrayERProperty.java111 ChildLoader child = children.get(ea.uri,ea.local);
112 if (child == null) {
113 child = children.get(CATCH_ALL);
115 if (child == null) {
119 state.loader = child.loader;
120 state.receiver = child.receiver;
188 * {@link Receiver} that puts the child object into the {@link Scope} object.
/openjdk7/jdk/src/share/demo/jfc/Metalworks/
H A DMetalworksPrefs.java230 for (Component child : children) {
231 compSize = child.getPreferredSize();
232 child.setSize(compSize.width, compSize.height);
233 child.setLocation(xInset + insets.left, height);
246 for (Component child : children) {
247 compSize = child.getPreferredSize();
/openjdk7/jdk/src/share/classes/javax/imageio/metadata/
H A DIIOMetadataNode.java255 * The number of child nodes.
260 * The first (leftmost) child node of this node, or
266 * The last (rightmost) child node of this node, or
273 * <code>null</code> if this node is its parent's last child node.
279 * <code>null</code> if this node is its parent's first child node.
384 * Returns the first child of this node, or <code>null</code> if
387 * @return the first child, as a <code>Node</code>, or
395 * Returns the last child of this node, or <code>null</code> if
398 * @return the last child, as a <code>Node</code>, or
450 * child nod
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DPriorityQueue.java676 int child = (k << 1) + 1; // assume left child is least
677 Object c = queue[child];
678 int right = child + 1;
681 c = queue[child = right];
685 k = child;
693 int child = (k << 1) + 1;
694 Object c = queue[child];
695 int right = child + 1;
698 c = queue[child
[all...]
/openjdk7/jdk/src/share/demo/jfc/Notepad/
H A DElementTreePanel.java454 Element child = rootElement.getElement(rootElement.getElementIndex(
458 path = path.pathByAddingChild(child);
459 while (!child.isLeaf()) {
460 child = child.getElement(child.getElementIndex(position));
461 path = path.pathByAddingChild(child);
474 * Implying that to display all the root elements as a child of another
491 * Returns the child of <I>parent</I> at index <I>index</I> in
492 * the parent's child arra
548 getIndexOfChild(Object parent, Object child) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/traversers/
H A DXSDGroupTraverser.java84 Element child = DOMUtil.getFirstChildElement(elmNode);
85 if (child != null && DOMUtil.getLocalName(child).equals(SchemaSymbols.ELT_ANNOTATION)) {
86 annotation = traverseAnnotationDecl(child, attrValues, false, schemaDoc);
87 child = DOMUtil.getNextSiblingElement(child);
96 if (child != null) {
163 // must have at least one child
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/
H A DModelNode.java70 * Method checks the PSM state machine if the creation of new child of given type is plausible for a node element
319 for (ModelNode child : children) {
320 child.updateParentModelReference(model);
409 * Appends the specified child node to the end of the children list of this node and sets it's parent to reference
412 * @param child node to be appended to the children list of this node.
416 * @throws IllegalArgumentException if child has a parent node set already to point to some node
418 private boolean addChild(final ModelNode child) { argument
419 children.add(child);
420 child.parentNode = this;
438 * Returns the number of child polic
[all...]
/openjdk7/jdk/src/macosx/native/java/util/
H A DMacOSXPreferencesFile.m381 CFDictionaryRef child;
390 child = CFDictionaryGetValue(result, part);
392 if (child && CFGetTypeID(child) == CFDictionaryGetTypeID()) {
394 result = child;
493 CFMutableDictionaryRef child;
502 child = (CFMutableDictionaryRef)CFDictionaryGetValue(result, part);
503 if (child && CFGetTypeID(child) == CFDictionaryGetTypeID()) {
505 result = child;
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DURI.java1987 private static String resolvePath(String base, String child, argument
1991 int cn = child.length();
2004 sb.append(child);
2018 private static URI resolve(URI base, URI child) { argument
2019 // check if child if opaque first so that NPE is thrown
2020 // if child is null.
2021 if (child.isOpaque() || base.isOpaque())
2022 return child;
2025 if ((child.scheme == null) && (child
2109 relativize(URI base, URI child) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/patterns/
H A DStepPattern.java439 for (int child = traverser.first(context); DTM.NULL != child;
440 child = traverser.next(context, child))
444 xctxt.pushCurrentNode(child);
446 if (NodeTest.SCORE_NONE != super.execute(xctxt, child))
538 for (int child = traverser.first(parent); DTM.NULL != child;
539 child = traverser.next(parent, child))
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/
H A DInternalizer.java192 // look for child <JAXWS:bindings> and process them recursively
194 for (Element child : children)
195 if("bindings".equals(child.getLocalName())) {
196 internalize(child, targetNodes.item(i));
202 // look for child <JAXWS:bindings> and process them recursively
205 for (Element child : children)
206 internalize(child, target);
311 // look for child <JAXWS:bindings> and process them recursively
313 for (Element child : children)
314 buildTargetNodeMap(child, targe
[all...]

Completed in 378 milliseconds

1234567891011>>