Searched defs:component (Results 1 - 25 of 124) sorted by relevance

12345

/openjdk7/jdk/test/java/awt/DataFlavor/MissedHtmlAndRtfBug/
H A DAbsoluteComponentCenterCalculator.java30 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 DAbsoluteComponentCenterCalculator.java28 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 DComponentInputMapUIResource.java40 public ComponentInputMapUIResource(JComponent component) { argument
41 super(component);
/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/src/windows/native/sun/windows/
H A DWBufferStrategy.cpp53 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 DGestureUtilities.java54 * @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 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/src/share/classes/sun/swing/
H A DMenuItemCheckIconFactory.java36 Icon getIcon(JMenuItem component); argument
/openjdk7/jdk/src/share/classes/javax/swing/
H A DComponentInputMap.java30 * 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 DDebugGraphicsInfo.java44 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 DSwingPaintEventDispatcher.java39 * 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 DAutoscroller.java51 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 DLayoutStyle.java114 * 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 DverificationType.cpp87 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 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...]
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A DTest5023552.java42 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 DTest6199676.java57 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 Dbug6524424.java93 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 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/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/sun/awt/im/
H A DInputMethodAdapter.java65 * 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 DBoundedZoomAction.java71 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 DBoundedZoomAction.java72 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 DExtendedPanAction.java66 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 DClientPropertyApplicator.java79 public N convertJComponentToTarget(final T component) { argument
80 return (N)component; // naive implementation

Completed in 210 milliseconds

12345