Searched refs:child (Results 151 - 175 of 300) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/
H A DGroup.java76 public void addChild(Node child) { argument
79 if (node.getNodeName().equalsIgnoreCase(child.getNodeName())) {
80 throw new RuntimeException("duplicate child added");
85 children = child;
87 prev.setNext(child);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/parsers/
H A DAbstractDOMParser.java718 // won't be lost in the case where the child before PI is
1180 Node child = fCurrentNode.getLastChild ();
1181 if (child != null && child.getNodeType () == Node.TEXT_NODE) {
1185 fStringBuilder.append (((TextImpl)child).removeData ());
1187 fStringBuilder.append (((Text)child).getData ());
1188 ((Text)child).setNodeValue (null);
1256 Node child = fCurrentNode.getLastChild ();
1257 if (child != null && child
[all...]
/openjdk7/jdk/src/windows/classes/java/io/
H A DWin32FileSystem.java218 public String resolve(String parent, String child) { argument
220 if (pn == 0) return child;
221 int cn = child.length();
224 String c = child;
230 /* Drop prefix when child is a UNC pathname */
233 /* Drop prefix when child is drive-relative */
249 if (child.charAt(childStart) == slash) {
252 child.getChars(childStart, cn, theChars, parentEnd);
257 child.getChars(childStart, cn, theChars, parentEnd + 1);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DAttrImpl.java49 * attribute types such as NMTOKENS may have a child for each token.)
134 /** This can either be a String or the first child node. */
176 // create a real text node as child if we don't have one yet
202 for (ChildNode child = (ChildNode) value;
203 child != null; child = child.nextSibling) {
204 child.setOwnerDocument(doc);
248 for (Node child = (Node) value; child !
[all...]
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DPriorityBlockingQueue.java388 int child = (k << 1) + 1; // assume left child is least
389 Object c = array[child];
390 int right = child + 1;
393 c = array[child = right];
397 k = child;
409 int child = (k << 1) + 1;
410 Object c = array[child];
411 int right = child + 1;
413 c = array[child
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/bmp/
H A DBMPMetadata.java299 IIOMetadataNode child = new IIOMetadataNode(name);
301 child.setUserObject(object);
302 child.setNodeValue(ImageUtil.convertObjectToString(object));
304 root.appendChild(child);
305 return child;
/openjdk7/jdk/src/share/classes/java/awt/
H A DWindow.java1045 Window child = ownedWindowList.elementAt(i).get();
1046 if ((child != null) && child.showWithParent) {
1047 child.show();
1048 child.showWithParent = false;
1076 Window child = w.ownedWindowList.elementAt(i).get();
1077 if (child != null) {
1078 updateChildFocusableWindowState(child);
1106 Window child = ownedWindowList.elementAt(i).get();
1107 if ((child !
2788 connectOwnedWindow(Window child) argument
[all...]
/openjdk7/jdk/test/java/awt/Focus/NonFocusableWindowTest/
H A DNoEventsTest.java157 Component child = parent.getComponent(compInd);
158 if (child instanceof TestPanel) {
159 TestPanel pan = (TestPanel)child;
170 Component child = parent.getComponent(compInd);
171 if (child instanceof TestPanel) {
172 TestPanel pan = (TestPanel)child;
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/doc-files/
H A DModality.txt64 WM_TRANSIENT_FOR is used to mark one window to be a child of another
66 is shown it temporary becomes a child of all its blocked windows
70 a dialog be a child of several other windows. It is implemented
96 temporarily becomes a child of D1 (WM_TRANSIENT_FOR hint is
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DStylesheet.java328 SyntaxTreeNode child = (SyntaxTreeNode)elements.nextElement();
329 if (child instanceof Include) {
330 Stylesheet included = ((Include)child).getIncludedStylesheet();
420 public void addIncludedStylesheet(Stylesheet child) { argument
424 _includedStylesheets.addElement(child);
549 // method) as its only child, so the Template class has a special
582 SyntaxTreeNode child = (SyntaxTreeNode)contents.elementAt(i);
583 if ((child instanceof VariableBase) ||
584 (child instanceof NamespaceAlias)) {
585 parser.getSymbolTable().setCurrentNode(child);
[all...]
H A DApplyTemplates.java127 final Object child = children.nextElement();
128 if (child instanceof Sort) {
129 sortObjects.addElement(child);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicSpinnerUI.java486 * Recursively updates the enabled state of the child
491 Component child = c.getComponent(counter);
496 if (child.getName() == "Spinner.nextButton" &&
498 child.setEnabled(false);
500 else if (child.getName() == "Spinner.previousButton" &&
502 child.setEnabled(false);
505 child.setEnabled(enabled);
509 child.setEnabled(enabled);
511 if (child instanceof Container) {
512 updateEnabledState((Container)child, enable
[all...]
H A DBasicHTML.java142 View child = view.getView(index);
152 child.getAlignment(View.Y_AXIS));
154 return getBaseline(child, bounds);
452 * @param child the child view
456 public void preferenceChanged(View child, boolean width, boolean height) { argument
496 * it has exactly one child.
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/
H A DXMLUtils.java417 public static void addReturnBeforeChild(Element e, Node child) { argument
420 e.insertBefore(doc.createTextNode("\n"), child);
494 for (Node child = element.getFirstChild(); child!=null;
495 child=child.getNextSibling()) {
497 if (child.getNodeType() != Node.ELEMENT_NODE) {
500 Element childElement = (Element) child;
762 // no child, this node is done.
821 // no child, thi
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaSpinnerUI.java255 final Component child = c.getComponent(counter);
257 child.setEnabled(enabled);
258 if (child instanceof Container) {
259 updateEnabledState((Container)child, enabled);
442 * Requests focus on a child of the spinner if the spinner doesn't
456 final Component child = ftp.getComponentAfter(root, spinner);
458 if (child != null && SwingUtilities.isDescendingFrom(child, spinner)) {
459 child.requestFocus();
H A DScreenMenu.java57 // Array of child hashes used to see if we need to recreate the Menu.
285 final Component child = e.getChild();
286 final MenuItem sm = fItems.get(child);
334 public void setChildVisible(final JMenuItem child, final boolean b) { argument
335 fItems.remove(child);
/openjdk7/jdk/src/macosx/classes/java/util/prefs/
H A DMacOSXPreferences.java37 // true if this node is a child of userRoot or is userRoot
173 // Erase knowledge about a child of this node. Called by removeNodeSpi.
174 private void removeChild(String child) argument
176 file.removeChildFromNode(path, child);
201 // Add to parent's child list here and disallow sync
202 // because parent and child might be in different files.
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCAccessibility.java555 // Note that values >=0 are indexes into the child array
560 // Each child takes up two entries in the array: one for itself and one for its role
611 // each child takes up two entries in the array: itself, and its role
614 final Accessible child = ac.getAccessibleChild(i);
615 if (child == null) continue;
617 final AccessibleContext context = child.getAccessibleContext();
629 // Get the child's unignored children.
630 _addChildren(child, whichChildren, false, childrenAndRoles);
632 childrenAndRoles.add(child);
633 childrenAndRoles.add(getAccessibleRole(child));
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/schemagen/
H A DTree.java239 for (Tree child : children) {
240 child.write(c,false,false);
/openjdk7/jdk/src/share/demo/nio/zipfs/
H A DDemo.java111 // list dir's direct child files/dirs
430 for (Path child : ds)
431 update(fs, child.toString());
446 for (Path child : ds)
447 extract(fs, child.toString());
474 for (Path child : ds) {
476 path + (path.endsWith("/")?"":"/") + child.getFileName());
574 for (Path child : ds)
575 list(child, verbose);
/openjdk7/jdk/test/javax/swing/regtesthelpers/
H A DUtil.java136 for (Component child : ((Container) parent).getComponents()) {
137 Component subComponent = findSubComponent(child, className);
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/
H A DValueGen24.java124 ValueEntry child = v;
125 while (child.isSafe ())
128 ValueEntry parent = (ValueEntry)child.derivedFrom ().elementAt (0);
130 child = parent;
/openjdk7/jdk/src/share/classes/java/io/
H A DFileSystem.java67 * Resolve the child pathname string against the parent.
71 public abstract String resolve(String parent, String child); argument
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DNamespaceSupport2.java125 // a child pointer.
472 private Context2 child = null; field in class:Context2
492 * @returns The child Namespace context object, or null if this
497 return child;
519 parent.child = this; // JJK: Doubly-linked
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DUtilities.java1006 View child = v.getView(childIndex);
1008 retValue = child.getNextVisualPositionFrom(pos, b, childBounds,
1014 child = v.getView(1);
1016 retValue = child.getNextVisualPositionFrom(-1, biasRet[0],
1030 View child = v.getView(childIndex);
1032 retValue = child.getNextVisualPositionFrom(pos, b, childBounds,
1043 child = v.getView(childIndex);
1045 retValue = child.getNextVisualPositionFrom(
1057 ((increment == 1 && child.getEndOffset() == retValue) ||
1059 child
[all...]

Completed in 112 milliseconds

1234567891011>>