/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CDropTarget.java | 42 public static CDropTarget createDropTarget(DropTarget dropTarget, Component component, ComponentPeer peer) { argument 43 return new CDropTarget(dropTarget, component, peer); 46 private CDropTarget(DropTarget dropTarget, Component component, ComponentPeer peer) { argument 50 fComponent = component; 64 fNativeDropTarget = this.createNativeDropTarget(dropTarget, component, peer, nativePeer); 83 protected native long createNativeDropTarget(DropTarget dropTarget, Component component, ComponentPeer peer, long nativePeer); argument
|
H A D | CDropTargetContextPeer.java | 132 protected int postDropTargetEvent(Component component, int x, int y, int dropAction, argument 136 return super.postDropTargetEvent(component, x, y, dropAction, actions, formats, nativeCtxt,
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JToolTip.java | 40 * 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...] |
H A D | Popup.java | 62 private Component component; field in class:Popup 102 Component component = getComponent(); 104 if (component != null) { 105 component.show(); 118 Component component = getComponent(); 120 if (component instanceof JWindow) { 121 component.hide(); 122 ((JWindow)component).getContentPane().removeAll(); 131 Component component = getComponent(); 132 Window window = SwingUtilities.getWindowAncestor(component); [all...] |
H A D | KeyboardManager.java | 44 * KeyEvents are dispatched to the focused component. The focus manager gets first 51 * WHEN_FOCUSED condition get a chance. If none of these want the event, then the component 74 * Maps component/keystroke pairs to a topLevel container 109 if (!v.contains(c)) { // only add if this keystroke isn't registered for this component 116 if (tmp != c) { // this means this is already registered for this component, no need to dup 152 // component may have already been removed from the hierarchy, we 178 } else if (tmp instanceof Vector ) { // this means there is more than one component reg for this key 202 * This method is called when the focused component (and none of 366 * which looks up topContainers based on component, keystroke pairs 370 Object component; field in class:KeyboardManager.ComponentKeyStrokePair [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/ |
H A D | ColorChooserPanel.java | 68 for (Component component : container.getComponents()) { 69 component.setEnabled(enabled); 70 if (component instanceof Container) { 71 setEnabled((Container) component, enabled); 194 * @param component the root component of the tree 197 private static void setInheritsPopupMenu(JComponent component, boolean value) { argument 198 component.setInheritsPopupMenu(value); 199 for (Object object : component.getComponents()) {
|
H A D | ColorModel.java | 72 final String getLabel(Component component, int index) { argument 73 return getText(component, this.labels[index]); 84 final String getText(Component component, String suffix) { argument 85 return UIManager.getString(this.prefix + suffix + "Text", component.getLocale()); // NON-NLS: default postfix 88 final int getInteger(Component component, String suffix) { argument 89 Object value = UIManager.get(this.prefix + suffix, component.getLocale());
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | DragRecognitionSupport.java | 46 private JComponent component; field in class:DragRecognitionSupport 96 component = null; 108 th.getSourceActions(component)); 115 component = (JComponent)me.getSource(); 117 if (mapDragOperationFromModifiers(me, component.getTransferHandler()) 141 if (me.getSource() == component) { 143 } // else component has changed unexpectedly, so return null 158 /* component has changed unexpectedly, so bail */ 159 if (me.getSource() != component) { 167 TransferHandler th = component [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthContext.java | 44 private JComponent component; field in class:SynthContext 55 static SynthContext getContext(Class type, JComponent component, argument 78 context.reset(component, region, style, state); 103 * @param component JComponent 105 * @param style Style associated with the component 106 * @param state State of the component as defined in SynthConstants. 107 * @throws NullPointerException if component, region of style is null. 109 public SynthContext(JComponent component, Region region, SynthStyle style, argument 111 if (component == null || region == null || style == null) { 113 "You must supply a non-null component, regio 178 reset(JComponent component, Region region, SynthStyle style, int state) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | KeyboardFocusManagerPeerImpl.java | 73 * 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/jdk/src/share/classes/java/awt/color/ |
H A D | ICC_ColorSpace.java | 532 * Returns the minimum normalized color component value for the 533 * specified component. For TYPE_XYZ spaces, this method returns 539 * with a profile that requires different minimum component values, 541 * @param component The component index. 542 * @return The minimum normalized component value. 543 * @throws IllegalArgumentException if component is less than 0 or 547 public float getMinValue(int component) { argument 548 if ((component < 0) || (component > thi 572 getMaxValue(int component) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/awt/ |
H A D | AWTUtilities.java | 42 * <li>Setting a 'mixing-cutout' shape for a component. 307 * separate pixel. If a pixel gets painted with alpha color component 310 * of the alpha color component make the pixel semi-transparent (i.e. 412 * Sets a 'mixing-cutout' shape for the given component. 414 * By default a lightweight component is treated as an opaque rectangle for 418 * component in the z-order. 423 * to the component's {@code getBounds()}) 425 * components. This makes the given lightweight component effectively 426 * transparent. Note that descendants of the lightweight component still 434 * glass pane component 450 setComponentMixingCutoutShape(Component component, Shape shape) argument [all...] |
/openjdk7/jdk/test/javax/swing/JColorChooser/ |
H A D | Test6524757.java | 162 Component component = getC(getC(dialog.getLayeredPane(), 0), 1); 163 AbstractButton ok = (AbstractButton) getC(component, 0); 164 AbstractButton cancel = (AbstractButton) getC(component, 1); 165 AbstractButton reset = (AbstractButton) getC(component, 2); 214 private static void addSize(List<Object> list, Component component, int x, int y, int w, int h) { argument 215 Dimension size = component.getPreferredSize(); 221 private static Component getC(Component component, int index) { argument 222 Container container = (Container) component;
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/ |
H A D | GraphicsUtilities.java | 68 public static void reshapeToAspectRatio(Component component, argument 85 component.setSize(desiredX, desiredY); 88 public static void constrainToSize(Component component, Dimension containerDimension) { argument 89 Dimension d = component.getSize(); 104 component.setSize(x, y); 112 public static void centerInContainer(Component component, argument 114 Dimension sz = component.getSize(); 117 component.setLocation(x, y); 120 public static void moveToInContainer(Component component, argument 125 Dimension d = component 144 randomLocation(Component component, Dimension containerDimension) argument [all...] |
/openjdk7/jdk/src/share/classes/java/awt/dnd/ |
H A D | DragGestureEvent.java | 104 if ((component = dgr.getComponent()) == null) 105 throw new IllegalArgumentException("null component"); 141 public Component getComponent() { return component; } 333 component = (Component)f.get("component", null); 369 private Component component; field in class:DragGestureEvent
|
H A D | DragGestureRecognizer.java | 127 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
|
/openjdk7/jdk/src/macosx/classes/com/apple/eawt/event/ |
H A D | GestureHandler.java | 44 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/com/sun/java/swing/ |
H A D | SwingUtilities3.java | 65 public static void setDelegateRepaintManager(JComponent component, argument 73 component.putClientProperty(DELEGATE_REPAINT_MANAGER_KEY, 115 * Returns delegate {@code RepaintManager} for {@code component} hierarchy. 118 component) { 122 while (delegate == null && component != null) { 123 while (component != null 124 && ! (component instanceof JComponent)) { 125 component = component.getParent(); 127 if (component ! 117 getDelegateRepaintManager(Component component) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/ |
H A D | JExpression.java | 149 JArrayCompRef component(JExpression index); method in interface:JExpression
|
H A D | JExpressionImpl.java | 162 public final JArrayCompRef component(JExpression index) { method in class:JExpressionImpl 163 return JExpr.component(this, index);
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WDragSourceContextPeer.java | 151 native long createDragSource(Component component, argument
|
/openjdk7/jdk/test/java/awt/List/SetBackgroundTest/ |
H A D | SetBackgroundTest.java | 114 for (Component component : components) { 115 testComponent(new Panel(), component, color); 121 private static void testComponent(Container container, Component component, Color color){ argument 123 component.setBackground(color); 126 container.add(component, BorderLayout.CENTER); 132 Point loc = component.getLocationOnScreen(); 133 Color robotColor = robot.getPixelColor(loc.x + component.getWidth()/2, loc.y + component.getHeight()/2); 137 Sysout.println(" component = "+component); [all...] |
/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | MarkToLigaturePosnSubtables.cpp | 96 le_int32 component = ligatureIterator.getMarkComponent(markPosition); local 98 if (component >= componentCount) { 100 component = componentCount - 1; 103 const ComponentRecord *componentRecord = &ligatureAttachTable->componentRecordArray[component * mcCount];
|
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | DefaultLayoutStyle.java | 69 public int getContainerGap(JComponent component, int position, argument 71 if (component == null) { 100 * @param source First component 101 * @param target Second component 104 * @return offset - border/margin around the component. 128 * @return offset - border/margin around the component. 176 * Returns the amount to indent the specified component if it's 177 * a JCheckBox or JRadioButton. If the component is not a JCheckBox or
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/parsers/ |
H A D | BasicParserConfiguration.java | 70 * parser configuration, then each component should be added to 73 * the <code>reset</code> method of each registered component 172 /** Last component in the document pipeline */ 245 * Adds a component to the parser configuration. This method will 246 * also add all of the component's recognized features and properties 249 * @param component The component to add. 251 protected void addComponent(XMLComponent component) { argument 253 // don't add a component more than once 254 if (fComponents.contains(component)) { [all...] |