Lines Matching refs:container

68  * A generic Abstract Window Toolkit(AWT) container object is a component
71 * Components added to a container are tracked in a list. The order
73 * within the container. If no index is specified when adding a
74 * component to a container, it will be added to the end of the list
99 * The components in this container.
106 * Layout manager for this container.
114 * Event router for lightweight components. If this container
203 * Number of HW or LW components in this container (including
213 * The number of components in this container.
216 * The components in this container.
218 * Layout manager for this container.
220 * Event router for lightweight components. If this container
310 * Gets the nth component in this container.
315 * @return the n<sup>th</sup> component in this container.
332 * Gets all the components in this container.
336 * @return an array of all the components in this container.
364 * Determines the insets of this container, which indicate the size
365 * of the container's border.
369 * @return the insets of this container.
393 * Appends the specified component to the end of this container.
397 * invalidates the component hierarchy. If the container has already been
415 * Adds the specified component to this container.
422 * invalidates the component hierarchy. If the container has already been
436 * Adds the specified component to this container at the given
441 * invalidates the component hierarchy. If the container has already been
472 throw new IllegalArgumentException("adding container's parent to itself");
483 throw new IllegalArgumentException("adding a window to a container");
488 * Checks that the component comp can be added to this container
489 * Checks : index in bounds of container's size,
490 * comp is not one of this container's parents,
492 * Comp and container must be on the same GraphicsDevice.
493 * if comp is container, all sub-components must be on
518 throw new IllegalArgumentException("component and container should be in the same top-level window");
526 * Removes component comp from this container without making unneccessary changes
589 * Checks whether this container can contain component which is focus owner.
590 * Verifies that container is enable and showing, and if it is focus cycle root
617 * Checks whether or not this container has heavyweight children.
619 * @return true if there is at least one heavyweight children in a container, false otherwise
628 * Checks whether or not this container has lightweight children.
630 * @return true if there is at least one lightweight children in a container, false otherwise
639 * Returns closest heavyweight component to this container. If this container is heavyweight
655 * be required. For example, if new container and old containers are the same we don't need to
681 // If this point is reached, then the comp is either a HW or a LW container with HW descendants.
690 // into another native container w/o destroying the peers. Actually such an operation
702 * the container. The z-order determines the order that components
708 * If the component is a child of some other container, it is
709 * removed from that container before being added to this container.
713 * removing it from its previous container unless necessary and when
725 * heavyweight components from one container into another without
731 * @param index the position in the container's list to
737 * container's parents
742 * a container
743 * @exception IllegalArgumentException if adding a container to itself
745 * to a container
790 // If components is lightweight check if it is container
791 // If it is container it might contain heavyweight children we need to reparent
803 * Reparents child component peer to this container peer.
813 // If component is lightweight container we need to reparent all its explicit heavyweight children
824 * Adds component to this container. Tries to minimize side effects of this adding -
857 } else { // Both container and child have peers, it means child peer should be reparented.
862 // Native container changed - need to reparent native widgets
895 // If component is focus owner or parent container of focus owner check that after reparenting
896 // focus owner moved out if new container prohibit this kind of focus owner.
917 * Returns the z-order index of the component inside the container.
925 * or doesn't belong to the container
934 // Quick check - container should be immediate parent of the component
943 * Adds the specified component to the end of this container.
945 * this container's layout using the specified constraints object.
949 * invalidates the component hierarchy. If the container has already been
970 * Adds the specified component to this container with the specified
972 * manager to add the component to the this container's layout using
977 * invalidates the component hierarchy. If the container has already been
984 * @param index the position in the container's list at which to insert
1002 * Adds the specified component to this container at the specified
1004 * the component to this container's layout using the specified
1026 * If the component is not an ancestor of this container and has a non-null
1028 * container.
1031 * every add request to a container as all other add methods defer
1040 * invalidates the component hierarchy. If the container has already been
1047 * @param index the position in the container's list at which to
1051 * if {@code comp} is a child of this container, the valid
1053 * not a child of this container, the valid range is
1057 * this container
1058 * @exception IllegalArgumentException if adding a window to a container
1071 * comp cannot be one of this container's parents,
1073 * comp and container must be on the same GraphicsDevice.
1074 * if comp is container, all sub-components must be on
1172 * from this container.
1174 * component from this container's layout via the
1178 * invalidates the component hierarchy. If the container has already been
1235 * Removes the specified component from this container.
1237 * component from this container's layout via the
1241 * invalidates the component hierarchy. If the container has already been
1264 * Removes all the components from this container.
1266 * components from this container's layout via the
1270 * invalidates the component hierarchy. If the container has already been
1458 * Gets the layout manager for this container.
1467 * Sets the layout manager for this container.
1483 * Causes this container to lay out its components. Most programs
1508 * Indicates if this container is a <i>validate root</i>.
1522 * calling the {@code validate()} method on the top-level container (such
1529 * @return whether this container is a validate root
1548 * Invalidates the parent of the container unless the container
1559 * Invalidates the container.
1561 * If the {@code LayoutManager} installed on this container is an instance
1566 * Afterwards this method marks this container invalid, and invalidates its
1584 * Validates this container and all of its subcomponents.
1586 * Validating a container means laying out its subcomponents.
1588 * adding a component to the container, invalidate the container
1589 * automatically. Note that the ancestors of the container may be
1593 * container of the hierarchy.
1595 * Validating the container may be a quite time-consuming operation. For
1598 * adding all the children to the container.
1673 * Recursively descends the container tree and recomputes the
1710 * Recursively descends the container tree and invalidates all
1729 * Sets the font of this container.
1734 * @param f The font to become this container's font.
1752 * Returns the preferred size of this container. If the preferred size has
1765 * the preferred size of this container.
1803 * Returns the minimum size of this container. If the minimum size has
1816 * the minimum size of this container.
1855 * Returns the maximum size of this container. If the maximum size has
1869 * the maximum size of this container.
1941 * Paints the container. This forwards the paint to any lightweight
1942 * components that are children of this container. If this method is
1961 // The container is showing on screen and
1973 * Updates the container. This forwards the update to any lightweight
1974 * components that are children of this container. If this method is
1993 * Prints the container. This forwards the print to any lightweight
1994 * components that are children of this container. If this method is
2028 * Paints each of the components in this container.
2064 * Prints each of the components in this container.
2100 * Adds the specified container listener to receive container events
2101 * from this container.
2106 * @param l the container listener
2120 * Removes the specified container listener so it no longer receives
2121 * container events from this container.
2126 * @param l the container listener
2139 * Returns an array of all the container listeners
2140 * registered on this container.
2142 * @return all of this container's <code>ContainerListener</code>s
2143 * or an empty array if no container
2167 * for its container listeners with the following code:
2177 * <code><em>Foo</em>Listener</code>s on this container,
2214 * Processes events on this container. If the event is a
2233 * Processes container events occurring on this container by
2235 * NOTE: This method will not be called unless container events
2247 * @param e the container event
2275 // native-produced event sent to the native container
2336 * descendant of this container that contains the given coordinates
2367 * descendant of this container that contains the given coordinates
2370 * of this container depending on searchHeavyweightChildren. The search will
2372 * of this container if searchHeavyweightDescendants is <code>false</code>.
2479 // this container is lightweight.... continue sending it
2485 // This is a native container, so it needs to host
2524 * point is within the bounds of the container the container itself
2639 * point is within the bounds of the container the container itself
2732 * point is within the bounds of the container the container itself
2745 * a native screen resource. Making a container displayable will
2776 * to its native screen resource. Making a container undisplayable
2822 * this container.
2847 * The native container of the LW component has this field set
2977 * @return the parameter string of this container
2989 * Prints a listing of this container to the specified output
2992 * The immediate children of the container are printed with
3019 * The immediate children of the container are printed with
3209 * @param container the Container to be tested
3215 public boolean isFocusCycleRoot(Container container) {
3216 if (isFocusCycleRoot() && container == this) {
3219 return super.isFocusCycleRoot(container);
3258 * Check if this component is the child of this container or its children.
3448 * Sets whether this container will be used to provide focus
3452 * @param provider indicates whether this container will be used to
3471 * Returns whether this container provides focus traversal
3473 * keyboard focus manager searches container hierarchy for focus
3474 * traversal policy and encounters this container before any other
3475 * container with this property as true or focus cycle roots then
3482 * @return <code>true</code> if this container provides focus traversal
3535 * Sets the <code>ComponentOrientation</code> property of this container
3541 * @param o the new component orientation of this container and
3776 * subclassed by container developers.
4089 // An invalid container with not-null layout should be ignored
4090 // by the mixing code, the container will be validated later
4123 // An invalid container with not-null layout should be ignored
4124 // by the mixing code, the container will be validated later
4206 * Checks if the container and its direct lightweight containers are
4209 * Consider the heavyweight container hides or shows the HW descendants
4355 * contained by a native container.
4370 * container
4540 * native container bounds. In this case we truncate coordinates.
4576 * @param targetOver Target mouse is over (including native container)
4577 * @param e Mouse event in native container
4588 // mouse is in the native container already. To propagate this event
4595 // any event but an exit or drag means we're in the native container
4633 * events in this container
4716 // translate coordinates to this native container
4847 * The windowed container that might be hosting events for
4871 * Is the mouse over the native container
4882 * components need a windowed container to host window-related