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

/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalBorders.java191 private static final int corner = 14; field in class:MetalBorders.InternalFrameBorder
226 g.drawLine( corner+1, 3, w-corner, 3);
227 g.drawLine( 3, corner+1, 3, h-corner);
228 g.drawLine( w-2, corner+1, w-2, h-corner);
229 g.drawLine( corner+1, h-2, w-corner, h-2);
233 g.drawLine( corner,
252 private static final int corner = 14; field in class:MetalBorders.FrameBorder
315 private static final int corner = 14; field in class:MetalBorders.DialogBorder
[all...]
H A DMetalRootPaneUI.java685 * Used to determine the corner the resize is occuring from.
936 * Returns the corner that contains the point <code>x</code>,
937 * <code>y</code>, or -1 if the position doesn't match a corner.
953 * Returns the Cursor to render for the specified corner. This returns
954 * 0 if the corner doesn't map to a valid Cursor
956 private int getCursor(int corner) { argument
957 if (corner == -1) {
960 return cursorMapping[corner];
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DInfoWindow.java73 protected void show(Point corner, int indent) { argument
83 if (corner.x < scrSize.width/2 && corner.y < scrSize.height/2) { // 1st square
84 setLocation(corner.x + indent, corner.y + indent);
86 } else if (corner.x >= scrSize.width/2 && corner.y < scrSize.height/2) { // 2nd square
87 setLocation(corner.x - indent - size.width, corner.y + indent);
89 } else if (corner
[all...]
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DRectangularShape.java60 * Returns the X coordinate of the upper-left corner of
62 * @return the X coordinate of the upper-left corner of
69 * Returns the Y coordinate of the upper-left corner of
71 * @return the Y coordinate of the upper-left corner of
194 * @param x the X coordinate of the upper-left corner of the
196 * @param y the Y coordinate of the upper-left corner of the
276 * based on the specified center point coordinates and corner point
282 * @param cornerX the X coordinate of the specified corner point
283 * @param cornerY the Y coordinate of the specified corner point
295 * specified center <code>Point2D</code> and corner
302 setFrameFromCenter(Point2D center, Point2D corner) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJScrollPane.java88 * of the corner, leaving a rectangular space which is, by default, empty.
91 * by the label "corner component".
94 * <code>setCorner</code> method to add a component to a particular corner.
98 * The size of each corner component is entirely determined by the size of the
101 * A corner component will only be visible if there is an empty space in that
102 * corner for it to exist in. For example, consider a component set into the
103 * top right corner of a scroll pane with a column header. If the scroll pane's
105 * grown large enough to require it, then the corner component will not be
106 * shown (since there is no empty space in that corner created by the meeting
110 * will ensure that the space for the corner componen
1231 setCorner(String key, Component corner) argument
[all...]
H A DJTable.java779 // add JScrollBar corner component if available from LAF and not already set by the user
780 Component corner =
782 if (corner == null || corner instanceof UIResource){
783 corner = null;
785 corner = (Component) UIManager.get(
788 // just ignore and don't set corner
791 corner);
838 // remove ScrollPane corner if one was added by the LAF
839 Component corner
[all...]

Completed in 47 milliseconds