562 return v;
563 }
564 }
565 if (pos == getEndOffset()) {
566 View v = getView(n - 1);
567 if (a != null) {
568 this.childAllocation(n - 1, a);
569 }
570 return v;
571 }
572 return null;
573 }
574
575 // ---- variables ----------------------------------------------------
576
577 int[] columnSpans;
578 int[] columnOffsets;
579 SizeRequirements[] columnRequirements;
580 Vector<TableRow> rows;
581 boolean gridValid;
582 static final private BitSet EMPTY = new BitSet();
583
584 /**
585 * View of a row in a row-centric table.
586 */
587 public class TableRow extends BoxView {
588
589 /**
590 * Constructs a TableView for the given element.
591 *
592 * @param elem the element that this view is responsible for
593 * @since 1.4
594 */
595 public TableRow(Element elem) {
596 super(elem, View.X_AXIS);
597 fillColumns = new BitSet();
598 }
599
600 void clearFilledColumns() {
601 fillColumns.and(EMPTY);
602 }
|
562 return v;
563 }
564 }
565 if (pos == getEndOffset()) {
566 View v = getView(n - 1);
567 if (a != null) {
568 this.childAllocation(n - 1, a);
569 }
570 return v;
571 }
572 return null;
573 }
574
575 // ---- variables ----------------------------------------------------
576
577 int[] columnSpans;
578 int[] columnOffsets;
579 SizeRequirements[] columnRequirements;
580 Vector<TableRow> rows;
581 boolean gridValid;
582 private static final BitSet EMPTY = new BitSet();
583
584 /**
585 * View of a row in a row-centric table.
586 */
587 public class TableRow extends BoxView {
588
589 /**
590 * Constructs a TableView for the given element.
591 *
592 * @param elem the element that this view is responsible for
593 * @since 1.4
594 */
595 public TableRow(Element elem) {
596 super(elem, View.X_AXIS);
597 fillColumns = new BitSet();
598 }
599
600 void clearFilledColumns() {
601 fillColumns.and(EMPTY);
602 }
|