Lines Matching refs:position

377         // Figure out the sizes needed to caclulate the menu position
385 Point position = getLocationOnScreen();
396 if(dgc.getBounds().contains(position)) {
413 position.x -= Math.abs(screenInsets.left);
414 position.y -= Math.abs(screenInsets.top);
426 if (position.x + x + pmSize.width >= screenBounds.width
429 screenBounds.width - s.width < 2*(position.x
437 if (position.x + x < screenBounds.x &&
439 screenBounds.width - s.width > 2*(position.x -
447 if (position.y + y + pmSize.height >= screenBounds.height
450 screenBounds.height - s.height < 2*(position.y
463 if (position.x + x + pmSize.width >= screenBounds.width
466 screenBounds.width - s.width < 2*(position.x
474 if (position.x + x < screenBounds.x &&
476 screenBounds.width - s.width > 2*(position.x
484 if (position.y + y + pmSize.height >= screenBounds.height &&
486 screenBounds.height - s.height < 2*(position.y
561 * @param x the x coordinate of the popup's new position
562 * @param y the y coordinate of the popup's new position
597 * position. If <code>index</code> equals -1, the component will
600 * @param index the position at which to insert the component
679 * given position.
682 * @param pos an integer specifying the position at which to add the
697 * Inserts the specified <code>JMenuitem</code> at a given position.
700 * @param pos an integer specifying the position at which to add the
717 * object at a given position.
720 * @param pos an integer specifying the position at which to add the
739 * Inserts a separator at the specified position.
741 * @param index an integer specifying the position at which to
756 * Returns the <code>JMenuItem</code> at the specified position.
761 * @param pos an integer specifying the position
764 * @return the menu item at the specified position; or <code>null</code>
765 * if the item as the specified position is not a menu item
818 * @param pos the position of the item to be removed
865 * Returns the component at position <code>n</code>.
867 * @param n the position of the component to be returned