Searched refs:ancestor (Results 1 - 23 of 23) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/event/
H A DAncestorEvent.java33 * ancestor in the component hierarchy.
48 * An ancestor-component was added to the hierarchy of
53 * An ancestor-component was removed from the hierarchy
57 /** An ancestor-component changed its position on the screen. */
60 Container ancestor; field in class:AncestorEvent
65 * in an ancestor-component's display-status.
71 * @param ancestor a Container object specifying the ancestor-component
73 * @param ancestorParent a Container object specifying the ancestor's parent
75 public AncestorEvent(JComponent source, int id, Container ancestor, Containe argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DAncestorNotifier.java75 protected void fireAncestorAdded(JComponent source, int id, Container ancestor, Container ancestorParent) { argument
84 new AncestorEvent(source, id, ancestor, ancestorParent);
97 protected void fireAncestorRemoved(JComponent source, int id, Container ancestor, Container ancestorParent) { argument
106 new AncestorEvent(source, id, ancestor, ancestorParent);
118 protected void fireAncestorMoved(JComponent source, int id, Container ancestor, Container ancestorParent) { argument
127 new AncestorEvent(source, id, ancestor, ancestorParent);
137 void addListeners(Component ancestor, boolean addToFirst) { argument
141 for (a = ancestor;
144 if (addToFirst || a != ancestor) {
163 void removeListeners(Component ancestor) { argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWMenuItemPeer.java76 WMenuPeer ancestor = parent;
77 while (ancestor != null && !(ancestor instanceof WMenuBarPeer)) {
78 ancestor = ancestor.parent;
80 if (ancestor instanceof WMenuBarPeer) {
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/
H A DChunkedIntArray.java133 // Check that the node at index "position" is not an ancestor
135 // RETURN -1. If position is NOT an ancestor, return position.
141 // We have to look all the way up the ancestor chain
142 // to make sure we don't have an ancestor.
143 int ancestor = startPos;
144 while(ancestor > 0)
146 // Get the node whose index == ancestor
147 ancestor*=slotsize;
148 int chunkpos = ancestor >> lowbits;
149 int slotpos = ancestor
[all...]
H A DDTMDefaultBase.java1353 // Search back until we find an ancestor or run out.
1356 // Decrement wouldBeAt to find last possible ancestor
1358 int ancestor=_parent(elementNodeIndex);
1363 if (wouldBeAt == 0 && candidate < ancestor) {
1380 while(wouldBeAt>=0 && ancestor>0)
1382 if (candidate==ancestor) {
1383 // Found ancestor in list
1385 } else if (candidate<ancestor) {
1388 ancestor=_parent(ancestor);
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_MToolkit.h31 extern Boolean isAncestor(Window ancestor, Window child);
H A Dawt_MToolkit.c641 /* found peer attached to ancestor of given
1509 isAncestor(Window ancestor, Window child) { argument
1514 while (child != ancestor) {
1523 if (child != ancestor) {
1531 if (parent == ancestor) { retvalue = True; break; }
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DDefaultMutableTreeNode.java157 * <code>newChild</code> must not be null and must not be an ancestor of
167 * ancestor of this node
178 throw new IllegalArgumentException("new child is an ancestor");
419 * Returns true if <code>anotherNode</code> is an ancestor of this node
420 * -- if it is this node, this node's parent, or an ancestor of this
421 * node's parent. (Note that a node is considered an ancestor of itself.)
428 * @param anotherNode node to test as an ancestor of this node
436 TreeNode ancestor = this;
439 if (ancestor == anotherNode) {
442 } while((ancestor
835 pathFromAncestorEnumeration(TreeNode ancestor) argument
1459 PathBetweenNodesEnumeration(TreeNode ancestor, TreeNode descendant) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/
H A DMultipleNodeCounter.java88 final int ancestor = ancestors.at(i);
90 if (matchesCount(ancestor)) {
91 _precSiblings.setStartNode(ancestor);
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFileTreeWalker.java142 // if this directory and ancestor has a file key then we compare
144 for (AncestorDirectory ancestor: ancestors) {
145 Object ancestorKey = ancestor.fileKey();
155 isSameFile = Files.isSameFile(file, ancestor.file());
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ServerCompiler/src/com/sun/hotspot/igv/servercompiler/
H A DServerCompilerScheduler.java339 int ancestor; field in class:ServerCompilerScheduler.BlockIntermediate
392 bi.ancestor = -1;
497 int ancestor = block.ancestor;
498 assert ancestor != -1;
500 BlockIntermediate ancestor_block = blocks.get(ancestor);
501 if (ancestor_block.ancestor != -1) {
502 compress(ancestor, blocks);
513 block.ancestor = ancestor_block.ancestor;
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DNodeImpl.java102 * The node is an ancestor of the reference node.
121 * The two nodes are disconnected, they do not have any common ancestor.
468 * ancestor of this node.
784 // Is the element node "outer" considered an ancestor of "myattr"?
794 // Given the DOM, it should precede its children as an ancestor.
796 // Current assumption: An ENTITY_REFERENCE node is an ancestor of its
820 // Find the ancestor of each node, and the distance each node is from
821 // its ancestor.
822 // During this traversal, look for ancestor/descendent relationships
835 // The other node is an ancestor o
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/transport/
H A DTarget.java131 ClassLoader ancestor)
133 if (ancestor == null) {
142 if (parent == ancestor) {
130 checkLoaderAncestry(ClassLoader child, ClassLoader ancestor) argument
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/
H A DXSComplexTypeDecl.java211 public boolean derivedFromType(XSTypeDefinition ancestor, short derivationMethod) { argument
212 // ancestor is null, retur false
213 if (ancestor == null)
215 // ancestor is anyType, return true
216 if (ancestor == SchemaGrammar.fAnyType)
218 // recursively get base, and compare it with ancestor
220 while (type != ancestor && // compare with ancestor
226 return type == ancestor;
230 // ancestor i
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaMenuPainter.java218 Container ancestor = parent;
219 while (ancestor != null && !(ancestor instanceof JPopupMenu)) ancestor = ancestor.getParent();
221 boolean isEnabled = model.isEnabled() && (ancestor == null || ancestor.isVisible());
H A DAquaRootPaneUI.java242 final Container ancestor = event.getComponent();
243 final Window owningWindow = SwingUtilities.getWindowAncestor(ancestor);
H A DAquaTabbedPaneUI.java816 Container ancestor;
817 while ((ancestor = container.getFocusCycleRootAncestor()) != null) {
818 container = ancestor;
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DAbsolutePathPattern.java128 * If _left is an ancestor pattern, backpatch this pattern's false
132 final AncestorPattern ancestor = (AncestorPattern) _left;
133 _falseList.backPatch(ancestor.getLoopHandle()); // clears list
H A DAncestorPattern.java169 * If _right is an ancestor pattern, backpatch this pattern's false
173 final AncestorPattern ancestor = (AncestorPattern) _right;
174 _falseList.backPatch(ancestor.getLoopHandle()); // clears list
H A DParentPattern.java138 * If _right is an ancestor pattern, backpatch _left false
142 final AncestorPattern ancestor = (AncestorPattern) _right;
143 _left.backPatchFalseList(ancestor.getLoopHandle()); // clears list
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicToolBarUI.java788 Window ancestor = SwingUtilities.getWindowAncestor(toolBar);
789 if (ancestor != null) {
790 visible = ancestor.isVisible();
815 ancestor.addWindowListener(new WindowAdapter() {
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DXSSimpleTypeDecl.java2388 // 1. If every member of {member type definitions} is derived from a common ancestor other than the simple ur-type, then {value} is the same as that ancestor's ordered facet.
2402 // and whether they have the same ancestor as the first one
2556 public boolean derivedFromType(XSTypeDefinition ancestor, short derivation) { argument
2559 // ancestor is null, return false
2560 if (ancestor == null) {
2563 // extract the actual XSTypeDefinition if the given ancestor is a delegate.
2564 while (ancestor instanceof XSSimpleTypeDelegate) {
2565 ancestor = ((XSSimpleTypeDelegate) ancestor)
[all...]
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DX500Name.java1326 * Return lowest common ancestor of this name and other name
1329 * @return X500Name of lowest common ancestor; null if none
1357 RDN[] ancestor = new RDN[i];
1359 ancestor[j] = names[j];
1364 commonAncestor = new X500Name(ancestor);

Completed in 136 milliseconds