/openjdk7/jdk/test/java/awt/DataFlavor/MissedHtmlAndRtfBug/ |
H A D | AbsoluteComponentCenterCalculator.java | 30 public static int calculateXCenterCoordinate(Component component) { argument 31 return (int) component.getLocationOnScreen().getX() + (component.getWidth() / 2); 34 public static int calculateYCenterCoordinate(Component component) { argument 35 return (int) component.getLocationOnScreen().getY() + (component.getHeight() / 2);
|
/openjdk7/jdk/test/java/awt/datatransfer/DragUnicodeBetweenJVMTest/ |
H A D | AbsoluteComponentCenterCalculator.java | 28 public static int calculateXCenterCoordinate(Component component) { argument 29 return (int)component.getLocationOnScreen().getX()+(component.getWidth()/2); 31 public static int calculateYCenterCoordinate(Component component) { argument 32 return (int)component.getLocationOnScreen().getY()+(component.getHeight()/2);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/ |
H A D | ComponentInputMapUIResource.java | 40 public ComponentInputMapUIResource(JComponent component) { argument 41 super(component);
|
/openjdk7/jdk/test/javax/swing/border/ |
H A D | Test4247606.java | 56 private static JPanel create(JComponent component, Border border) { argument 59 panel.add(component);
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | WBufferStrategy.cpp | 53 jobject component) 56 return env->CallObjectMethod(component, getBackBufferID); 52 Java_sun_awt_windows_WBufferStrategy_getDrawBuffer(JNIEnv *env, jclass wbs, jobject component) argument
|
/openjdk7/jdk/src/macosx/classes/com/apple/eawt/event/ |
H A D | GestureUtilities.java | 54 * @param component to attach the {@link GestureListener} to 57 public static void addGestureListenerTo(final JComponent component, final GestureListener listener) { argument 58 if (component == null || listener == null) throw new NullPointerException(); 59 GestureHandler.addGestureListenerTo(component, listener); 64 * @param component to remove the {@link GestureListener} from 67 public static void removeGestureListenerFrom(final JComponent component, final GestureListener listener) { argument 68 if (component == null || listener == null) throw new NullPointerException(); 69 GestureHandler.removeGestureListenerFrom(component, listener);
|
/openjdk7/jdk/test/java/beans/XMLDecoder/spec/ |
H A D | TestArray.java | 73 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/src/share/classes/sun/swing/ |
H A D | MenuItemCheckIconFactory.java | 36 Icon getIcon(JMenuItem component); argument
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | ComponentInputMap.java | 30 * The component is automatically notified whenever 40 private JComponent component; field in class:ComponentInputMap 44 * specified component. 46 * @param component a non-null <code>JComponent</code> 47 * @throws IllegalArgumentException if <code>component</code> is null 49 public ComponentInputMap(JComponent component) { argument 50 this.component = component; 51 if (component == null) { 58 * associated with the same component a [all...] |
H A D | DebugGraphicsInfo.java | 44 void setDebugOptions(JComponent component, int debug) { argument 52 componentToDebug.put(component, Integer.valueOf(debug)); 54 componentToDebug.remove(component); 58 int getDebugOptions(JComponent component) { argument 62 Integer integer = componentToDebug.get(component);
|
H A D | SwingPaintEventDispatcher.java | 39 * Swing's PaintEventDispatcher. If the component specified by the PaintEvent 40 * is a top level Swing component (JFrame, JWindow, JDialog, JApplet), this 55 public PaintEvent createPaintEvent(Component component, int x, int y, argument 57 if (component instanceof RootPaneContainer) { 58 AppContext appContext = SunToolkit.targetToAppContext(component); 61 !rm.show((Container)component, x, y, w, h)) { 62 rm.nativeAddDirtyRegion(appContext, (Container)component, 67 return new IgnorePaintEvent(component, PaintEvent.PAINT, 70 else if (component instanceof SwingHeavyWeight) { 71 AppContext appContext = SunToolkit.targetToAppContext(component); [all...] |
H A D | Autoscroller.java | 51 private static JComponent component; field in class:Autoscroller 57 * Stops autoscroll events from happening on the specified component. 64 * Stops autoscroll events from happening on the specified component. 83 * Starts the timer targeting the passed in component. 88 if (component != c) { 89 _stop(component); 91 component = c; 92 event = new MouseEvent(component, e.getID(), e.getWhen(), 117 if (component == c) { 123 component [all...] |
H A D | LayoutStyle.java | 114 * Enumeration value indicating the distance to indent a component 163 * size of the component. 195 * Returns the amount of space to place between the component and specified 198 * @param component the <code>JComponent</code> being positioned 199 * @param position the position <code>component</code> is being placed 205 * @param parent the parent of <code>component</code>; this may differ 207 * @return the amount of space to place between the component and specified 215 public abstract int getContainerGap(JComponent component, int position, argument
|
/openjdk7/hotspot/src/share/vm/classfile/ |
H A D | verificationType.cpp | 87 Symbol* component; local 98 component = context->create_temporary_symbol( 101 return VerificationType::reference_type(component); 103 component = context->create_temporary_symbol( 106 return VerificationType::reference_type(component);
|
/openjdk7/jdk/src/share/classes/java/awt/color/ |
H A D | ICC_ProfileRGB.java | 54 * 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...] |
/openjdk7/jdk/test/java/beans/XMLEncoder/ |
H A D | Test5023552.java | 42 Component component = new Component(); 43 return component.create(component); 50 Component component = container.getComponent(); 51 return new Expression(container, component, "create", new Object[] {component}); 57 public Container create(Component component) { argument 58 return new Container(component); 63 private final Component component; field in class:Test5023552.Container 65 public Container(Component component) { argument [all...] |
/openjdk7/jdk/test/javax/swing/JColorChooser/ |
H A D | Test6199676.java | 57 for (Component component : container.getComponents()) { 58 if (!name.equals(component.getName())) { 59 component = (component instanceof Container) 60 ? getPreview((Container) component) 63 if (component instanceof Container) { 64 container = (Container) component; 73 private static boolean isShowing(Component component) { argument 74 return (component != null) && component [all...] |
/openjdk7/jdk/test/javax/swing/JSlider/6524424/ |
H A D | bug6524424.java | 93 private static void addComponent(JPanel panel, Component component) { argument 94 panel.add(component, new GridBagConstraints(0,
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XAwtState.java | 40 * 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/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/util/ |
H A D | XSInputSource.java | 45 public XSInputSource(XSObject[] component) { argument 48 fComponents = component;
|
/openjdk7/jdk/src/share/classes/sun/awt/im/ |
H A D | InputMethodAdapter.java | 65 * Informs the input method adapter about the component that has the AWT 68 protected void setAWTFocussedComponent(Component component) { argument
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Util/src/com/sun/hotspot/igv/util/ |
H A D | BoundedZoomAction.java | 71 private JScrollPane findScrollPane(JComponent component) { argument 73 if (component == null) { 76 if (component instanceof JScrollPane) { 77 return ((JScrollPane) component); 79 Container parent = component.getParent(); 83 component = (JComponent) parent;
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/ |
H A D | BoundedZoomAction.java | 72 private JScrollPane findScrollPane(JComponent component) { argument 74 if (component == null) { 77 if (component instanceof JScrollPane) { 78 return ((JScrollPane) component); 80 Container parent = component.getParent(); 84 component = (JComponent) parent;
|
H A D | ExtendedPanAction.java | 66 private JScrollPane findScrollPane(JComponent component) { argument 68 if (component == null) { 71 if (component instanceof JScrollPane) { 72 return ((JScrollPane) component); 74 Container parent = component.getParent(); 78 component = (JComponent) parent;
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | ClientPropertyApplicator.java | 79 public N convertJComponentToTarget(final T component) { argument 80 return (N)component; // naive implementation
|