Searched refs:component (Results 26 - 50 of 199) sorted by relevance

12345678

/openjdk7/jdk/src/share/classes/java/awt/dnd/
H A DDragGestureRecognizer.java127 component = c;
250 public synchronized Component getComponent() { return component; }
262 if (component != null && dragGestureListener != null)
265 component = c;
267 if (component != null && dragGestureListener != null)
325 if (component != null) registerListeners();
345 if (component != null) unregisterListeners();
441 protected Component component; field in class:DragGestureRecognizer
H A DMouseDragGestureRecognizer.java135 component.addMouseListener(this);
136 component.addMouseMotionListener(this);
147 component.removeMouseListener(this);
148 component.removeMouseMotionListener(this);
152 * Invoked when the mouse has been clicked on a component.
169 * Invoked when a mouse button has been released on a component.
177 * Invoked when the mouse enters a component.
185 * Invoked when the mouse exits a component.
193 * Invoked when a mouse button is pressed on a component.
201 * Invoked when the mouse button has been moved on a component
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/eawt/event/
H A DGestureHandler.java44 static void addGestureListenerTo(final JComponent component, final GestureListener listener) { argument
45 final Object value = component.getClientProperty(CLIENT_PROPERTY);
55 component.putClientProperty(CLIENT_PROPERTY, newHandler);
59 static void removeGestureListenerFrom(final JComponent component, final GestureListener listener) { argument
60 final Object value = component.getClientProperty(CLIENT_PROPERTY);
66 // called from native - finds the deepest component with an installed GestureHandler,
73 final Component component = SwingUtilities.getDeepestComponentAt(window, (int)x, (int)y);
76 if (component instanceof RootPaneContainer) {
77 firstNotifier = getNextNotifierForComponent(((RootPaneContainer)component).getRootPane());
79 firstNotifier = getNextNotifierForComponent(component);
126 final Component component; field in class:GestureHandler.PerComponentNotifier
129 PerComponentNotifier(final Component component, final GestureHandler handler) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DPopupFactory.java195 // Check if the parent component is an option pane. If so we need to
487 Component component = getComponent();
489 if (component != null) {
490 Container parent = component.getParent();
493 Rectangle bounds = component.getBounds();
495 parent.remove(component);
503 Component component = getComponent();
505 if (component != null) {
506 component.setSize(component
[all...]
H A DToolTipManager.java37 * hide. Consider a component that has a different tooltip based on where
396 * Registers a component for tooltip management.
399 * only if <code>component</code> has focus bindings. This is done
404 * @param component a <code>JComponent</code> object to add
407 public void registerComponent(JComponent component) { argument
408 component.removeMouseListener(this);
409 component.addMouseListener(this);
410 component.removeMouseMotionListener(moveBeforeEnterListener);
411 component.addMouseMotionListener(moveBeforeEnterListener);
412 component
421 unregisterComponent(JComponent component) argument
712 frameForComponent(Component component) argument
[all...]
H A DJToolTip.java40 * For example, any Swing component can use the <code>JComponent</code>
42 * for a standard tooltip. A component that wants to create a custom
78 JComponent component; field in class:JToolTip
87 * Returns the L&F object that renders this component.
89 * @return the <code>ToolTipUI</code> object that renders this component
106 * Returns the name of the L&F class that renders this component.
149 * Specifies the component that the tooltip describes.
150 * The component <code>c</code> may be <code>null</code>
159 * description: Sets the component that the tooltip describes.
162 JComponent oldValue = this.component;
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DDefaultCaret.java56 * The caret acts as a mouse and focus listener on the text component
63 * text component is editable, the caret will become visible when focus
66 * The Highlighter bound to the associated text component is used to
70 * will render a solid color as specified in the associated text component
157 * a character is typed within editable text component it is inserted
224 * Gets the text editor component that this caret is
227 * @return the component
230 return component;
244 if (component != null) {
245 component
1560 JTextComponent component; field in class:DefaultCaret
[all...]
/openjdk7/jdk/src/share/classes/sun/applet/
H A DAppletObjectInputStream.java85 Class component; // component class
89 component = loader.loadClass(cname.substring(dcount+1,
95 component = primitiveType(cname.charAt(dcount));
101 return Array.newInstance(component, dim).getClass();
/openjdk7/jdk/src/share/classes/java/awt/color/
H A DICC_ProfileRGB.java54 * Three-component, matrix-based input profiles and RGB display profiles are
62 * Connection Space, each device color component is first linearized by
96 * Used to get a gamma value or TRC for the red component.
101 * Used to get a gamma value or TRC for the green component.
106 * Used to get a gamma value or TRC for the blue component.
178 * (TRC) for a particular component. The component parameter
182 * represents the TRC for the corresponding component
187 * the linear component (R, G, or B) is computed as follows:
194 * @param component Th
200 getGamma(int component) argument
256 getTRC(int component) argument
[all...]
H A DColorSpace.java54 * component minimum and maximum normalized values.
169 * Generic 2 component color spaces.
174 * Generic 3 component color spaces.
179 * Generic 4 component color spaces.
184 * Generic 5 component color spaces.
189 * Generic 6 component color spaces.
194 * Generic 7 component color spaces.
199 * Generic 8 component color spaces.
204 * Generic 9 component color spaces.
209 * Generic 10 component colo
578 getMinValue(int component) argument
598 getMaxValue(int component) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/
H A DAbstractBuilder.java97 * @param node the XML element that specifies which component to document.
101 String component = node.name;
103 invokeMethod("build" + component,
108 configuration.root.printError("Unknown element: " + component);
116 " thrown while processing element: " + component);
/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest6559154.java64 for (Component component : container.getComponents()) {
65 component.setEnabled(enabled);
66 if (component instanceof Container) {
67 setEnabledRecursive((Container) component, enabled);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXAwtState.java40 * The mouse is over this component.
41 * If the component is not disabled, it received MOUSE_ENTERED but no MOUSE_EXITED.
45 static void setComponentMouseEntered(Component component) { argument
48 if (component == null) {
52 if (component != getComponentMouseEntered()) {
53 componentMouseEnteredRef = new WeakReference(component);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DAnimationController.java61 * <li> It tracks the animation state for every UI component involved in the
109 //the same (component,part) is used to handle all the tabs
189 private synchronized State getState(JComponent component, Part part) { argument
192 component.getClientProperty(PartUIClientPropertyKey.getKey(part));
199 private synchronized void putState(JComponent component, Part part, argument
201 component.putClientProperty(PartUIClientPropertyKey.getKey(part),
205 private synchronized void startAnimation(JComponent component, argument
214 Map<Part, AnimationState> map = animationStateMap.get(component);
219 animationStateMap.remove(component);
226 animationStateMap.put(component, ma
235 paintSkin(JComponent component, Skin skin, Graphics g, int dx, int dy, int dw, int dh, State state) argument
[all...]
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DJavaAccessibilityUtilities.m61 NSSize getAxComponentSize(JNIEnv *env, jobject axComponent, jobject component)
68 jobject dimension = JNFCallStaticObjectMethod(env, jm_getSize, axComponent, component); // AWT_THREADING Safe (AWTRunLoopMode)
74 NSString *getJavaRole(JNIEnv *env, jobject axComponent, jobject component)
77 jobject axRole = JNFCallStaticObjectMethod(env, sjm_getAccessibleRole, axComponent, component); // AWT_THREADING Safe (AWTRunLoopMode)
83 jobject getAxSelection(JNIEnv *env, jobject axContext, jobject component)
86 return JNFCallStaticObjectMethod(env, jm_getAccessibleSelection, axContext, component); // AWT_THREADING Safe (AWTRunLoopMode)
89 jobject getAxContextSelection(JNIEnv *env, jobject axContext, jint index, jobject component)
92 return JNFCallStaticObjectMethod(env, jm_ax_getAccessibleSelection, axContext, index, component); // AWT_THREADING Safe (AWTRunLoopMode)
95 void setAxContextSelection(JNIEnv *env, jobject axContext, jint index, jobject component)
98 JNFCallStaticVoidMethod(env, jm_addAccessibleSelection, axContext, index, component); // AWT_THREADIN
[all...]
H A DJavaAccessibilityAction.h44 - (id)initWithEnv:(JNIEnv *)env withAccessibleAction:(jobject)accessibleAction withIndex:(jint)index withComponent:(jobject)component;
58 - (id)initWithEnv:(JNIEnv *)env withTabGroup:(jobject)tabGroup withIndex:(jint)index withComponent:(jobject)component;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/util/
H A DXSInputSource.java45 public XSInputSource(XSObject[] component) { argument
48 fComponents = component;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalComboBoxIcon.java49 JComponent component = (JComponent)c;
54 g.setColor( component.isEnabled() ? MetalLookAndFeel.getControlInfo() : MetalLookAndFeel.getControlShadow() );
/openjdk7/jdk/src/share/classes/sun/awt/
H A DKeyboardFocusManagerPeerImpl.java73 * Checks if the component:
77 public static boolean shouldFocusOnClick(Component component) { argument
80 // A component is generally allowed to accept focus on click
85 if (component instanceof Canvas ||
86 component instanceof Scrollbar)
91 } else if (component instanceof Panel) {
92 acceptFocusOnClick = (((Panel)component).getComponentCount() == 0);
97 ComponentPeer peer = (component != null ? component.getPeer() : null);
101 AWTAccessor.getComponentAccessor().canBeFocusOwner(component);
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Coordinator/src/com/sun/hotspot/igv/coordinator/actions/
H A DSaveAllAction.java43 final OutlineTopComponent component = OutlineTopComponent.findInstance();
44 SaveAsAction.save(component.getDocument());
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaCaret.java90 final JTextComponent component = getComponent();
91 if (!component.isEnabled() || !component.isEditable()) {
108 final int end = component.getDocument().getLength();
113 component.setCaretPosition(end);
114 component.moveCaretPosition(0);
116 component.setCaretPosition(0);
117 component.moveCaretPosition(end);
164 // intersection of the caret rectangle and the component less the border, if any.
/openjdk7/jdk/test/java/beans/XMLDecoder/spec/
H A DTestArray.java73 private static <T> T[] getArray(Class<T> component, int length, Object object) { argument
78 if (!type.getComponentType().equals(component)) {
79 throw new Error("unexpected component type");
/openjdk7/jdk/test/javax/swing/border/
H A DTest4247606.java56 private static JPanel create(JComponent component, Border border) { argument
59 panel.add(component);
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A DTest7169395.java90 for (Component component : components){
91 this.map.put(component.getName(), component);
/openjdk7/jdk/test/javax/swing/RepaintManager/6608456/
H A Dbug6608456.java48 final JComponent component = invokeAndWait(
68 if (component == null) {
71 blockTillDisplayed(component);
76 component.repaint();
88 .getAncestorOfClass(JFrame.class, component);

Completed in 89 milliseconds

12345678