Lines Matching defs:ancestor
75 protected void fireAncestorAdded(JComponent source, int id, Container ancestor, Container ancestorParent) {
84 new AncestorEvent(source, id, ancestor, ancestorParent);
97 protected void fireAncestorRemoved(JComponent source, int id, Container ancestor, Container ancestorParent) {
106 new AncestorEvent(source, id, ancestor, ancestorParent);
118 protected void fireAncestorMoved(JComponent source, int id, Container ancestor, Container ancestorParent) {
127 new AncestorEvent(source, id, ancestor, ancestorParent);
137 void addListeners(Component ancestor, boolean addToFirst) {
141 for (a = ancestor;
144 if (addToFirst || a != ancestor) {
163 void removeListeners(Component ancestor) {
165 for (a = ancestor; a != null; a = a.getParent()) {
187 Component ancestor = e.getComponent();
189 if (ancestor == firstInvisibleAncestor) {
190 addListeners(ancestor, false);
193 (Container)ancestor, ancestor.getParent());
199 Component ancestor = e.getComponent();
202 if ( !(ancestor instanceof Window) ) {
203 removeListeners(ancestor.getParent());
205 firstInvisibleAncestor = ancestor;
208 (Container)ancestor, ancestor.getParent());
215 if (s!=null && (s.equals("parent") || s.equals("ancestor"))) {