Searched refs:spot (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalRootPaneUI.java676 * mouse moves over a hot spot.
964 * Returns an integer indicating the position of <code>spot</code>
973 private int calculatePosition(int spot, int width) { argument
974 if (spot < BORDER_DRAG_THICKNESS) {
977 if (spot < CORNER_DRAG_WIDTH) {
980 if (spot >= (width - BORDER_DRAG_THICKNESS)) {
983 if (spot >= (width - CORNER_DRAG_WIDTH)) {

Completed in 96 milliseconds