Lines Matching refs:insets
535 public void setBorderInsets(Insets insets) {
536 if (insets == null)
539 this.borderInsets = (Insets)insets.clone();
547 public Insets insets() {
550 Insets insets = getAdjustedInsets();
552 return new Insets(h + insets.top,
553 bd + insets.left,
554 bd + insets.bottom,
555 bd + insets.right);
582 Insets insets;
584 insets = new Insets(0, 0, 0, 0);
586 insets = borderInsets;
587 return insets;
651 Insets insets = insets();
654 if (insets.left > 0)
655 g.fillRect(0, 0, insets.left, size.height);
656 if (insets.top > 0)
657 g.fillRect(0, 0, size.width, insets.top);
658 if (insets.bottom > 0)
659 g.fillRect(0, size.height-insets.bottom,
660 size.width, insets.bottom);
661 if (insets.right > 0)
662 g.fillRect(size.width-insets.right, 0,
663 insets.right, size.height);
694 Insets insets = insets();