Lines Matching refs:insets

138    < dt>  <a href = java.awt.GBConstraints.html#insets>insets</a>
331 * Set the window insets. The window insets default to (0,0,0,0).
333 public synchronized static void setWindowInsets(Insets insets) {
334 if (insets == null)
337 windowInsets = (Insets)insets.clone();
341 * Get the window insets.
366 if (c.insets == null)
367 c.insets = new Insets(0, 0, 0, 0);
583 * If the parent is a Window, then adjust the insets according to
584 * the window insets.
587 Insets parentInsets = parent.insets();
588 Insets insets = null;
590 insets = (Insets) parentInsets.clone();
592 insets = new Insets(0, 0, 0, 0);
595 insets.top += windowInsets.top;
596 insets.bottom += windowInsets.bottom;
597 insets.left += windowInsets.left;
598 insets.right += windowInsets.right;
600 return insets;
646 * This can be smaller than getMinimumSize if there are insets and
741 * constraints.insets.bottom +
743 * constraints.insets.left +
745 * constraints.insets.right +
747 * constraints.insets.top +
1226 constraints.insets.left +
1227 constraints.insets.right +
1285 constraints.insets.top +
1286 constraints.insets.bottom +
1364 Insets insets = (Insets)c.insets.clone();
1367 (insets.left + insets.right + c.hardinsets.left +
1370 (insets.top + insets.bottom + c.hardinsets.top +
1377 insets.left -= diffx/2;
1378 insets.right -= diffx/2;
1379 if (insets.left < 0) {
1380 insets.right += insets.left;
1381 insets.left = 0;
1383 if (insets.right < 0) {
1384 insets.left += insets.right;
1385 insets.right = 0;
1393 insets.left -= diffx/2;
1394 insets.right -= diffx/2;
1395 if (insets.left < 0) {
1396 insets.right += insets.left;
1397 insets.left = 0;
1399 if (insets.right < 0) {
1400 insets.left += insets.right;
1401 insets.right = 0;
1409 insets.right -= diffx;
1410 if (insets.right < 0) {
1411 insets.left += insets.right;
1412 insets.right = 0;
1420 insets.left -= diffx;
1421 if (insets.left < 0) {
1422 insets.right += insets.left;
1423 insets.left = 0;
1437 insets.top -= diffy/2;
1438 insets.bottom -= diffy/2;
1439 if (insets.top < 0) {
1440 insets.bottom += insets.top;
1441 insets.top = 0;
1443 if (insets.bottom < 0) {
1444 insets.top += insets.bottom;
1445 insets.bottom = 0;
1453 insets.top -= diffy/2;
1454 insets.bottom -= diffy/2;
1455 if (insets.top < 0) {
1456 insets.bottom += insets.top;
1457 insets.top = 0;
1459 if (insets.bottom < 0) {
1460 insets.top += insets.bottom;
1461 insets.bottom = 0;
1469 insets.bottom -= diffy;
1470 if (insets.bottom < 0) {
1471 insets.top += insets.bottom;
1472 insets.bottom = 0;
1480 insets.top -= diffy;
1481 if (insets.top < 0) {
1482 insets.bottom += insets.top;
1483 insets.top = 0;
1493 r.x += insets.left + c.hardinsets.left;
1494 r.width -= (insets.left + insets.right +
1496 r.y += insets.top + c.hardinsets.top;
1497 r.height -= (insets.top + insets.bottom +
1563 Insets insets = getInsets(parent);
1568 d.width = t + insets.left + insets.right;
1573 d.height = t + insets.top + insets.bottom;
1596 Insets insets = getInsets(parent);
1774 info.startx += insets.left;
1775 info.starty += insets.top;