Lines Matching refs:Section
1675 public enum Section {
1694 * returns whether the point lies in {@code Section.LEADING} or
1695 * {@code Section.TRAILING}. For horizontal divisions, the calculation
1706 * it isn't, the results still have meaning: {@code Section.MIDDLE}
1707 * remains the same, {@code Section.LEADING} indicates that the point
1709 * {@code Section.TRAILING} indicates that the point is in or somewhere
1722 * @return the {@code Section} where the point lies
1727 private static Section liesIn(Rectangle rect, Point p, boolean horizontal,
1758 return forward ? Section.LEADING : Section.TRAILING;
1760 return forward ? Section.TRAILING : Section.LEADING;
1763 return Section.MIDDLE;
1767 return pComp >= middle ? Section.TRAILING : Section.LEADING;
1769 return pComp < middle ? Section.TRAILING : Section.LEADING;
1789 * @return the {@code Section} where the point lies
1794 public static Section liesInHorizontal(Rectangle rect, Point p,
1812 * @return the {@code Section} where the point lies
1817 public static Section liesInVertical(Rectangle rect, Point p,