Lines Matching defs:component

89      * Installs a {@code DropTarget} on the component as necessary for a
116 * Return the rectangle (0,0,bounds.width,bounds.height) for the component <code>aComponent</code>
165 * root component coordinate system.
167 * root component coordinate system.
179 throw new Error("Source component not connected to component tree hierarchy");
186 throw new Error("Destination component not connected to component tree hierarchy");
196 * root component coordinate system.
198 * root component coordinate system.
211 * root component coordinate system.
213 * root component coordinate system.
225 * component hierarchy and returns the first object of class <code>c</code> it
241 * component hierarchy and returns the first object of <code>name</code> it
262 * @param parent the root component to begin the search
294 * are assumed to be into <code>destination</code>'s root component coordinate system.
301 * one component to another without changing the source.
366 * Convert a point from a component's coordinate system to
405 * Convert a point from a screen coordinates to a component's
461 * Return <code>true</code> if a component <code>a</code> descends from a component <code>b</code>
1129 * Paints a component to the specified <code>Graphics</code>.
1141 * component for rendering. If you make use of multiple components
1154 * The component should either descend from <code>JComponent</code>
1155 * or be another kind of lightweight component.
1156 * A lightweight component is one whose "lightweight" property
1180 * Paints a component to the specified <code>Graphics</code>. This
1522 * Returns the root component for the current component tree.
1571 Component component = event.getComponent();
1579 while (component != null) {
1580 if (component instanceof JComponent) {
1581 return ((JComponent)component).processKeyBindings(
1584 if ((component instanceof Applet) ||
1585 (component instanceof Window)) {
1589 event, (Container)component, pressed);
1591 component = component.getParent();
1672 * Convenience method to change the UI InputMap for <code>component</code>
1678 public static void replaceUIInputMap(JComponent component, int type,
1680 InputMap map = component.getInputMap(type, (uiInputMap != null));
1694 * Convenience method to change the UI ActionMap for <code>component</code>
1700 public static void replaceUIActionMap(JComponent component,
1702 ActionMap map = component.getActionMap((uiActionMap != null));
1717 * <code>condition</code> in component <code>component</code>.
1723 public static InputMap getUIInputMap(JComponent component, int condition) {
1724 InputMap map = component.getInputMap(condition, false);
1737 * in component <code>component</code>.
1742 public static ActionMap getUIActionMap(JComponent component) {
1743 ActionMap map = component.getActionMap(false);
1931 * the inner painting area of the specified component
1933 * The position and size specify the bounds of the component,
1971 Component component = null;
1974 component = (Component)rendererOrEditor;
1977 component = ((DefaultCellEditor)rendererOrEditor).getComponent();
1980 if (component != null) {
1981 SwingUtilities.updateComponentTreeUI(component);
1986 * Returns the first ancestor of the {@code component}
1989 * @param component {@code Component} to get
1992 * @return the first ancestor of the {@code component}
1996 * @throws NullPointerException if {@code component} is {@code null}
2001 public static Container getUnwrappedParent(Component component) {
2002 Container parent = component.getParent();
2014 * If the {@code viewport}'s view component is not a {@code JLayer},
2047 * The component hierarchy must be displayable up to the toplevel component
2052 * root and all its parents up to the toplevel component must also be